Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
I defined my ditabase bursting as follows:
<dmsmetadata>
<metadatarule sourcetype="text" elementname="concept" expr="prolog/metadata/category" metadata="com.terrestrialenergy.DITAcategory"/>
<metadatarule sourcetype="text" elementname="topic" expr="prolog/metadata/category" metadata="com.terrestrialenergy.DITAcategory"/>
<metadatarule sourcetype="text" elementname="reference" expr="prolog/metadata/category" metadata="com.terrestrialenergy.DITAcategory"/>
<metadatarule sourcetype="text" elementname="task" expr="prolog/metadata/category" metadata="com.terrestrialenergy.DITAcategory"/>
On the site utilities/Type and Attribute Management,
<prolog><metadata><category>REG</category></metadata></prolog>
The error message:
Checkin Failed
Number of conflicts found:3
:Attribute com.terrestrialenergy.DITAcategory has values that violate the attribute constraints. "You must enter a value for DITA Document Category.". The values must be modified before checking in.
:Attribute com.terrestrialenergy.DITAcategory has values that violate the attribute constraints. "The value for attribute DITA Document Category must be one of the following: REG. The pre-existing value may no longer be valid for this attribute.". The values must be modified before checking in.
:Attribute com.terrestrialenergy.DITAcategory has values that violate the attribute constraints. "You must enter a value for DITA Document Category.". The values must be modified before checking in.
Article - "CAD document upload fails with error " Attribute <Parameter> has values that violate the attribute constraints. You must enter a value for <Parameter>" in Creo Parametric": https://www.ptc.com/en/support/article/CS362123
This is not a CAD. DITA files are XML documents that are loaded in Windchill with the Arbortext Editor.
The constrained parameter is in the <prolog> section of the topics that are being loaded.
As I understand it, the BCF defines the mapping for these attributes to the Windchill EPM document attributes.
In this case, DITAtopic is a subtype of the EPM document.