Info: This plug-in is part of a set of sample plug-ins that is shipped with Elvis Server. For more information, see Elvis 5 sample plug-ins.
The Cleanup plug-in can remove assets or folders in Elvis. This can be useful to, for example, remove unused files from automatic wire feed imports or remove photos that should be deleted because of license limitations.
Note: Files and folders cannot be removed simultaneously but need to be removed as separate actions. This includes empty folders from which assets have been removed.
Configuration
Some technical skills are required to correctly configure this plug-in.
Please read SOAP - introduction first.
Files or folders can be removed by using a query, defined in a remove Web service call within the <cleanup>/xsl/remove-request.xml file. This provides much flexibility of what you want to remove.
Tip: Use a tool such as soapUI to test your query with a search Web service call before using it in this plug-in.
Caution: Test the functionality properly to make sure that the correct files are deleted.
Document history
- 6 June 2018: Renamed article from 'Elvis 5 bundled plug-in - Cleanup files and folders' to ' Elvis 5 bundled plug-in - Cleaning up files or folders.
- 6 June 2018: Made it clearer that the plug-in can only clean up files or folders, not both at the same time.
- 6 June 2018: General re-write of the article.
Comment
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
0 comments
Article is closed for comments.