AnsweredAssumed Answered

Property name

Question asked by robby on Feb 13, 2008
Latest reply on Feb 14, 2008 by robby
Hi all,
if i definde a property as:
   <type name="ecm:type">
         <title>DDT</title>
         <parent>cm:content</parent>
         <properties>
            <property name="ecm:prop">
               <title>Tipo</title>
                  <type>d:text</type>
            </property>
         </properties>
      </type>

How i get via Java the name eg: ecm:type??????????
I've tried using:
TypeDefinition typeDef = dictionaryService.getType(qName);
typeDef.getName();
but it return someting like: {http://www.alfresco.org/model/content/1.0}content
:evil:

Best regards

Robert.

Outcomes