cancel
Showing results for 
Search instead for 
Did you mean: 

Property name

robby
Champ in-the-making
Champ in-the-making
Hi all,
if i definde a property as:
   <type name="ecm:type">
         <title>DDT</title>
         <parent>cm:content</parent>
         <properties>
            <property name="ecmSmiley Tonguerop">
               <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.
2 REPLIES 2

dhalupa
Champ on-the-rise
Champ on-the-rise


qName.toPrefixString(namespaceService);

robby
Champ in-the-making
Champ in-the-making
Thanks!!!

Robert.