06-16-2006 10:22 AM
07-18-2006 11:56 PM
07-20-2006 04:52 AM
07-20-2006 10:35 AM
07-21-2006 05:57 PM
I suppose the use of constraints to implement value lists is only available in version 1.3?
When I add constraints in my model I get an error in my stdout log file:
Caused by: org.jibx.runtime.JiBXException: Expected end tag, found start tag "{http://www.alfresco.org/model/dictionary/1.0}constraint" (line 29, col 55)
I also do not find any constraints in the models of version 1.2…
<types>
<type name="ra:digitalAsset">
<title>Digital Asset</title>
<parent>cm:content</parent>
<properties>
<property name="ra:assetTitle">
<type>d:text</type>
</property>
<property name="ra:featureSeriesTitle">
<type>d:text</type>
</property>
<property name="ra:episodeReelNum">
<type>d:text</type>
</property>
<property name="ra:releaseAirDate">
<type>d:datetime</type>
</property>
<property name="ra:director">
<type>d:text</type>
</property>
<property name="ra:studioNetworkLabel">
<type>d:text</type>
</property>
<property name="ra:category">
<type>d:text</type>
<constraints>
<constraint ref="ra:categories"/>
</constraints>
</property>
<property name="ra:genre">
<type>d:text</type>
<multiple>true</multiple>
<constraints>
<constraint ref="ra:genres"/>
</constraints>
</property>
<property name="ra:upc">
<type>d:int</type>
</property>
<property name="ra:inventoryId">
<type>d:int</type>
</property>
<property name="ra:storageLocation">
<type>d:text</type>
</property>
<property name="ra:restricted">
<type>d:boolean</type>
</property>
<property name="ra:restrictedTo">
<type>d:text</type>
</property>
<property name="ra:qtyOnHandDVD">
<type>d:int</type>
</property>
<property name="ra:qtyOnHandVHS">
<type>d:int</type>
</property>
<property name="ra:dvdInStock">
<type>d:boolean</type>
</property>
<property name="ra:vhsInStock">
<type>d:boolean</type>
</property>
<property name="ra:reason">
<type>d:text</type>
</property>
<property name="ra:blurb">
<type>d:text</type>
</property>
</properties>
</type>
<type name="ra:print">
<title>Print</title>
<parent>cm:content</parent>
</type>
<type name="ra:resume">
<title>Resume</title>
<parent>cm:content</parent>
</type>
</types>
<constraints>
<constraint name="ra:categories" type="list">
<parameter name="allowedValues">
<list>
<value>Below The Line</value>
<value>Demo Reel</value>
<value>Feature Film/Short</value>
<value>Pilot</value>
<value>TV</value>
</list>
</parameter>
</constraint>
<constraint name="ra:genres" type="list">
<parameter name="allowedValues">
<list>
<value>Action & Adventure</value>
<value>Children & Family</value>
<value>Classics</value>
<value>Comedy</value>
<value>Documentary</value>
<value>Drama</value>
<value>Foreign</value>
<value>Horror</value>
<value>Independent</value>
<value>Music & Concert</value>
<value>Romance</value>
<value>Sci-Fi & Fantasy</value>
<value>Special Interest</value>
<value>Sports</value>
<value>Television</value>
<value>Thrillers</value>
</list>
</parameter>
</constraint>
</constraints>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.