E' possibile "esportare" il contenuto di una regola per una cartella? Lavorando con una versione di test ed una di produzione vorrei poter esportare le regole senza doverle ricreare ogni volta.
Is it possible to "export" folder rules? I'm working with a test and a production environment and I would export rules to avoid to recreate them every time.
Grazie!
Thank you
Folder rules can not be exported unles and untill you write your own code to export and import folder rules.
A solution will be to write a script which will create rule on folder.You can execute the script as and when needed.
Actually, if you export a folder using the include children option, its folder rules are exported, but you have to pay attention for its dependencies, like scripts in the Data Dictionary/Scripts folder.
If those exist, you first have to export the Scripts too, in a different ACP.
I used that before to generate ACP files that are bootstraped into the server where my project is deployed.
In order to the get the folder AND its rules at the destination, you have to import the folder itself.
And about the javascript dependencies, you have to, first of all, import the ACP that is going to create the javascript file, and only after that, import the ACP using the javascript inside the folder rule.
Its interesting. thank you.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.