RE: Post a Suilet from button click
Hello everyone,
I have a button on the item record. When clicked, it should open a suitelet in a new window. I have to pass a JSON object as a parameter to the suitelet. So, when using GET, it fails as the URL exceeds the limit. Can anyone tell me how to call a Suitelet using POST and send the parameters (JSON object) from a button click in the client script.
Thanks.
I haven’t implemented this in NetSuite but it should be something along the lines as described/answered in this stackexchange post.
Thanks for the reply. But I am looking for suitelet side of things. As far I looked anywhere, suitelet is called using Get and on submit, it will be POST.
Sorry I don’t understand. Why passing suitelet’s url in form’s action attribute not work? Because as far as Suitelet is concerned, you are making a POST request.