I've got 2 accounts both on 24.1 NetSuite. I have ...
# suitescript
c
I've got 2 accounts both on 24.1 NetSuite. I have a suitelet that does a window.location = new URL upon a button click where it reads some data off the UI and adds as URL params. In 1 account, I am getting the parameters I am setting. In another account with the exact same code, the parameters are not being read. Did something change recently around this? I am going to submit a support case but just doing a sanity check.
e
The parameters are in the script AND in the script record?
Oh but they are URL params, it depends how are you passing/reading those
c
it's URL params. I have a button that upon click, will use url.resolveScript(...) using the params parameter to specify a key/value pair object of my parameters to use in the URL. Then I do a window.location = URL which will basically refresh the page with the parameters. The issue is that in 1 account, I am getting these parameters in the onRequest. In the other account, the parameters do not show up at all in the onRequest. Same code, same netsuite version.
I got it resolved had a bad deployment/script ID ... dumb mistake on my end
1
surprised pikachu 1