Does anyone know if there’s something like `url.re...
# suitescript
j
Does anyone know if there’s something like
url.resolveRecord()
to get the URL of a Saved Search results?
e
I dont think it exists natively, but if you have the ID, it's basic structure is this: https://{COMPANYID}.app.netsuite.com/app/common/search/searchresults.nl?searchid={SCRIPTID}&whence=
j
Yeah, was just hoping to avoid hardcoding it since NetSuite seems to like to change their URL format often
e
Yeah, I figured as much. We both know this is more of a quick fix vs a long term solution
c
Depending on your use case, you might be able to use
redirect.toSavedSearcResult()
https://netsuite.custhelp.com/app/answers/detail/a_id/44835
👀 1
j
ooh