cancel
Showing results for 
Search instead for 
Did you mean: 

How is the order decided in displaying Custom Type Properite

bisana
Champ on-the-rise
Champ on-the-rise
Hi All
    I have a custom Type defined which have around Fifteen properties defined
After appling documents with the created CustomType, and when  I check the document properies I could see all this Custom Type properties, but not in the order which is there in Model file.
Then I thought naming of property has effect, I strted naming in alhpabetical sequence, this also is not having the desired result.
What should I do to control  how the propery is displayed
Advice requested
Thanks
Joseph John
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
You control the order of properties in the form definition.    If there's no form definition then the order is not defined.

bisana
Champ on-the-rise
Champ on-the-rise
Hi Mrogers
Thanks for the reply, how could I do a form definition, It will be too great if I can get a link or tutorial on how to do it, I will read it and try it
Thanks
Joseph John

bisana
Champ on-the-rise
Champ on-the-rise
Thanks your reply was helpful to narrow the search
I solve it by creating form definition by adding


  <config evaluator="node-type" condition="sc:legaldept">
      <forms>
     <form>
         <field-visibility>    
      <show id="cm:name" />
      <show id="cm:title" />
           <show id="cm:description" />             
       <!– Metadata for  custom content type–>
      <show id="sc:lddoctype"/>
      <show id="sc:nameofpartyone"/>
      <show id="sc:nameofpartytwo"/>
      <show id="sc:nameofpartythree"/>        
         </field-visibility>
     </form>
    </forms>
   </config>