Looking for a keyword to delete an asset

Hi all




I am wondering if there is any keyword currently which will remove a file(delete) through the simple edit interface.





There is one for the recurring event cancellation which is called



%delete_link% - Links to delete this event altogether(if user has permission).



Cheers :smiley:

No, there is no (simple) way to delete files via the Simple Edit interface.

Use a trigger to listen for status changes to Archive, and then auto delete it.

[quote]Use a trigger to listen for status changes to Archive, and then auto delete it.
[right][post=“15794”]<{POST_SNAPBACK}>[/post][/right][/quote]

Thanks for posting that - I was just looking at how to do this and forgot about triggers!



cheers,



Richard

Quick guide to auto trash (since I got it not quite right the first time):


Event:


  • Status Change



    Conditions


  • Tree Location
  • Asset Status (archived)



    Actions


  • Create Link

    Link as child of trash using a type 1 link

    tick "Unlink this asset from all its existing parents"







    R

Richard: Does this require "Ignore Permissions" enabled? I would've thought that the Archive status wouldn't allow link changes by users who only have Write permission.

[quote]Richard: Does this require “Ignore Permissions” enabled? I would’ve thought that the Archive status wouldn’t allow link changes by users who only have Write permission.
[right][post=“15805”]<{POST_SNAPBACK}>[/post][/right][/quote]



I have to say that I don’t know.



In our case the status change is done via a future status, so I pressume the cron manager runs as root, and can relink.



But I have checked ignore perms so a change by anyone trashes the item.



It’d be kinda cool to have the trigger target ONLY future status status changes though…





R