I am trying to build a friendly delete button for the web.
I have an application with about 18 forms that need a delete button, and about 40 views for those forms.
@Command(EditClear) or ?deleteDocument results in an ugly screen that doesn’t respond in a friendly manner to the back button.
One approach I’ve considered is setting a delete flag, excluding docs with that flag from the views, and running an agent to delete flagged docs, but I’m hoping to spend less time then that requires.
I’m trying code like this in a button
varID:=@Text(@DocumentUniqueID);
@URLOpen(“reviewlog.nsf/test/”+varID+“!DeleteDocument”);
@URLOpen(“http://www.cnn.com”)
but the second @UrlOpen doesn’t go, it stops me at “Document Deleted”
Ideas?