Prevent Pasting of Document
Description
Users can code an agent to prevent pasting of documents
based on the form name. The agent should be set to run
'When documents are pasted'.
===================================================
Code
SELECT @All;
@If(Form ="form1":"form2":"form4" ; @Return(""); "");
@Prompt([OK]; "Warning"; "Pasting of that document type is
not supported in this application.");
@DeleteDocument
Submitted by Charu Patel to searchDomino as a Lotus411
Developer Tip
http://lotus411.searchdomino.com/411/Tips.nsf/55660b3d5e416aa3882567b9005463f8/53bbcc3497e4adec8525695f006b4469?OpenDocument
previous page
|