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

Question

Question

Using Tokens in an e-mail url

asked on April 27, 2016

I want to create a link to a direct document using Laserfiche workflow and send it in an e-mail. I've decided to keep the names very simple and just use the format that the links are created. When I type these links in manually they always work. However, Laserfiche does not let me insert tokens

 

What I Have set up in the Workflow E-mail

http://documents.saintjohn.ca/WebLink/3/edoc/%(RenameEntry_OutputEntry_ID)/%(RenameEntry_OutputEntry_Name).pdf

Here is the Resulting URL that I receive when I Run the Workflow

http://documents.saintjohn.ca/WebLink/3/edoc%(RenameEntry_OutputEntry_ID)%(RenameEntry_OutputEntry_Name).pdf

0 0

Answer

SELECTED ANSWER
replied on April 27, 2016

That's the correct way. A single slash before the percentage sign at the beginning of the token acts as an escape character and turns the token into the literal string. So you need the second slash to indicate the slash itself is literally a slash rather than being a special character.

3 0

Replies

replied on April 27, 2016

A quick note, I have gotten it to work by adding two forward slashes in front of the tokens. It seems to work every time, but I still want to confirm if there is a better way.

 

http://documents.saintjohn.ca/WebLink/3/edoc//49323//15-192.pdf

0 0
SELECTED ANSWER
replied on April 27, 2016

That's the correct way. A single slash before the percentage sign at the beginning of the token acts as an escape character and turns the token into the literal string. So you need the second slash to indicate the slash itself is literally a slash rather than being a special character.

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

Sign in to reply to this post.