<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic fts-alfresco search in multi tenant and with custom models in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/fts-alfresco-search-in-multi-tenant-and-with-custom-models/m-p/100013#M28920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;i'm using alfresco community Alfresco Community Edition 201901 GA in multi tenant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;starting with a custom model in the default tenant i had extended another custom model in the TenantA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the default tenant there is a custom model kd:cusmod&amp;nbsp; cm:content 's children.&lt;/P&gt;&lt;P&gt;in the TenantA there is a custom model afa:tenant_cusmod kd:cusmod 's children.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;every tenant has a Site where the documents are saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;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&amp;nbsp; (afa:codfisc:'PLMsss333')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;06080060 Request failed 500 /solr4/alfresco/afts?wt=json&amp;amp;fl=DBID%2Cscore&amp;amp;rows=100&amp;amp;df=TEXT&amp;amp;start=0&amp;amp;locale=it_IT&amp;amp;alternativeDic=DEFAULT_DICTIONARY&amp;amp;fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&amp;amp;fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;in the solr.log there is this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2019-07-08 16:18:27,732 ERROR [org.apache.solr.servlet.SolrDispatchFilter] null&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.alfresco.service.namespace.NamespaceException: Namespace prefix afa is not mapped to a namespace URI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if I try to execute a search SITE:'TenantASite' the result don't contains the custom type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alessandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jul 2019 14:26:43 GMT</pubDate>
    <dc:creator>pajumbo</dc:creator>
    <dc:date>2019-07-08T14:26:43Z</dc:date>
    <item>
      <title>fts-alfresco search in multi tenant and with custom models</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/fts-alfresco-search-in-multi-tenant-and-with-custom-models/m-p/100013#M28920</link>
      <description>Hello everyone,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&amp;nbsp; cm:content 's children.in the TenantA there</description>
      <pubDate>Mon, 08 Jul 2019 14:26:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/fts-alfresco-search-in-multi-tenant-and-with-custom-models/m-p/100013#M28920</guid>
      <dc:creator>pajumbo</dc:creator>
      <dc:date>2019-07-08T14:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: fts-alfresco search in multi tenant and with custom models</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/fts-alfresco-search-in-multi-tenant-and-with-custom-models/m-p/100014#M28921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even in the node browser you can only search for model elements defined in the tenant&amp;nbsp;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&amp;nbsp;search for TenantA model elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 11:13:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/fts-alfresco-search-in-multi-tenant-and-with-custom-models/m-p/100014#M28921</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-07-09T11:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: fts-alfresco search in multi tenant and with custom models</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/fts-alfresco-search-in-multi-tenant-and-with-custom-models/m-p/100015#M28922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, i logged in with the TenantA 's admin, or a TenantA user&amp;nbsp; with site visibility.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 21:05:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/fts-alfresco-search-in-multi-tenant-and-with-custom-models/m-p/100015#M28922</guid>
      <dc:creator>pajumbo</dc:creator>
      <dc:date>2019-07-09T21:05:52Z</dc:date>
    </item>
  </channel>
</rss>

