<?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: Print Property Definition in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/print-property-definition/m-p/21553#M9494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure I understand what you mean by your question? For what would you want to "print" the variable? You simply interact with that via its APIs e.g. to retrieve the details of a property as defined in the content model / dictionary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Aug 2017 11:15:04 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2017-08-28T11:15:04Z</dc:date>
    <item>
      <title>Print Property Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/print-property-definition/m-p/21552#M9493</link>
      <description>How to print this variable? How to work with this?&amp;nbsp;PropertyDefinition propertyDefinition = someProperty;</description>
      <pubDate>Mon, 28 Aug 2017 09:19:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/print-property-definition/m-p/21552#M9493</guid>
      <dc:creator>kamilaw_</dc:creator>
      <dc:date>2017-08-28T09:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Print Property Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/print-property-definition/m-p/21553#M9494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure I understand what you mean by your question? For what would you want to "print" the variable? You simply interact with that via its APIs e.g. to retrieve the details of a property as defined in the content model / dictionary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 11:15:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/print-property-definition/m-p/21553#M9494</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-08-28T11:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Print Property Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/print-property-definition/m-p/21554#M9495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used this&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Map&amp;lt;QName, PropertyDefinition&amp;gt; prop = &lt;STRONG&gt;dictionaryService.getType&lt;/STRONG&gt;(folder).&lt;STRONG&gt;getProperties&lt;/STRONG&gt;();&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And then print data with this&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;for (Entry&amp;lt;QName, PropertyDefinition&amp;gt; &lt;STRONG&gt;entry&lt;/STRONG&gt; : prop.entrySet()) {&lt;BR /&gt; logger.debug(entry.getKey());&lt;BR /&gt; logger.debug(entry.getValue());&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Problem is that&amp;nbsp;&lt;STRONG style="background-color: #f6f6f6;"&gt;entry.getValue() is type ProperyDefinition&lt;/STRONG&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt; and I don't know how to work with this.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;entry.getValue().&lt;STRONG&gt;toString();&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Return:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;Name: {&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.alfresco.org/model/content/1.0" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.alfresco.org/model/content/1.0&lt;/A&gt;&lt;SPAN&gt;}name&lt;/SPAN&gt;&lt;BR /&gt;Title: Name&lt;BR /&gt;Description: null&lt;BR /&gt;Default Value: null&lt;BR /&gt;&lt;SPAN&gt;DataType Name: {&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.alfresco.org/model/dictionary/1.0" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.alfresco.org/model/dictionary/1.0&lt;/A&gt;&lt;SPAN&gt;}text&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ContainerClass Name: {&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.alfresco.org/model/content/1.0" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.alfresco.org/model/content/1.0&lt;/A&gt;&lt;SPAN&gt;}cmobject&lt;/SPAN&gt;&lt;BR /&gt;isMultiValued: false&lt;BR /&gt;isMandatory: true&lt;BR /&gt;isMandatoryEnforced: true&lt;BR /&gt;isProtected: false&lt;BR /&gt;isIndexed: true&lt;BR /&gt;isStoredInIndex: false&lt;BR /&gt;isIndexedAtomically: true&lt;BR /&gt;indexTokenisation&lt;/P&gt;&lt;P&gt;Mode: BOTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is: how to read data from dictionaryService(Is this way right?)? &amp;nbsp;And then how to work with returned values?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 08:44:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/print-property-definition/m-p/21554#M9495</guid>
      <dc:creator>kamilaw_</dc:creator>
      <dc:date>2017-08-29T08:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Print Property Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/print-property-definition/m-p/21555#M9496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you want to read?&lt;/P&gt;&lt;P&gt;The property value from&amp;nbsp;a specific object?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that is the case, then what you need is nodeService instead of dictionaryService.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 02:20:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/print-property-definition/m-p/21555#M9496</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-08-30T02:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Print Property Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/print-property-definition/m-p/21556#M9497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but I want to create a form and some properties are only created&amp;nbsp;when they are filled. So I want to read all properties from content model, because&amp;nbsp;there are all properties that exist for some specific object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 07:36:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/print-property-definition/m-p/21556#M9497</guid>
      <dc:creator>kamilaw_</dc:creator>
      <dc:date>2017-08-30T07:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Print Property Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/print-property-definition/m-p/21557#M9498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's funny. This code is running. I misinterpreted results.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 10:06:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/print-property-definition/m-p/21557#M9498</guid>
      <dc:creator>kamilaw_</dc:creator>
      <dc:date>2017-08-30T10:06:48Z</dc:date>
    </item>
  </channel>
</rss>

