<?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: Get All Content Types From Java-backed Webscript in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/get-all-content-types-from-java-backed-webscript/m-p/32286#M13670</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, to get this straight, if&amp;nbsp;you want to retrieve all custom created content types, you cannot get them via the API and you have to manually write them into a file instead?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2018 14:43:33 GMT</pubDate>
    <dc:creator>onkovic</dc:creator>
    <dc:date>2018-06-14T14:43:33Z</dc:date>
    <item>
      <title>Get All Content Types From Java-backed Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-all-content-types-from-java-backed-webscript/m-p/32281#M13665</link>
      <description>Hi,I want all custom content types which we can see on Aflfresco Advanced Search Page from Java-backed Webscript.I have referred advsearch.get.js, it retrieves all the content types from share-config-custom.xml, but I want to that from Java Backed Web script.Is there anyway we can parse share-config</description>
      <pubDate>Thu, 04 May 2017 06:43:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-all-content-types-from-java-backed-webscript/m-p/32281#M13665</guid>
      <dc:creator>riya_soni42</dc:creator>
      <dc:date>2017-05-04T06:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get All Content Types From Java-backed Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-all-content-types-from-java-backed-webscript/m-p/32282#M13666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://docs.alfresco.com/5.2/references/dev-services-dictionary.html" title="http://docs.alfresco.com/5.2/references/dev-services-dictionary.html" rel="nofollow noopener noreferrer"&gt;DictionaryService | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also a webscript retrieving full dictionary data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/alfresco/service/api/dictionary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 16:03:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-all-content-types-from-java-backed-webscript/m-p/32282#M13666</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2017-05-04T16:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get All Content Types From Java-backed Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-all-content-types-from-java-backed-webscript/m-p/32283#M13667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But I want only those content types which we can see on advanced search page, currently that arrays is created in advsearch.get.js, but if I wan to pass this content types array via remote call to repository side, so how to pass it and on java side how to retrieve it. Please let me know&amp;nbsp; if any ideas are there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 05:14:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-all-content-types-from-java-backed-webscript/m-p/32283#M13667</guid>
      <dc:creator>riya_soni42</dc:creator>
      <dc:date>2017-05-05T05:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Get All Content Types From Java-backed Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-all-content-types-from-java-backed-webscript/m-p/32284#M13668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Riya:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need only few of them, you need some kind of config file like share-config-custom.xml for Alfresco Share.&lt;/P&gt;&lt;P&gt;You can configure your webscript with a config xml file&amp;nbsp;&lt;STRONG&gt;mywebscript.get.config.xml&lt;/STRONG&gt; directly and having these custom content types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/thread/208811"&gt;Best way to inject .properties file to a webscript&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 16:38:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-all-content-types-from-java-backed-webscript/m-p/32284#M13668</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2017-05-05T16:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Get All Content Types From Java-backed Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-all-content-types-from-java-backed-webscript/m-p/32285#M13669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thanks, let me try thi once.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 07:03:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-all-content-types-from-java-backed-webscript/m-p/32285#M13669</guid>
      <dc:creator>riya_soni42</dc:creator>
      <dc:date>2017-05-08T07:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get All Content Types From Java-backed Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-all-content-types-from-java-backed-webscript/m-p/32286#M13670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, to get this straight, if&amp;nbsp;you want to retrieve all custom created content types, you cannot get them via the API and you have to manually write them into a file instead?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 14:43:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-all-content-types-from-java-backed-webscript/m-p/32286#M13670</guid>
      <dc:creator>onkovic</dc:creator>
      <dc:date>2018-06-14T14:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get All Content Types From Java-backed Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-all-content-types-from-java-backed-webscript/m-p/32287#M13671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, there are APIs for that. Cesar referenced the Repository-tier Java API for it. The CMIS API also exposes dictionary information, and there is also a ReST API for internal use that exposes types and other dictionary information. It is just that there currently is no public v1 ReST API to access dictionary information in a generic way.&lt;/P&gt;&lt;P&gt;The file option is something Cesar mentioned as a potential simplification for a known set of custom types.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 15:33:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-all-content-types-from-java-backed-webscript/m-p/32287#M13671</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-06-14T15:33:39Z</dc:date>
    </item>
  </channel>
</rss>

