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

Question

Question

passing variable from a document in LF Web Client to Forms Custom Tab

asked on September 26, 2018

Hi, 

 

Is there a way to pass a variable within Laserfiche Web client when i have a form configured as a Custom tab. Looking for the Entry ID to be passes by ticking the box in front of the document before having to open it then i have an Entry ID field on the form which will display the iframe?

Currently it works well when doing typing or selecting the EntryID, but wish to automate this if possible.

 

Regards,
Gert

0 0

Answer

SELECTED ANSWER
replied on September 27, 2018

I do think it is what you are looking for, but perhaps I should have provided more details on what you need to set up. When you configure your Custom Tab, you need to build the URL with query string parameters as described by that article, and use the token menu to insert a token into the URL:

Then, when you view the tab, Web Client will fill in the tokens, which will get passed into your form.

2 0

Replies

replied on September 26, 2018

It sounds like you may be looking for this: Using URL Parameters to Pre-fill Form Fields.

0 0
replied on September 26, 2018

Hi Scott, 

 

I am aware of the URL Parameters to pre-fill form fields, but this is something different. Here is a Screenshot to show what i mean. 

 

When selecting the tick box of the document, i was wondering if i am able to use Java or anything to pre-fill the form with the Entry ID of the selected document. 

 

Some folders has a few thousand documents in them. 

0 0
SELECTED ANSWER
replied on September 27, 2018

I do think it is what you are looking for, but perhaps I should have provided more details on what you need to set up. When you configure your Custom Tab, you need to build the URL with query string parameters as described by that article, and use the token menu to insert a token into the URL:

Then, when you view the tab, Web Client will fill in the tokens, which will get passed into your form.

2 0
replied on September 27, 2018

Thank you very much! This is great. Thought it would need some java scripting in the form. 

0 0
replied on April 5, 2019

Thank you for this response. It is helping us. What types of fields is this limited to? Can we pass a date field or a file URL?

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

Sign in to reply to this post.