You are viewing limited content. For full access, please sign in.

Question

Question

Adding search link to email.

asked on August 5, 2016 Show version history

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?

0 0

Replies

replied on August 8, 2016

Hi Gene,

Have you tried the Encode URI activity? That might give you the in-between level of encoding you're looking for.

0 0
replied on August 8, 2016 Show version history

I think you are on to something.  This is the URL that is in the email when I use the Encode URI activity...

http://laserfiche.company.com/laserfiche/index.aspx?db=ppm-kc-repo1#view=search;search=%7B%5BA/P%20Voucher%5D:%5BVoucher%20Reference%20Number%5D(any)%20in%20(%20%22549051%22)%7D

The link opens up correctly when I search using Chrome but it still does not open in IE (I am using IE11).  Any idea what is causing this problem and if there is a fix to it?  Would the source HTML help (it is pretty long!)?

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.