URL Parameters for Custom Searches

Does anyone know of a way to process inbound url parameters to search for a specific record ?

Obviously I can pass in the context_record_id parameter but say I wanted to search by some other parameter of an object ?

so for example …

https:/xxxxxxxxx/i/xxx/p/xxxx/xxxx/xxxx/xxxx**?queue_item=1769395**

I’m assuming I’ll need to write a CS item of some kind to get the URL parameter and do something with it.

Thanks

Haydn

Hi @Haydn.Haynes this is something @adam.mills created a while back. Would this be the type of thing you’re looking for, to pull a parameter from a URL to use in another way?

https://community.netcall.com/appshare/i/url-parameter-value-presenter/

We were using it to pull out URL Parameters from QR Codes that had been scanned on a phone.

Hi Haydn,

Although my url parameter presenter will allow you to capture values from the query string, the Header Search Feature would work better in this instance.

Go to the Object containing the reference property you would like your user to search upon.
Switch to the Settings tab. Under Searchable fields add the property you want to allow for.

Next you want to create a search page that can show the results of your search i.e. Search at top with results below.

Within the interface area of build for your target interface, switch to the Header and Footer tab.
Under Top Search Settings enable Top Search.

Select your results page and enable Jump to Unique.

Under User Search Fields enable which fields you want to allow search for.

Once complete you can then trigger the search via url formatted in this way:
https://[your_url] /i/ [interface_name] /?q= [search_params]

See here for more detailed instructions:
[https://docs.netcall.com/docs/liberty-create/2022.1/build-studio/interface/interfaces/header--footer](https://Click Here for Create Documentation)

1 Like

Adam,

Yes I can see how I may be able to make this work - anyway to actually jump to the specific record itself or is it only a case of showing a restricted search list from which I can select the record to display ?

Thanks

Haydn

If you enable the Jump to Unique feature it will take you directly to the default page for that object.
You will need to have set this up first in the object.

Ah OK yes - looks doable but now I seem to have broken something in my app which ill need to correct first :man_facepalming: !!!

Adam,

That’s definitely something we can work with. I’ve got it working for our purposes now :+1:

Thanks

Haydn

2 Likes

Pleased we could help.

1 Like