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

Question

Question

Create a link to a desktop repository location in?

asked on October 23, 2019

We are creating a forms process which needs to link back to repository location. We can get around this by just showing the path of the file in the repository on a blank field, but would really like to create a link in an anchor tab that will open the desktop repository to the specified location.

Is there a protocol which will open the desktop client on click? And how would we structure the link to allow users one-click access to the location?

0 0

Replies

replied on October 24, 2019

Hi Brian

You can either pass the Generate URL variable from workflow to the form which contains the entire path or just the Entry ID and build the URL in Form using a formula. Ultimately though, you have to pass the Variable to an HTML field by putting the value in the Hyperlink feature in the Custom HTML field.

This will give you a clickable hyperlink in your form that will open the document in the repository assuming they have security rights to the file.

As to Craig's point, I often using the technique of displaying a document in an iframe as well

1 0
replied on November 8, 2022

Hi Steve, 

Currently on our forms, we are using the embedded iframe, this is our html code

<iframe id="myframe" src="{/dataset/start_DocumentURL}" width="900px" height="500px"></iframe>

Our users do not want the repository embedded on the form, rather they want a link on the form and when they click on it, it should navigate to the request folder they are working on, How can I implement this? the request folder path or URL value is the variable {/dataset/start_DocumentURL}. How can I achieve this. I am not familar with coding. Kindly advise what formula are you referring too?

Thank you.

0 0
replied on November 9, 2022 Show version history

Try this in an HTML field

For this to work, the DocumentURL would need to be populated when the form is started, otherwise I have another way to do this but requires a bit of JS

<button onclick="window.open('{/dataset/start_DocumentURL}')" style="height:30px;width:200px"><center><b>Click to open file</b></center></button>

0 0
replied on November 9, 2022

<a href="https://app.laserfiche.ca/laserfiche/browse.aspx? repo=r-000000c38a94#/?id={/dataset/start_FolderID}" target="_blank">Link to Folder </a>

I tried the above link and it worked. Yes it only works when the folder id is populated.

Thank you Steve.

0 0
replied on November 21, 2020

Brian,

Did you ever figure out how to link to a folder location and have it open in the desktop client? 

0 0
replied on November 23, 2020

Hey Chelsey,

I don't believe that there is a way to do it like I described, where you just show a link that opens a location in Laserfiche by URI. But, if you access Laserfiche through Web Access rather than through the desktop client, you'll be able to generate a URL to the folder on the Web Access site through workflow

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

Sign in to reply to this post.