AnsweredAssumed Answered

Acessing Custom Content model in template.

Question asked by lmanoh on Nov 21, 2008
hi, im newby to alfresco.
i created one custom content model named custommodel.xml, in that i mentioned some properties like first name, last name and number.after create content, i can able to edit and save the content through properties. now i need to access this stored data in template. for example if we need to access the user information by using ${}. 
im placing my xml here
<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="ccs:somecomodel" xmlns="">

   <!– Optional meta-data about the model –>
   <description>Someco Model</description>

   <!– Imports are required to allow references to definitions in other models –>
      <!– Import Alfresco Dictionary Definitions –>
      <import uri="" prefix="d" />
      <!– Import Alfresco Content Domain Model Definitions –>
      <import uri="" prefix="cm" />

   <!– Introduction of new namespaces defined by this model –>
      <namespace uri="" prefix="ccs" />
   <type name="ccs:license">
    <!– <parent>cm:content</parent> –>
        <property name="ccs:fname">
           <title>First Name</title>
   <property name="ccs:lname">
       <title>Last Name</title>
   <property name="ccs:st">
   <property name="ccs:info">
         <title>License Number</title>


can any one help me in this reards, highly appriciatable.