02-15-2012 02:29 PM
<!– PersonType Constraint–>
<constraints>
<constraint name="my:person_personTypeConstraint" type="LIST">
<parameter name="allowedValues">
<list>
<value>Employee</value>
<value>Consultant</value>
<value>Vendor</value>
<value>Other</value>
</list>
</parameter>
<parameter name="caseSensitive">
<value>true</value>
</parameter>
</constraint>
</constraints>
<!– Person Aspect –>
<aspects>
<aspect name="my:Person">
<title>Person</title>
<properties>
<property name="my:personId">
<title>Person ID</title>
<type>d:long</type>
</property>
<property name="my:personName">
<title>Name</title>
<type>d:text</type>
</property>
<property name="my:personType">
<title>Person Type</title>
<type>d:text</type>
<constraints>
<constraint ref="person_personTypeConstraint" type="LIST"/>
</constraints>
</property>
</properties>
</aspect>
</aspects>
Thanks!02-15-2012 03:03 PM
02-15-2012 04:02 PM
02-16-2012 10:03 AM
02-16-2012 02:48 PM
<types>
<type name="my:companyForm">
<title>Form</title>
<parent>cm:content</parent>
<archive>true</archive>
<properties>
<property name="my:date">
<title>Effective Date</title>
<type>d:datetime</type>
</property>
<property name="my:entityList">
<title>Entities</title>
<type>my:Entity</type>
<multi-value>true</multi-value>
</property>
</properties>
<mandatory-aspects>
<aspect>cm:auditable</aspect>
<aspect>cm:generalclassifiable</aspect>
</mandatory-aspects>
</type>
<type name="my:Entity">
<title>Entity</title>
<properties>
<property name="my:entityId">
<title>Code</title>
<type>d:long</type>
</property>
<property name="my:entityName">
<title>Name</title>
<type>d:text</type>
</property>
<property name="my:entityType">
<title>EntityType</title>
<type>d:text</type>
<constraints>
<constraint ref="my:entity_entityTypeConstraint" type="LIST"/>
</constraints>
</property>
</properties>
<mandatory-aspects>
<aspect>cm:auditable</aspect>
<aspect>cm:generalclassifiable</aspect>
</mandatory-aspects>
</type>
<!– EntityType Constraint–>
<constraints>
<constraint name="my:entity_entityTypeConstraint" type="LIST">
<parameter name="allowedValues">
<list>
<value>Employee</value>
<value>Consultant</value>
<value>Vendor</value>
<value>Corporation</value>
<value>Network Ops Center</value>
<value>Location</value>
<value>Other</value>
</list>
</parameter>
</constraint>
</constraints>
<aspects>
</aspects>
</types>
02-13-2013 03:25 PM
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.