<?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 node fields using REST API in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/get-node-fields-using-rest-api/m-p/95013#M28001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Public ReST API does not provide any operation to retrieve dictionary information. This means there is no way to retrieve all properties that "can" be set on a specific node - you basically have to know them from your specific constellation of (custom) meta models. In the legacy ReST API there are operations to retrieve&amp;nbsp;class / property definitions from which you can build a view of "settable" properties, but that operation is marked for "internal" use, e.g. to support Alfresco Share, and is not meant for consumption by general clients.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jun 2019 19:13:38 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2019-06-24T19:13:38Z</dc:date>
    <item>
      <title>Get node fields using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-node-fields-using-rest-api/m-p/95012#M28000</link>
      <description>Hi Everyone,I'm using Alfresco 5.2 Community edition. And I'm trying to do some calls using REST API.I'm following api-explorer and so far I didn't have any problems... till now.I would like to use REST API to get all available node fields, but cannot find a way to do this.Is there a way to get all</description>
      <pubDate>Mon, 24 Jun 2019 14:18:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-node-fields-using-rest-api/m-p/95012#M28000</guid>
      <dc:creator>djole87</dc:creator>
      <dc:date>2019-06-24T14:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Get node fields using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-node-fields-using-rest-api/m-p/95013#M28001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Public ReST API does not provide any operation to retrieve dictionary information. This means there is no way to retrieve all properties that "can" be set on a specific node - you basically have to know them from your specific constellation of (custom) meta models. In the legacy ReST API there are operations to retrieve&amp;nbsp;class / property definitions from which you can build a view of "settable" properties, but that operation is marked for "internal" use, e.g. to support Alfresco Share, and is not meant for consumption by general clients.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2019 19:13:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-node-fields-using-rest-api/m-p/95013#M28001</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-06-24T19:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Get node fields using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-node-fields-using-rest-api/m-p/95014#M28002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for quick response Axel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2019 09:38:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-node-fields-using-rest-api/m-p/95014#M28002</guid>
      <dc:creator>djole87</dc:creator>
      <dc:date>2019-06-25T09:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Get node fields using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-node-fields-using-rest-api/m-p/95015#M28003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No its not an option by default. However its pretty easy to create a Java backed webscript and use DictionaryService (org.alfresco.service.cmr.dictionary.DictionaryService) to extract the information you want.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dictionary service has methods to return aspects, types and their properties.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;final Map&amp;lt;QName, PropertyDefinition&amp;gt; propertiesFrmType = dictionaryService.getType(DemoContentModel.WhitePaper.TYPE).getProperties();&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;final Map&amp;lt;QName, PropertyDefinition&amp;gt; propertiesFrmAspect&amp;nbsp;= dictionaryService.getType(DemoContentModel.Webable.ASPECT).getProperties();&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Iterate the above map and prepare the response in XML, JSON etc. as you like.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also get details of each property by getting the property definition.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;final QName propertyID&amp;nbsp;=&amp;nbsp;DemoContentModel.Publishable.Properties.ID;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;final PropertyDefinition propDef = dictionaryService.getProperty(propertyID); // By passing the QName of a property&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2019 21:24:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-node-fields-using-rest-api/m-p/95015#M28003</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2019-06-27T21:24:19Z</dc:date>
    </item>
  </channel>
</rss>

