With a suitelet, can you pass params that are pres...
# suitescript
d
With a suitelet, can you pass params that are present during GET to POST without just storing them in a hidden
custpage_
field on the form?
looking at the response object, I don't see how you would pass on parameters. Pretty certain you're not supposed to add custom headers
s
Conceptually the GET should take those parameters, and it should respond with the page you want. That page only remembers those parameters if you tell it to (storing in a custom field is a good way for it to remember). The post isn't really related to the GET at all, so putting them in a field on the page seems a good way to remember them. Assuming these parameters are in the URL, you could try reading from them in some client script on save, but that really isn't any better than just remembering/storing them on the page in the first place
d
That all makes sense, I'll just add them as a hidden field on the form I create on GET requests
Actually just switching over from Suitelet to RESTlet so I can return data to the client script that made the request fingers crossed
Thank you 🙂