AnsweredAssumed Answered

property of a custom content

Question asked by zed on May 14, 2008
Sorry…
Hi, I create my custom content with some fields, like this
<type name="my:customDoc">
         <title>Custom Document</title>
         <parent>cm:content</parent>
         <properties>
   
       <property name="my:name">
          <type>d:text</type>
            </property>
    <property name="my:type">
          <type>d:text</type>
            </property>
       <property name="my:note">
          <type>d:text</type>
            </property>

So I want that the field myname is the union of the name of document (cm:name) and my:type.

For example, I load a document (a.txt) and set the value of type as "internal".
I would like that my:type has the value  "a.txt_internal"

It's possible?
Thank's

Outcomes