AnsweredAssumed Answered

dynamic addition to the contentModel

Question asked by unknown-user on Mar 22, 2006
Is there a way to dynamically add entries into the contentModel? Does the DictionaryService support dynamic additions programmatically?

For example:
If I have a base type defined..
<types> 
      <type name="ns:supercontainer">
         <title>My Type</title>
         <parent>cm:content</parent>
         <properties>
            <property name="ns:onefield">
               <title>One Field</title>
               <type>d:int</type>
            </property>
         </properties>
</types>
I want to add dynamically..
<types>
      <type name="ns:newcontainer">
         <title>My New Type</title>
         <parent>ns:supercontainer</parent>
         <properties>
            <property name="ns:twofield">
               <title>Two Field</title>
               <type>d:int</type>
            </property>
         </properties>
</types>
Also, Is there programmatic access to a "reload all/new models"?

thanks.

Outcomes