Backoffice / Helpdesk System for Notes / Domino
Hi This tip made possible to put a button to create a Bug Report from another notes aplication and set the fields Application and Failure type 1) Create a button in your application with this code @Environment("MyApplication";"Application XPTO"); @Environment("MyFailureType";"Bug"); @Command([Compose]; "MyServer/MyOrganization":"HELPDESK.nsf"; "BugReport") 2) Change the field Application from Form "BugReport" with the following Code Aux := @Environment("MyApplication"); @Environment("MyApplication";""); @If(Aux = "";"";Aux) 3) Change the field FailureType from Form "BugReport" with the following Code Aux := @Environment("MyFailureType"); @Environment("MyFailureType";""); @If(Aux = "";"";Aux) Explanation: The second @environment clean this variable