developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks




Doclink in an agent
Alex J Machell 10/07/2005 08:35 AM
Domino Designer All Releases All Platforms


Hi,
I have a form that a user fills in and when submitted it runs an agent. This agent creates a new document in a different database using the code below:

@Command([Compose]; "EURLNA02":"Apps/Parker House/EDI/EDICust.nsf";"EDI Satisfaction Survey");
@Command([FileSave]);
@Command([FileCloseWindow])

I need it to then email a link to that document. However if I put the @mailsend function in the agent after this code it will send a link to the form that the person has just filled out, not the newly created document. Any suggestions?

Go back