AnsweredAssumed Answered

cm:temporary aspect

Question asked by rashmip on Feb 6, 2014
Latest reply on Feb 11, 2014 by rashmip
Hello

I am trying to delete a document permanently by clicking the delete document plugin from my Alfresco workdesk.

I do not want it to stay in the trashcan.

I tried adding the cm:temporary aspect to content model as below.



       <type name="owd:fileDocument">
         <title>File Document</title>
         <description>File document</description>
         <parent>cm:content</parent>
         <properties>
            <property name="owd:fileDate">
               <title>File Date</title>
               <type>d:date</type>
            </property>
         </properties>
                       <mandatory-aspects>
                             <aspect>cm:temporary</aspect>
                        </mandatory-aspects>
   </type>



But when I try to save my model I get an error saying failed to compile model.

Is there any mistake in what I have done.

Please help

Outcomes