Reputation: 262
Have anybody created a custom dialog or page in Alfresco Share to let users update one or more property values for several documents at once?
I'm going to implement such a functionality, but don't want to reinvent a wheel. So if a similar solution already exists - please let me know.
In more details, the solution as I see it would be:
Upvotes: 1
Views: 1083
Reputation: 1978
I wrote a blogpost on this issue:
Basically it involves the following steps:
In the action, assure all nodes are of same type, if so invoke the regular form for the first nodeRef in the list but with a new form-id (that you define in share-config-custom.xml). Also supply a list of the nodes you want to update.
Create a new edit-form template ftl that populates a hidden field with the nodeRefs to update.
Subclass the NodeFormProcessor on the repo-side to do the nodePersist in a loop for all supplied nodes.
For more details:
http://alfresco.blog.redpill-linpro.com/2014/06/25/bulk-edit-of-metadata/
Upvotes: 2
Reputation: 4079
As far as I know, there is not such an addon for Alfresco Share available yet - at least not publically. Good Luck!
Upvotes: 0