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

Question

Question

Generate Web Access URL \ to /

asked on October 22, 2018

Not sure what I am missing, but I am using the workflow activity to generate a search URL for WebAccess. 

My goal is to use Set Business Variables and pass it to a Form field.  That works fine and the URL that appears in my Form when I open it is as follows:

http://localhost/laserfiche/index.aspx?db=LaserRepository#view=search;search={[Purchase Orders]:[Purchase Order Number]="1238"} & {LF:Name="*", Type="D"} & {LF:LOOKIN="LaserRepository\City Testing\Finance\~In Process"}

 

If I copy/paste this into the syntax of Laserfiche I get the desired results and it works great.

What I want then it to create an HTML field on the form and use an href to that field:

Here is what I have for the link

<a href="{/dataset/Search_URL}" target="_blank">Click here</a> to view the PO information.

This works and when I right-click and 'copy link address' I get:

http://localhost/laserfiche/index.aspx?db=LaserRepository#view=search;search={[Purchase%20Orders]:[Purchase%20Order%20Number]=%221238%22}%20&%20{LF:Name=%22*%22,%20Type=%22D%22}%20&%20{LF:LOOKIN=%22LaserRepository\City%20of%20Testing\Finance\~In%20Process%22}

If I click the link or if I copy/paste that code I get no results in Laserfiche.  It seems that even though the \'s in the folder path are right in the link, and in the URL, Laserfiche flips them?

If I change the / to the normal \ then I get my results.  Not sure what would cause this, any ideas?

Thanks,

Chris

0 0

Answer

SELECTED ANSWER
replied on October 22, 2018

We're seeing the same thing here, so it could be a bug in the web client, I've filed it as bug 123399 for us to investigate further.  I've tried escaping the backslashes as %5c and that works, you should be able to do that with a string replace step.

1 0

Replies

replied on October 23, 2018

Thanks Brian

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

Sign in to reply to this post.