AnsweredAssumed Answered

How to retrieve d:content properties

Question asked by udayakumar_p on Jan 15, 2018
Latest reply on Jan 22, 2018 by andy1

Hi,

I have a custom content model defined as below.

 

<type name="common:faqtest">
<title>FAQ</title>
<parent>common:basedoctype</parent>
<properties>
<property name="common:question1">
<type>d:content</type>
<mandatory>false</mandatory>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>true</tokenised>
</index>
</property>
<property name="common:answer1">
<type>d:content</type>
<mandatory>false</mandatory>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>true</tokenised>
</index>
</property>
</properties>
</type>

 

<type name="common:basedoctype">
<title>Content Model Base DocType</title>
<parent>cm:content</parent>

<properties>
<property name="common:locale">
<type>d:text</type>
</property>
<property name="common:effectiveDate">
<type>d:datetime</type>
</property>
<property name="common:expirationDate">
<type>d:datetime</type>
</property>

<type>

 

I have defined two properties - common:question1 and 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.

 

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 more text. Any suggestion?

Outcomes