<?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 How to retrieve d:content properties in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-retrieve-d-content-properties/m-p/47951#M18784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a custom content model defined as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;type name="common:faqtest"&amp;gt;&lt;BR /&gt; &amp;lt;title&amp;gt;FAQ&amp;lt;/title&amp;gt;&lt;BR /&gt; &amp;lt;parent&amp;gt;common:basedoctype&amp;lt;/parent&amp;gt;&lt;BR /&gt; &amp;lt;properties&amp;gt;&lt;BR /&gt; &amp;lt;property name="common:question1"&amp;gt;&lt;BR /&gt; &amp;lt;type&amp;gt;d:content&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&lt;BR /&gt; &amp;lt;index enabled="true"&amp;gt;&lt;BR /&gt; &amp;lt;atomic&amp;gt;true&amp;lt;/atomic&amp;gt;&lt;BR /&gt; &amp;lt;stored&amp;gt;false&amp;lt;/stored&amp;gt;&lt;BR /&gt; &amp;lt;tokenised&amp;gt;true&amp;lt;/tokenised&amp;gt;&lt;BR /&gt; &amp;lt;/index&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;property name="common:answer1"&amp;gt;&lt;BR /&gt; &amp;lt;type&amp;gt;d:content&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&lt;BR /&gt; &amp;lt;index enabled="true"&amp;gt;&lt;BR /&gt; &amp;lt;atomic&amp;gt;true&amp;lt;/atomic&amp;gt;&lt;BR /&gt; &amp;lt;stored&amp;gt;false&amp;lt;/stored&amp;gt;&lt;BR /&gt; &amp;lt;tokenised&amp;gt;true&amp;lt;/tokenised&amp;gt;&lt;BR /&gt; &amp;lt;/index&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;/properties&amp;gt;&lt;BR /&gt; &amp;lt;/type&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;type name="common:basedoctype"&amp;gt;&lt;BR /&gt; &amp;lt;title&amp;gt;Content Model Base DocType&amp;lt;/title&amp;gt;&lt;BR /&gt; &amp;lt;parent&amp;gt;cm:content&amp;lt;/parent&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;properties&amp;gt;&lt;BR /&gt; &amp;lt;property name="common:locale"&amp;gt;&lt;BR /&gt; &amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;property name="common:effectiveDate"&amp;gt;&lt;BR /&gt; &amp;lt;type&amp;gt;d:datetime&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;property name="common:expirationDate"&amp;gt;&lt;BR /&gt; &amp;lt;type&amp;gt;d:datetime&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;type&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have defined two properties -&amp;nbsp;&lt;SPAN&gt;common:question1 and&amp;nbsp;common:answer1 of type d:content. How do i retrieve these two properties using CMIS API? The properties are not shown in CMIS work bench also.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Basically we have a custom content model for FAQ. It used to have a question field and answer field. We set it to type d:text. Due to this, we cannot enter more than 1024 characters in the answer field. So we are trying to change the answer field data type to accommodate&amp;nbsp;more text. Any suggestion?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jan 2018 17:46:14 GMT</pubDate>
    <dc:creator>udayakumar_p</dc:creator>
    <dc:date>2018-01-15T17:46:14Z</dc:date>
    <item>
      <title>How to retrieve d:content properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-retrieve-d-content-properties/m-p/47951#M18784</link>
      <description>Hi,I have a custom content model defined as below.&amp;lt;type name="common:faqtest"&amp;gt; &amp;lt;title&amp;gt;FAQ&amp;lt;/title&amp;gt; &amp;lt;parent&amp;gt;common:basedoctype&amp;lt;/parent&amp;gt; &amp;lt;properties&amp;gt; &amp;lt;property name="common:question1"&amp;gt; &amp;lt;type&amp;gt;d:content&amp;lt;/type&amp;gt; &amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;</description>
      <pubDate>Mon, 15 Jan 2018 17:46:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-retrieve-d-content-properties/m-p/47951#M18784</guid>
      <dc:creator>udayakumar_p</dc:creator>
      <dc:date>2018-01-15T17:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve d:content properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-retrieve-d-content-properties/m-p/47952#M18785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The CMIS API as implemented by Alfresco does not support custom properties with type d:content. This is hard-coded in the implementation which always maps to the standard cm:content property.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 00:02:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-retrieve-d-content-properties/m-p/47952#M18785</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-01-16T00:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve d:content properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-retrieve-d-content-properties/m-p/47953#M18786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CMIS specification assumes a document has one bit of content and renditions of this content. See section 2.1.4.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As &lt;A __default_attr="73554" __jive_macro_name="user" _jive_internal="true" data-id="73554" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/afaust" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;‌ states you can not decide which content&amp;nbsp; property this is - it is cm:content.&lt;/P&gt;&lt;P&gt;You can not redefine any mappings from the CMIS data model to the Alfresco data model&amp;nbsp; - content to cm:content,&amp;nbsp; name to cm:name, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2018 11:19:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-retrieve-d-content-properties/m-p/47953#M18786</guid>
      <dc:creator>andy1</dc:creator>
      <dc:date>2018-01-22T11:19:02Z</dc:date>
    </item>
  </channel>
</rss>

