AnsweredAssumed Answered

Unable to display property in Content Wizard

Question asked by christophercheng on Jul 17, 2011
Latest reply on Jul 17, 2011 by christophercheng
I have followed the examples in wiki but I cannot display the fields in "Content Wizard"

1) I've uploaded "bookshopModel.xml" to "Company Home, Data Dictionary, Models"
2) I've uploaded "web-client-config-custom.xml" to "Company Home, Data Dictionary, Web Client Extensions"
3) Then I reloaded both in "http://localhost:8080/alfresco/faces/jsp/admin/repoadmin-console.jsp" and "http://localhost:8080/alfresco/faces/jsp/admin/webclientconfig-console.jsp"
4) Restart tomcat and login again
5) Create a new space "Book" in "Company Home"
6) I can see "Book" in "Type" of Step 1, but I cannot see other properties in Step 2 defined in the custom types/aspects.

The following is "web-client-config-custom.xml". What am I missing here?

    <config evaluator="string-compare" condition="Content Wizards">
      <content-types>
         <type name="bs:book" />      
      </content-types>
   </config>

   <config evaluator="node-type" condition="bs:book">
      <property-sheet>
         <show-property name="bs:isbn" />
         <show-property name="bs:publisher" />
         <show-property name="bs:author" />
         <show-child-association name="bs:reviews" />
      </property-sheet>
   </config>

   <config evaluator="node-type" condition="bs:review">
      <property-sheet>
         <show-property name="bs:reviewer_name" />
         <show-property name="bs:reviewer_email" />
         <show-property name="bs:review_rating" />
         <show-property name="bs:approved" />
      </property-sheet>
   </config>
  
   <config evaluator="node-type" condition="bs:order">
      <property-sheet>
         <show-property name="bs:number" />
         <show-association name="bs:books" />
      </property-sheet>
   </config>

Outcomes