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.
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.
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.
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.
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
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.
Thank you jared, the last thing you said was my target.
@████████ 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.
Hello Robyn,
We'll go ahead and put that on our backlog for WebLink as a feature request. Thank you for the explanation.
Regards,