I am wanting to add a Web Access Search link to an email being sent from Workflow.
I am using a Generate Web Access URLs activity to generate the URL. It looks like this...
I add the link to the email in the following manner....
<p style='font-family=Calibri,sans-serif'>Click on the link below to display a list of all documents that failed the audit.<br/><a href=' %(GenerateWebAccessURLs_SearchUrl)'>Show Documents</a></p>
When I click on the link in the email it does nothing (this might be an Outlook problem but if someone has solved this help would be appreciated).
When I copy the link to the clipboard I get the following...
http://laserfiche.company.com/laserfiche/index.aspx?db=ppm-kc-repo1#view=search;search={[A/P%20Voucher]:[Voucher%20Reference%20Number](any)%20in%20(%20"549051")}
I paste this into the address bar in IE and I get a blank page. In Chrome it displays the results as expected. Interesting IE does not change the URL but Chrome changes it to the following...
http://laserfiche.company.com/laserfiche/Browse.aspx?db=ppm-kc-repo1#/view=search;search=%7B%5BA/P%20Voucher%5D:%5BVoucher%20Reference%20Number%5D(any)%20in%20(%20%22549051%22)%7D?view=search&search=%7B%5BA%2FP%20Voucher%5D:%5BVoucher%20Reference%20Number%5D(any)%20in%20(%20%22549051%22)%7D
So I assuming that I need to do this somehow in the workflow when generating the email. I have tried numerous variations and cannot get it to work. I thought I could apply the "EncodeURL" function to the link but this does not work because it encodes the entire URL. The only thing I want encoded is the parameters (everything after "search=").
What do I need to do to create a valid URL in an email?