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.
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.
- Find the NXQL search that points to all your docs
- Go to Studio > Automation: Repository.Query with your NXQL followed bu Document.Move (with target id as the folder to put back your docs)
- Go to Designer > Button > Create a button linked to your actions
- Deploy and click the button