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

Question

Question

weblink search form parameters in url

asked on March 20, 2017

hi all,

 

is there a way to pass parameter to weblink search form in the URL.

for example : http://localhost/WebLink/CustomSearch.aspx?SearchName=Searchbyclientname &the parameter that i want like the client name.

 

how can we do it ???

Please advise.

0 0

Answer

SELECTED ANSWER
replied on March 20, 2017

What is it exactly that you are trying to do? If you are trying to send/generate a URL to run a search with a few specific parameters, you can do that with the URL syntax Steve mentioned above. (or some more notes here: https://www.laserfiche.com/solutionexchange/how-to-enhance-your-laserfiche-weblink-portal-with-search-urls/ )

It sounds like you could just 'recreate' the search form using syntax. Go into the web client, craft a search that uses your search form blocks and a client name block, then copy the URL. The search= piece at the end with the specified client name will be the same syntax the search form generates with the parameter included. 

If you are asking about a way to generate a URL such that the user will land on the search form page with some or all of the fields filled out, that is not currently supported in WebLink. We are looking at implementing something similar in an upcoming release of the web client and can consider it a feature request for WebLink if you have a use case for it. 

0 0

Replies

replied on March 20, 2017

Hi Dahar, there is a section in the Laserfiche Guide about Custom URL's. Search for "Custom URL"

It is mostly based on WebAccess but the passing of variables I noticed is different then with forms using #/? instead of the & to separate variables in the string.

0 0
replied on March 20, 2017

Steve, this is not the point,  i know about the custom url for search.

But what i need is passing parameters to a custom search form, it is not mentioned in the help file of the weblink so i need to know if someone had encountered this task before, or maybe a reply from laserfiche.

 

Thank you

0 0
SELECTED ANSWER
replied on March 20, 2017

What is it exactly that you are trying to do? If you are trying to send/generate a URL to run a search with a few specific parameters, you can do that with the URL syntax Steve mentioned above. (or some more notes here: https://www.laserfiche.com/solutionexchange/how-to-enhance-your-laserfiche-weblink-portal-with-search-urls/ )

It sounds like you could just 'recreate' the search form using syntax. Go into the web client, craft a search that uses your search form blocks and a client name block, then copy the URL. The search= piece at the end with the specified client name will be the same syntax the search form generates with the parameter included. 

If you are asking about a way to generate a URL such that the user will land on the search form page with some or all of the fields filled out, that is not currently supported in WebLink. We are looking at implementing something similar in an upcoming release of the web client and can consider it a feature request for WebLink if you have a use case for it. 

0 0
replied on March 20, 2017

Thank you jared,  the last thing you said was my target.

 

0 0
replied on February 5, 2018

@████████ I know I would like to see this feature in Weblink. The majority of our users are weblink users.

For example, I send my org's directors the inventory sheets for boxes kept offsite that are due to be destroyed. This can be up to 70 sheets/department for them to review. Because I use metadata to track destruction date and department, I could easily generate a search for those inventory sheets rather than sending them as attachments.

It is also useful to generate contract renewal searches, etc.

0 0
replied on February 7, 2018

Hello Robyn, 

 

We'll go ahead and put that on our backlog for WebLink as a feature request. Thank you for the explanation.

 

Regards,

0 0
replied on March 20, 2017

This page may help. It was written for WebLink 8, but the concept and syntax should be the same.

https://www.laserfiche.com/solutionexchange/how-to-enhance-your-laserfiche-weblink-portal-with-search-urls/

You are not allowed to follow up in this post.

Sign in to reply to this post.