RE: SS2.0 Suitelet Sublist Postdata

I’m just getting to grips with switching from SS1.0 to 2.0 and working on a suitelet.

I’m creating a custom sublist (ID = recmach_sublist), which I’m filling with data from a search. I’m then trying to catch and manipulate this data in the POST phase.

I can see in the browser console that the sublist data is being passed over as a single parameter recmach_sublistdata, but can’t figure the correct way to access this. I could simply grab the context parameter value and manipulate this using plain javascript methods, but there seem to be issues with encoding (probably because my systems’s ISO and the data UTF8).

Is there a correct API method for accessing the sublist data?


dominicb Beginner Asked on September 25, 2019 in SuiteScript.
Add Comment
2 Answers

Thanks battk. Thought there must be a proper way, but it’s difficult to know where to start looking in the API documentation when you’re still getting to grips with the switch to 2.0!

Beginner Answered on September 25, 2019.
Add Comment

Your Answer

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