<?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 property constraints in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/get-property-constraints/m-p/301995#M255125</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK thanks for the response. I'll try to get it on another way then.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Aug 2013 11:28:07 GMT</pubDate>
    <dc:creator>joblo</dc:creator>
    <dc:date>2013-08-12T11:28:07Z</dc:date>
    <item>
      <title>Get property constraints</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-property-constraints/m-p/301993#M255123</link>
      <description>Hi,Im trying to get all the constraints from my Alfresco data-model in Java. Right now I'm able to get the maxLength of a String property. In the Alfresco data-model is it also possible to put the minLength of a d:text. In the openCMIS PropertyStringDefinition interface there is only a function to g</description>
      <pubDate>Tue, 23 Jul 2013 13:28:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-property-constraints/m-p/301993#M255123</guid>
      <dc:creator>joblo</dc:creator>
      <dc:date>2013-07-23T13:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Get property constraints</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-property-constraints/m-p/301994#M255124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't think constraints are part of the spec because they are repository specific. You'll have to write an extension or use a web script to retrieve that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 18:42:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-property-constraints/m-p/301994#M255124</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2013-07-29T18:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Get property constraints</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-property-constraints/m-p/301995#M255125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK thanks for the response. I'll try to get it on another way then.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 11:28:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-property-constraints/m-p/301995#M255125</guid>
      <dc:creator>joblo</dc:creator>
      <dc:date>2013-08-12T11:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get property constraints</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-property-constraints/m-p/301996#M255126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;lt;blockquote&amp;gt;I don't think constraints are part of the spec because they are repository specific. You'll have to write an extension or use a web script to retrieve that.&amp;lt;/blockquote&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Okay. Is there such an extension for Alfresco? Lets say I have a property that I've added: sc:status which is a string with a constraint of Red, Yellow, or Green. Using CMIS, I get the following from Alfresco on a document with the property applied:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;cmis&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ropertyString propertyDefinitionId="sc:status" displayName="Status" queryName="sc:status"&amp;gt;&amp;lt;cmis:value&amp;gt;Red&amp;lt;/cmis:value&amp;gt;&amp;lt;/cmis&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ropertyString&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I see what the possible values are?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 17:59:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-property-constraints/m-p/301996#M255126</guid>
      <dc:creator>xkahn</dc:creator>
      <dc:date>2013-09-23T17:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Get property constraints</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-property-constraints/m-p/301997#M255127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For a list constraint, no extension is necessary. CMIS sees that as a "closed list" and there are calls defined by the spec to get the "choices" available for the constraint from the Dictionary Service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The OpenCMIS Workbench is a spec-compliant client that knows how to fetch these values. In the attached screenshot, I'm showing the Workbench Types inspector which is currently opened on the sc:marketingDoc type from the SomeCo examples. That type has a constraint called sc:campaignList, which is a list constraint that defines three possible values. The sc:campaign property is constrained by the sc:compaignList constraint, so you can use the dictionary service to ask for the allowed values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 19:39:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-property-constraints/m-p/301997#M255127</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2013-09-23T19:39:46Z</dc:date>
    </item>
  </channel>
</rss>

