<?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 Re: HiRe: Looking for Model Title using Alfresco API service in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/looking-for-model-title-using-alfresco-api-service/m-p/144991#M38460</link>
    <description>&lt;P&gt;Of course you do not have to change the Share properties files if you are only working with the Repository APIs.&lt;/P&gt;
&lt;P&gt;There is no need to change model XML and properties files just for i18n/l10n updates, as long as you don't add / remove / rename model types, aspects, properties etc.&lt;/P&gt;
&lt;P&gt;Since you are getting "Type" attached you will most definitely have a properties file which contains the exact text you are getting - simply do a search over all text files for that and you should find it. Alfresco never adds a "Type" text to any value maintained in XML or properties on its own.&lt;/P&gt;</description>
    <pubDate>Mon, 10 May 2021 18:29:47 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2021-05-10T18:29:47Z</dc:date>
    <item>
      <title>Looking for Model Title using Alfresco API service</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/looking-for-model-title-using-alfresco-api-service/m-p/144988#M38457</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am looking for custom Content Model title using Alfresco AP service.&lt;/P&gt;&lt;P&gt;Below is my piece of model:-&lt;/P&gt;&lt;PRE&gt;&amp;lt;type name="img:ibEng"&amp;gt;
      &amp;lt;title&amp;gt;IB_Eng&amp;lt;/title&amp;gt;
      &amp;lt;parent&amp;gt;img:abcimg&amp;lt;/parent&amp;gt;
      &amp;lt;properties/&amp;gt;
      &amp;lt;mandatory-aspects&amp;gt;        
        &amp;lt;aspect&amp;gt;img:uniqueDocumentAspect&amp;lt;/aspect&amp;gt;
      &amp;lt;/mandatory-aspects&amp;gt;
    &amp;lt;/type&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;I am using DictionaryService API to get title:-&lt;/P&gt;&lt;PRE&gt;QName itemType = this.serviceRegistry.getNodeService().getType(document);	
			    		String qName = itemType.getPrefixString();
			    		System.out.println("Qname "+qName);
			    		String[] values = qName.split(":");
			    		String siteName = values[0];
			    		System.out.println("Sitename "+siteName);
			    		String folderName = this.serviceRegistry.getDictionaryService().getType(itemType).getTitle();&lt;/PRE&gt;&lt;P&gt;Here folderName output must be like:-&amp;nbsp;&amp;nbsp;IB_Eng but it is returning as&amp;nbsp;IB_Eng Type. I am not getting where it is taking "Type" from.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Piyush&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 10:36:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/looking-for-model-title-using-alfresco-api-service/m-p/144988#M38457</guid>
      <dc:creator>piyush48</dc:creator>
      <dc:date>2021-05-07T10:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for Model Title using Alfresco API service</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/looking-for-model-title-using-alfresco-api-service/m-p/144989#M38458</link>
      <description>&lt;P&gt;The getTitle operation will first look into any registered i18n message bundles before falling back to the title in the model XML. Chances are, you have a localisation entry for that type in one of your message properties files.&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 08:36:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/looking-for-model-title-using-alfresco-api-service/m-p/144989#M38458</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2021-05-10T08:36:51Z</dc:date>
    </item>
    <item>
      <title>HiRe: Looking for Model Title using Alfresco API service</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/looking-for-model-title-using-alfresco-api-service/m-p/144990#M38459</link>
      <description>&lt;P&gt;Hi &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/16045"&gt;@afaust&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for always guiding and helping. If I am getting it right, you mean to say that first it will looking into messages . properties file?&amp;nbsp; As while trying to get desired output I tried changing . properties file in messages of Alfresco in SDK but still was getting Type attached to it for some and for some it was working fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should I try changing both model.xml and model.properties title as same?&lt;/P&gt;&lt;P&gt;Also should I need to change share messages file?.&lt;/P&gt;&lt;P&gt;Please do guide me out.&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Piyush&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 15:46:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/looking-for-model-title-using-alfresco-api-service/m-p/144990#M38459</guid>
      <dc:creator>piyush48</dc:creator>
      <dc:date>2021-05-10T15:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: HiRe: Looking for Model Title using Alfresco API service</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/looking-for-model-title-using-alfresco-api-service/m-p/144991#M38460</link>
      <description>&lt;P&gt;Of course you do not have to change the Share properties files if you are only working with the Repository APIs.&lt;/P&gt;
&lt;P&gt;There is no need to change model XML and properties files just for i18n/l10n updates, as long as you don't add / remove / rename model types, aspects, properties etc.&lt;/P&gt;
&lt;P&gt;Since you are getting "Type" attached you will most definitely have a properties file which contains the exact text you are getting - simply do a search over all text files for that and you should find it. Alfresco never adds a "Type" text to any value maintained in XML or properties on its own.&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 18:29:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/looking-for-model-title-using-alfresco-api-service/m-p/144991#M38460</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2021-05-10T18:29:47Z</dc:date>
    </item>
  </channel>
</rss>

