RE: Pass Data from popup Suitelet to Parent Suitelet in a 2.0 SuiteScript

Can someone tell me how can I pass the Data from a popup suitelet opened using window.open() to the parent Window using SS2.0.

  • popup opened using window.open(URL);
  • trying to pass data to Parent Suitelet using window.opener.FunctionInParentWindow
  • Error: Function is undefined

Is there a standard code/practice to open and pass data from a popup suitelet to Parent Suitelet?

YogeshJagdale Rookie Asked on January 31, 2020 in SuiteScript.

In theory your approach sounds fine. Share the relevant code to see if you are missing somethinig.

on January 31, 2020.
Add Comment
2 Answers

See SuiteAnswer 88583.

 

window.opener.require([‘/SuiteScripts/Test/ps_test_client’], function(myModule) {
 
myModule.setTestField(field1);
 
})
Rookie Answered on September 13, 2020.
Add Comment

Your Answer

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