Serialize a Suitelet Form

Hello everyone,


Can anyone help me with serializing the form data (as a key value pair) on submitting the form (which is a Suitelet). The submit method is POST.



Rookie Asked on September 19, 2019 in SuiteScript.
Add Comment
1 Answer(s)
Best answer

on the POST it should already be a serialized object with context.request.parameters.
You may need to filter only to keys including the ‘custpage_’ prefix if that is your naming convention.

See example in HelpCenter: /app/help/

Intermediate Answered on September 19, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Become a Sponsor   Become a Sponsor