Does anyone know if there's a way to link to a saved search through a URL and pass filter criteria to the saved search as URL parameters? The search is on a custom record type. My instinct is to develop a Suitelet to apply the filters and display the results, just wondering if this can be handled natively. Thanks!
a
al3xicon
02/05/2020, 6:32 PM
yes there is - if you set the filter params on the search itself you will see them in the URL and can mimic it from there
al3xicon
02/05/2020, 6:33 PM
i forget the exact formatting that's used and i don't believe there's a way to natively generate that urlstring using suitescript, but i could be wrong
al3xicon
02/05/2020, 6:33 PM
also not sure about your use case...if you want to gather search results and display them in a suitelet, you wouldn't use a url at all - you'd simply use the search apis
r
rmhollands
02/05/2020, 6:46 PM
Thanks! I guess I meant that the URL would point to the Suitelet which would use the URL parameters as filter objects in the search API. But I'll try the first thing you suggested first.
a
al3xicon
02/05/2020, 6:46 PM
ohhh
al3xicon
02/05/2020, 6:46 PM
that would work, sure
al3xicon
02/05/2020, 6:46 PM
you'd just have to translate your custom suitelet params into your search api filters that you pass in