cancel
Showing results for 
Search instead for 
Did you mean: 

Property valid but not implemented

thomasrjones
Champ in-the-making
Champ in-the-making
Building a custom object model for my repository. All takes without error, but does not show the defined property. I validated that it was not a UI problem by analyzing the object via the Alfresco Node Browser. My defined property is not applied to the type.

I have a custom type defined:
<type name="ms:marketingMaitreyaSecurity">
            <title>Maitreya Security Ltd. Co. Marketing Document</title>
            <parent>ms:maitreyaSecurity</parent>
            <properties>
                <property name="ms:campaignMarketingMaitreyaSecurity">
                    <type>d:text</type>
                    <multiple>false</multiple>
                    <constraints>
                        <constraint ref="ms:campaignEnumerationMarketingMaitreyaSecurity" />
                    </constraints>
                </property>
            </properties>
        </type>

This references the defined constraint:
<constraint name="ms:campaignEnumerationMarketingMaitreyaSecurity" type="LIST">
            <parameter name="allowedValues">
                <list>
                    <value>Application Syndication</value>
                    <value>Private Retailing</value>
                    <value>Public Event Retailing</value>
                </list>
            </parameter>
        </constraint>

Any ideas?
Thanks. Thomas
2 REPLIES 2

jayjayecl
Confirmed Champ
Confirmed Champ
<parent>ms:maitreyaSecurity</parent>

You should provide us with this definition too

thomasrjones
Champ in-the-making
Champ in-the-making
Sorry. Here it is. Pretty plain declaration.
<type name="ms:maitreyaSecurity">
            <title>Maitreya Security Ltd. Co. Document</title>
          <parent>cm:content</parent>
          <associations>
              <association name="ms:relatedDocumentsMaitreyaSecurity">
                  <title>Related Documents</title>
                  <source>
                      <mandatory>false</mandatory>
                      <many>true</many>
                  </source>
                  <target>
                      <class>ms:maitreyaSecurity</class>
                      <mandatory>false</mandatory>
                      <many>true</many>
                  </target>
              </association>
          </associations>
            <mandatory-aspects>
              <aspect>cm:generalclassifiable</aspect>
          </mandatory-aspects>
        </type>