Hi all,
i have many types of content..
In my web script I have a html select with the list of all types.
I want to display the form where the user insert the information associated to a particular selected Types.
Es: Invoice
<type name="cm:invoice">
<title>Invoice</title>
<parent>cm:content</parent>
<properties>
<property name="ecm:invoiceType">
<title>Type</title>
<type>d:text</type>
</property>
<mandatory-aspects>
<aspect>cm:myAspect</aspect>
</mandatory-aspects>
</type>
With a ajax call i get the property:
TypeDefinition typeDef = dictionaryService.getType(QName.createQName(contentType));
Map<QName, PropertyDefinition> propertyDefs = typeDef.getProperties();
In this map aren't present all properties… eg. The property of cm:myAspect….
How i get All property of a particular content type?
Best regards
Robert.