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

Question

Question

Workflow C# Script generate email link issue

asked on March 2, 2016

A C# script generates the link and uses RAScriptClass 

SetTokenValue = URL      is used and then the email tool is used to link the user to the repository with the link generated.

<a href="%(URL)">Sign Off Form</a>

 

When the user clicks the link generated instead of opening the file within the repository it returns just a white page with the following code:

 

<?xml version="1.0" encoding="utf-8"?>

<laserfiche>

    <repository name="HEADSTART">

        <entry id="7163"    />

    </repository>

</laserfiche>

 

it seems to be recognizing the proper repository and entry ID just fine.  Would this come about due to specific access rights into the repository location where the ID is located?  Or could there be more issues with the actual http link.

I noticed the link is using:

"http://laserfiche-dev/Forms/Supply-Receipt?Instance="

laserfiche-dev.seta.net would be the fully qualified name for the server.  

 

Just trying to identify where the possible breakdown with the link could be happening.

0 0

Replies

replied on March 2, 2016

That looks like XML for a .lfe shortcut for the Laserfiche Client. What are you setting the "URL" token to?

0 0
replied on March 2, 2016

It's currently being set to a field: History.  which just attaches the link within URL for reporting efforts.

0 0
replied on March 2, 2016

I'm sorry, I'm confused. So the URL token gets set to a static field value, but you get a XML page that looks like a Client shortcut rather than a Web Access URL. And somehow there's a Forms URL involved?

0 0
replied on March 2, 2016 Show version history

Sorry,

The workflow generates an email using the Route Entry tool. The route to entry is attached to the email.  But when they click to open it they get the XML page.

They should be directed to the file.  They primarily use Laserfiche Mobile on IPads.

0 0
replied on March 2, 2016

Oh, are you attaching the document as shortcut? So they open the attachment instead of clicking your URL link?

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

Sign in to reply to this post.