<type name="dl:todoList">
<title>To Do List</title>
<parent>dl:dataListItem</parent>
<properties>
<property name="dl:todoTitle">
<title>Title</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="dl:todoDueDate">
<title>Due Date</title>
<type>d:datetime</type>
<mandatory>false</mandatory>
</property>
<property name="dl:todoPriority">
<title>Priority</title>
<type>d:int</type>
<mandatory>false</mandatory>
</property>
<property name="dl:todoNotes">
<title>Notes</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
</properties>
<associations>
<association name="dl:assignee">
<title>Assignee</title>
<source>
<mandatory>false</mandatory>
<many>true</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
</association>
<association name="dl:attachments">
<title>Attachments</title>
<source>
<mandatory>false</mandatory>
<many>true</many>
</source>
<target>
<class>cm:cmobject</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>
</associations>
</type>
<!– dl:todoList type –>
<config evaluator="model-type" condition="dl:todoList">
<forms>
<!– Create item form –>
<form>
<field-visibility>
<show id="dl:todoTitle" />
<show id="dl:todoDueDate" />
<show id="dl:todoPriority" />
<show id="dl:todoNotes" />
<show id="dl:assignee" />
<show id="dl:attachments" />
</field-visibility>
<create-form template="../data-lists/forms/row-new.ftl" />
<appearance>
<field id="dl:todoNotes">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
</appearance>
</form>
<!– Data Grid view –>
<form id="datagrid">
<field-visibility>
<show id="dl:todoTitle" />
<show id="dl:todoDueDate" />
<show id="dl:todoPriority" />
<show id="dl:assignee" />
<show id="dl:attachments" />
</field-visibility>
</form>
</forms>
</config>
<!– dl_todoList type (existing nodes) –>
<config evaluator="node-type" condition="dl:todoList">
<forms>
<!– Data List pop-up edit form –>
<form>
<field-visibility>
<show id="dl:todoTitle" />
<show id="dl:todoDueDate" />
<show id="dl:todoPriority" />
<show id="dl:todoNotes" />
<show id="dl:assignee" />
<show id="dl:attachments" />
</field-visibility>
<edit-form template="../data-lists/forms/row-edit.ftl" />
<appearance>
<field id="dl:todoNotes">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
</appearance>
</form>
</forms>
</config>
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.