cancel
Showing results for 
Search instead for 
Did you mean: 

How are Space Rules stored?

invantix
Champ in-the-making
Champ in-the-making
Where and how are space rules stored in alfresco (i.e. in an XML file? table? …). 

I have a bunch of very similar rules I would like to add.  I would rather edit a file or table than use the web interface in this case since there are a lot of them.

Thanks
3 REPLIES 3

xerox
Champ in-the-making
Champ in-the-making
They are stored the same as documents/spaces.
You could look at the nodebrowser.
If you navigate (with the nodebrowser)to a space node you could see that one of the children of the space is a rulefolder(if the space contains at leat one rule).
This rulefolder contains all the configuration data of all the rules that belong to that space.

You could create those rules via javascript. I don't think there are standard script functions for creating a rule, but you could simulate it with making a new node, give it the right type and properties.

Friendly regards,

Nick

loftux
Star Contributor
Star Contributor
If you have not created your folders yet, create one as a template, and set the rules on that folder.
The rules will be copied as well when you create your new folders.

If your folders are already in place, remember that rules can be inherited, so you only have to apply them on the top level of your hierarchy to have the same set of rules for the child folders.

Peter Löfgren

invantix
Champ in-the-making
Champ in-the-making
Maybe ther is another way to do this?  I am creating simple workflows for approvals.  I need the files to move from the sub space under drafts to the parallel subspace in panding approvals, approvals…  When you create the simple workflow you need to specify the "move to space" so I am creating a rules (Request Approval, Approve, Reject…) on each space.  That's a lot of clicking and typing when using the web interface.

Drafts
   AFolder
   BFolder
   CFolder
   ….
   ZFolder

Pending Approvals
  AFolder
  BFolder
  CFolder
   …
   ZFolder
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.