List of Inbound Rules

cancel
Showing results for 
Search instead for 
Did you mean: 

List of Inbound Rules

resplin
Intermediate
0 0 1,065

Obsolete Pages{{Obsolete}}

The official documentation is at: http://docs.alfresco.com



Freemarker ExamplesExamples


Description


This template can be called from a space. (No error handling when called from a document details page.) It traverses the space structure from the current space to all leaves. For each space, the inbound rules are displayed.


Screenshot


Template


Full version (too much noise, but you will see what's happening)



<tr><td align='left'>
  

   <td align='center'>
  
     
        
           
        
        
           
           
           
           
           
           
           
           
              
              
              
              
              
              
              
              
              
                 
                 
                 
                 
                 
                    
                    

                    
                    
                    
                    
                    
                       
              
                 
                 
                 
                 
                 
                 
                 
                    

                    
                    
                    
                    
                    
                       
rule:ruleFolder
CmTitle ${r.properties['cm:title']!'no title'}
CmName ${r.properties['cm:name']!'no name'}
rule:rule
CmTitle ${t.properties['cm:title']!'no title'}
CmName ${t.properties['cm:name']!'no name'}
RuleType:
           
Asynchronously: ${t.properties['rule:executeAsynchronously']?string('yes','no')}
ApplyToChildren ${t.properties['rule:applyToChildren']?string('yes','no')}
Disabled: ${t.properties['rule:disabled']?string('yes','no')}
rule:action
CmTitle ${action.properties['cm:title']!'no title'}
CmName ${action.properties['cm:name']!'no name'}
Name ${action.name!'no name'}
Type ${action.type!'no type'}
aTitle ${action.properties['act:actionTitle']!'no title'}
aDescr ${action.properties['act:actionDescription']!'no desc'}
aExecuteAsynchronously ${action.properties['act:executeAsynchronously']?string('yes','no')}
act:conditions
CmTitle ${cond.properties['cm:title']!'no title'}
CmName ${cond.properties['cm:name']!'no name'}
CmName ${cond.properties['act:definitionName']!'no name'}
act:parameters
CmTitle ${param.properties['cm:title']!'no title'}
CmName ${param.properties['cm:name']!'no name'}
NAME ${param.properties['act:parameterName']!'no name'}
VALUE ${param.properties['act:parameterValue']!'no value'}
TITLE ${param.properties['cm:title']!'no title'}
NAME ${param.properties['cm:name']!'no name'}
${kkk}
                          
act:action
aTitle ${actions.properties['act:actionTitle']!'no title'}
aDescr ${actions.properties['act:actionDescription']!'no desc'}
aExecuteAsynchronously ${actions.properties['act:executeAsynchronously']?string('y','n')}
CmTitle ${actions.properties['cm:title']!'no title'}
CmName ${actions.properties['cm:name']!'no title'}
act:parameters
CmTitle ${param.properties['cm:title']!'no title'}
CmName ${param.properties['cm:name']!'no name'}
NAME ${param.properties['act:parameterName']!'no name'}
VALUE ${param.properties['act:parameterValue']!'no value'}
TITLE ${param.properties['cm:title']!'no title'}
NAME ${param.properties['cm:name']!'no name'}
${kkk}
                          

  

  
 
 
Name of space details


ToDo:


  • Strip down to the properties you need
  • The relation between all classes is very hard-coded in the current template, it can be more robust to be more generic

Requirements


Alfresco Version 2.1.x It uses standard functionality provided in this version of Alfresco.


Source


This template was used in a project of mine.