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

Question

Question

Setting fields in Weblink search using URL parameters

asked on August 10, 2021

Is it possible to pass parameters in the URL for the Search.aspx page to pre-set certain fields in the search?

For example, if I wanted the search page to load with "contracts" pre-selected in the templates menu, can we construct a URL like this?

     /WebLink/Search.aspx?Template=contracts

I've been searching for a reference for this, maybe a list of parameters, but I'm coming up with nothing.

 

0 0

Replies

replied on August 11, 2021

Yes, you can use the URL search syntax found in the Help File.  Essentially you can use the search syntax in the client to build out URL's to that run the search for you.

 

 

1 0
replied on August 11, 2021

Thank you, Chris. That's very helpful. I managed to use the URL to search for documents that use our contract template which is pretty cool.

Still, it's not quite what I was looking for unfortunately.

More specifically, I was wondering if you can pass URL parameters when you first load the search page to pre-set things in the search form. The page you linked to shows how to perform a search using the parameters. I'm just trying to pre-set items in the search form without performing the actual search. 

For example, I could load the search form with the contracts template already selected in the template menu and then wait for the user to fill it any other fields and initiate the search. I suppose this would take creating a custom page with that item already selected in the page code.

 

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

Sign in to reply to this post.