I have created a content model like below, In this file,It is not take two properties with same name in different types, can see the commented tags in second type named as contractNumber.If i uncomment it, it throws an error containing duplicate. Why it is not accepting? And how can i declare it?
Can anyone help me to get a clarification on this issue?
<!-- Introduction of new namespaces defined by this model --> <!-- NOTE: The following namespace my.new.model should be changed to reflect your own namespace --> <namespaces> <namespace uri="http://www.mycompany.com/model/content/1.0" prefix="my"/> </namespaces>
Property names have to be unique. Put them on an aspect, a super type or in different name spaces. If they are the same property you need to define an aspect or create a super type and inherit the common properties Please refer this data dictionary guide for more information