How to delete (just inserted) Tracker Item?
I am using trackers to realize a contact form. As soon as the e-mail is sent to me, I want the tracker item to be deleted. It is not needed any more. So, how can I delete a tracker item when a wiki page is loaded?
I found one way: {LISTEXECUTE}
The problem is, that {LISTEXECUTE}
uses the unified index. So, if I understand right, I had to first rebuild the unified index to be able to delete that just inserted tracker item - which can be a lengthy process, according to the documentation. I don't want the user to wait for that.
Is this really the only way to go? Isn't there a simpler way to just delete an Item which I know eactly the trackerId and itemId of?