I was able to get the client script working to ope...
# suitescript
k
I was able to get the client script working to open google.com but thats as far as I got
d
Does the url resolve properly? Because
url.resolveScript()
is not supported in client scripts according to the documentation
k
@Diderik thank u I did not know that. When I returned the value i got not nothing that is probably why its not working
n
There's a note on the url.resolveScript() that says
Copy code
Calling a Suitelet using its internal URL is only supported in client scripts because the browser automatically adds the cookie header to the request.