AnsweredAssumed Answered

How do I change the display name for an aspect?

Question asked by grauenwolf on Apr 16, 2012
Latest reply on Apr 23, 2012 by afaust
This is my aspect:

<?xml version="1.0" encoding="utf-8"?>
<model name="ac:androidContent" xmlns="http://www.alfresco.org/model/dictionary/1.0">
   <description>Android Content Model</description>
   <author>Cynergy</author>
   <version>1.0</version>
   <imports>
      <import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
      <import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
   </imports>
   <namespaces>
      <namespace uri="http://www.cynergy.com/androidContent/content/1.0" prefix="ac"/>
   </namespaces>

   <constraints>
      <constraint name="ac:NotificationSummary_Length" type="LENGTH">
         <parameter name="minLength">
            <value>1</value>
         </parameter>
         <parameter name="maxLength">
            <value>50</value>
         </parameter>
      </constraint>

      <constraint name="ac:Priority_Options" type="LIST">
         <parameter name="allowedValues">
            <list>
               <value>High</value>
               <value>Medium</value>
               <value>Low</value>
            </list>
         </parameter>
      </constraint>

   </constraints>

   <aspects>
      <aspect name="ac:androidContentProps">
         <title>Android Content</title>
         <properties>

            <property name="ac:propNotify">
               <title>Notify</title>
               <type>d:boolean</type>
            </property>

            <property name="ac:propNotificationSummary">
               <title>Notification Summary</title>
               <type>d:text</type>
               <constraints>
                  <constraint ref="ac:NotificationSummary_Length" />
               </constraints>
            </property>


            <property name="ac:propArchiveDate">
               <title>Archive Date</title>
               <type>d:datetime</type>
            </property>

            <property name="ac:propPublishDate">
               <title>Publish Date</title>
               <type>d:datetime</type>
            </property>

            <property name="ac:propPriority">
               <title>Priority</title>
               <type>d:text</type>
               <multiple>false</multiple>
               <constraints>
                  <constraint ref="ac:Priority_Options" />
               </constraints>
            </property>


         </properties>
      </aspect>
   </aspects>
</model>

In Alfresco Share then name is "aspect.ac_androidContentProps". How do I change that to something that is friendly?

Outcomes