Info: This plug-in is part of a set of sample plug-ins that is shipped with Assets Server. For more information, see Assets Server sample plug-ins.
Note: The use of internal plug-ins such as sample plug-ins has been deprecated in Assets Server 6.73. These plug-ins should instead be created as an external plug-in.
The cleanup plug-in can remove assets and folders in Assets Server. This can be useful to, for example, remove unused files from automatic wire feed imports or remove photos that should be deleted due to license limitations.
Note: This bundled plug-in is supported for production use.
Tip: If you want to prevent users from deleting assets, don't give them delete rights but let them use metadata (field with pulldown value "delete" or "remove") and use this cleanup plug-in to delete assets on a schedule.
Configuration
The cleanup plug-in configuration is, for flexibility reasons, not handled through the plug-in configuration file. You will need some technical skills to configuring this plug-in correctly.
Files and folders can be removed using a query, defined in a remove webservice call inside the <cleanup>/xsl/remove-request.xml file. This gives you a lot of flexibility on what you want to remove.
Read SOAP - introduction first so you understand what you are doing. Also, you can use a tool like soapUI to test you query with a search webservice call before using it in this plug-in.
Warning: Be very careful, if you do not understand what you're doing, creating an incorrect query can delete files you don't want to delete!
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
Please sign in to leave a comment.