I have a workflow application that sends emails to users when they need to perform an operation on a document. Access to the application is through Internet Explorer so i cannot send them a doclink and the customer does not want a full URL to be visible in the email.
My solution so far has been to attach a standard button to the text of the email which refers to a field that I write in the email. The code I have used is as follows:
tVal := fdWebAddr;
@If(@IsAvailable(fdWebAddr) & tVal != “”; @URLOpen(tVal); @Prompt([Ok]; “Error”; “Document link has been lost - contact sender and ask them to send the URL”))
Field fdWebAddr contains the URL of the document I want the user to open, however if the email is forwarded this field is stripped from the email. My questions are as follows:
-
Is there any way to create the button in the email using LotusScript that will allow me to hardcode the URL?
-
Is there a way to prevent the field from being lost when the email is forwarded?
Any help would be much appreciated ![]()