fts-alfresco search in multi tenant and with custom models
i'm using alfresco community Alfresco Community Edition 201901 GA in multi tenant.
starting with a custom model in the default tenant i had extended another custom model in the TenantA.
in the default tenant there is a custom model kd:cusmod cm:content 's children.
in the TenantA there is a custom model afa:tenant_cusmod kd:cusmod 's children.
every tenant has a Site where the documents are saved.
trying to search with fts-alfresco in the browser nodes (to test the query for an application) i can't execute the search from the tenantA searching a value of the afa:tenant_cusmod (afa:codfisc:'PLMsss333')
Re: fts-alfresco search in multi tenant and with custom models
Even in the node browser you can only search for model elements defined in the tenant to which you have logged in. So if you are connected as the default admin user, then you can only search for model elements of the default tenant. You'd need to log in as the TenantA admin to search for TenantA model elements.
Generally said though, multi-tenancy is poorly supported in Alfresco, especially when it comes to extensions and such, and is typically not recommended to be used. There have also already been considerations of removing multi-tenancy support from the core product at some point, so it may not be the feature upon which to base a custom solution.