Multitenancy - Extending searchfolder and appfolder giving problem

I am trying to extend SearchFolder and appFolder for multitenancy.

as per documentation the appFolder is com.haulmont.cuba.security.entity.AppFolder but there is no such entity showing in editor, it is only sys$appFolder.

After extending both the app stops after login giving following error - IllegalStateException - There is no root screen opened.

The ExtSearFolder is extended as -

@DiscriminatorValue("EXT")
@Extends(SearchFolder.class)
@Entity(name = "sheelcompliance_ExtSearchFolder")
public class ExtSearchFolder extends SearchFolder implements HasTenant {
    private static final long serialVersionUID = 9140663717602552694L;
    @Column(name = "TENANT_ID")
    protected String tenantId;

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }
}

How to solve this

Regards

Umesh Sharma

Any suggestions please

When extending the Search Folder the entity screen is different and asking for table name and id.
cuba_searchFolder1

This also create new table in database. It is ok or i am missing something.

Regards

Umesh