cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement Drag and Reordering of documents in Alfresco Share

govinda
Champ in-the-making
Champ in-the-making
I want to implement drag and reorder functionality for documents in Alfresco Share. I came across with YUI library but don't know how to implement.

Any idea / suggestion are mostly welcome
2 REPLIES 2

jpfi
Champ in-the-making
Champ in-the-making
Hi,
yes, YUI Drag and drop library ist the right approach. Take a look into Share's documentlist.js where drag&drop movement of files is done.
But you need also to consider how you'd like to persist the position & you'll need to add your new position property to the sort menu in the doclib.
It will be a hard task if you're not familar with YUI drag & drop & general Share customizations…
cheers, jan

govinda
Champ in-the-making
Champ in-the-making
Is it possible to update the data source i.e. data web scripts while drag and re ordering so that I can persist my state of reordering ?
Or Do I need to add an extra metadata for that ?
Or Is there any other easy way to achieve this ?