Hello! I have custom content model which has this d:content property:
<propertyname="doca:recognize"> <type>d:content</type> <mandatory>false</mandatory> <!-- Although content is marked as indexed atomically it may end up asynchronous --> <!-- if the content conversion will take too long. Content that does not require conversion --> <!-- to UTF8 test/plain will always be indexed atomically --> <indexenabled="true"> <atomic>true</atomic> <stored>true</stored> <tokenised>true</tokenised> </index> </property>
I want to upload some long text in this property. I tried to use REST API but got empty property. What is the way to set something in this? I didn't find any documentation about uploading in d:content property
Its not able d:content, you need to set the value of your property which is
d:content is type of value which will be hold by your property docs:recognize.There are many data types available in alfresco like d:int,d:date etc...You can use any of them for specifying the property type based on business requirement.
Regarding update the value you can use rest API, which you need to figure it out from documentation.