cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to display property in Content Wizard

christopherchen
Champ in-the-making
Champ in-the-making
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="bsSmiley Tongueublisher" />
         <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="bsSmiley Surprisedrder">
      <property-sheet>
         <show-property name="bs:number" />
         <show-association name="bs:books" />
      </property-sheet>
   </config>
1 REPLY 1

christopherchen
Champ in-the-making
Champ in-the-making
I figured it out, I have to use "Add Content", not "Create Content" in the menu. "Create Content" doesn't give me the form with properties