Undo move of documents

I found myself in a typical situation but not easy solution, was using DAM and selected several pictures I was interested on, by mistake I moved them to one specific directory and wanted them to go back to their original places and had to do it manually, one by one moving them, is there any “undo” button or what should it be the right solution for this situation?. Create an “undo” button? If so, any hint to create it? Regards.

0 votes

1 answers

718 views

ANSWER



Hello, there's no undo feature in Web UI. For your situation, I would create a custom script to set them back to the original location (first an NXQL to fetch those doucments, then the Document.Move operation), then link it to a button for example.

0 votes



Could you please give me a hint where should I start? I haven't used Studio yet and don't know how to start to achieve this. And btw thanks for your answer.
04/26/2020

  1. Find the NXQL search that points to all your docs
  2. Go to Studio > Automation: Repository.Query with your NXQL followed bu Document.Move (with target id as the folder to put back your docs)
  3. Go to Designer > Button > Create a button linked to your actions
  4. Deploy and click the button
04/26/2020

Kewl, thanks, also need a "Select all" button and I think this would be the same way, this would help by now, Best regards Gregory.
04/26/2020

Or use the clipboard once selected
04/26/2020