RE: 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.

 

Thanks.

rams Rookie Asked on September 19, 2019 in SuiteScript.
Add Comment
1 Answers
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/helpcenter.nl?fid=section_4387799600.html

Intermediate Answered on September 19, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.