<?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 Want to get Title from typename in Schedulers in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/want-to-get-title-from-typename-in-schedulers/m-p/142181#M37864</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I want to find title from the Qname or Itemtype as i need to use it in CMIS Query for searching. Like in Our Content Model we have itemtype as :-&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;type name="alf:staff"&amp;gt;
      &amp;lt;title&amp;gt;alf (staff)&amp;lt;/title&amp;gt;
      &amp;lt;parent&amp;gt;alf:gmrAlf&amp;lt;/parent&amp;gt;&lt;/PRE&gt;&lt;P&gt;i am getting type name writing java code as:-&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;QName itemType = this.serviceRegistry.getNodeService().getType(document);
String qName = itemType.getPrefixString();&lt;/PRE&gt;&lt;P&gt;Where qName is providing me with its type name now i want to get title from the content model for this particular type. Is there any service or relation available which will provide me with title of this itemtype.&lt;/P&gt;&lt;P&gt;I am looking for alf (staff) from type alf:staff.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Piyush&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2021 07:44:57 GMT</pubDate>
    <dc:creator>piyush48</dc:creator>
    <dc:date>2021-04-29T07:44:57Z</dc:date>
    <item>
      <title>Want to get Title from typename in Schedulers</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/want-to-get-title-from-typename-in-schedulers/m-p/142181#M37864</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I want to find title from the Qname or Itemtype as i need to use it in CMIS Query for searching. Like in Our Content Model we have itemtype as :-&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;type name="alf:staff"&amp;gt;
      &amp;lt;title&amp;gt;alf (staff)&amp;lt;/title&amp;gt;
      &amp;lt;parent&amp;gt;alf:gmrAlf&amp;lt;/parent&amp;gt;&lt;/PRE&gt;&lt;P&gt;i am getting type name writing java code as:-&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;QName itemType = this.serviceRegistry.getNodeService().getType(document);
String qName = itemType.getPrefixString();&lt;/PRE&gt;&lt;P&gt;Where qName is providing me with its type name now i want to get title from the content model for this particular type. Is there any service or relation available which will provide me with title of this itemtype.&lt;/P&gt;&lt;P&gt;I am looking for alf (staff) from type alf:staff.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Piyush&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 07:44:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/want-to-get-title-from-typename-in-schedulers/m-p/142181#M37864</guid>
      <dc:creator>piyush48</dc:creator>
      <dc:date>2021-04-29T07:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Want to get Title from typename in Schedulers</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/want-to-get-title-from-typename-in-schedulers/m-p/142182#M37865</link>
      <description>&lt;P&gt;You can use the DictionaryService to obtain type/aspect/property definitions to retrieve title / description values. You can use the NamespaceService as a resolver with QName.toPrefixString(namespaceService) to turn long type names into short/prefixed names.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 09:26:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/want-to-get-title-from-typename-in-schedulers/m-p/142182#M37865</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2021-04-29T09:26:29Z</dc:date>
    </item>
  </channel>
</rss>

