Hi ! Nobody has a JavaScript to add or remove an aspect (appl: inlineeditable )
to documents that are already imported into the repository.
I am very annoyed, I should have included this aspect in the rule before import.
Can you help me please?
Thanks
Léon TSATY
You can create your own script for that:
1. search for the documents that needs to be updated using "search" root object.
2. Iterate the result script nodes and add your aspect with required properties using "node.addAspect(...)"
OR
create a rule that applies to your specific type, apply the rule on the root folder then add a script for adding aspect using "document.addAspect(..)"
Look in documentation on help regarding JS root objects and useful methods.
The javascirpt console would be a helpful in writing the scipt.
Hello
I can not create my own script because I do not know the javascript development language
I am a beginner on alfresco. So creating scripts is too sophisticated for me
Thanks
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.