Good morning,
I have a portlet script to show some links in a dashboard.
Some links point to some saved searches.
To get the correct link, until now the only way I found is:
var sURL = nlapiResolveURL('TASKLINK', 'LIST_SEARCHRESULTS') + '?searchid=209';As you can see, the internal id of the search is hardcoded in my script, so if I install it on another environment I will have to change my script code.I tried a way to get this internal ID through the user editable 'customsearchXX' ID (scriptid), so that bundle installation will keep the same and I won't have to change my script code.But I couldn't find any way, so I wonder what's the meaning of the saved searches ID (scriptid) field...Any suggestion?Thank you very much,Alessio