Does anyone know if there's a way to link to a sav...
# general
r
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
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
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
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
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
ohhh
that would work, sure
you'd just have to translate your custom suitelet params into your search api filters that you pass in