cancel
Showing results for 
Search instead for 
Did you mean: 

Space template rules and aspects

rguinot
Confirmed Champ
Confirmed Champ
Hi ,

I created new space templates , with multiple sub-levels using the software_engineering_project.xml as reference .
I modified the bootstrap-context.xml to include my custom space templates .

They are imported upon bootstrap without any problem .

However , i did not see how to specify in the xml file describing the space template how to automatically apply aspects to content that will be added withn those spaces .

i tried adding :


<view:aspects>
                  <poste:referenceable></poste:referenceable>
                 <cm:generalclassifiable></cm:generalclassifiable>
</view:aspects>

within the <cm:folder> tags , but this didn't have any effect.

Any help would be appreciated !
Thanks ,
1 REPLY 1

davidc
Star Contributor
Star Contributor
You need to define a rule that applies the desired aspect to all content created within the space.

The best approach is to create the space and rule in the Web Client UI and export it.  The xml exported in the .acp can be used directly by the bootstrap process.