add rule to space with java

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2011 08:08 AM
Hi,
I'm creating spaces programmatically in some other spaces. I need to add rules to these. These rules are very basic rules defined in Alfresco. I mean, I'm not developing new rules, I want to add pre-defined 'Send Email' rule to some spaces.
How can I define the properties and send email from java?
I'm creating spaces programmatically in some other spaces. I need to add rules to these. These rules are very basic rules defined in Alfresco. I mean, I'm not developing new rules, I want to add pre-defined 'Send Email' rule to some spaces.
How can I define the properties and send email from java?
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2012 07:29 AM
I'd also be interested in this (using either Java or JavaScript), in order to automate the configuration of Share Sites.
We would like to be able to set up a server and site(s) with a set of predefined folders, permissions and rules created programatically. As development proceeds, we can then reproducibly set up servers for experimentation, and then eventually be able to reproduce those setups into test and production.
Does anybody do this already? Or does everyone set up servers by hand, via a set of manual instructions?
We would like to be able to set up a server and site(s) with a set of predefined folders, permissions and rules created programatically. As development proceeds, we can then reproducibly set up servers for experimentation, and then eventually be able to reproduce those setups into test and production.
Does anybody do this already? Or does everyone set up servers by hand, via a set of manual instructions?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2012 10:28 AM
Hello,
Here it is for java:
http://wiki.alfresco.com/wiki/NodeRef_cookbook#Set_Rule_on_a_node
or
https://forums.alfresco.com/en/viewtopic.php?t=14618#p88611
And here for javascript:
http://wiki.alfresco.com/wiki/Rule_REST_API_Design_Notes
or (the forum post just after the previous one):
https://forums.alfresco.com/en/viewtopic.php?t=14618#p101945
Good luck.
Here it is for java:
http://wiki.alfresco.com/wiki/NodeRef_cookbook#Set_Rule_on_a_node
or
https://forums.alfresco.com/en/viewtopic.php?t=14618#p88611
And here for javascript:
http://wiki.alfresco.com/wiki/Rule_REST_API_Design_Notes
or (the forum post just after the previous one):
https://forums.alfresco.com/en/viewtopic.php?t=14618#p101945
Good luck.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2012 10:30 AM
Excellent, thanks!
