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

Is the function in parent window is SS2.0 or 1?
If it’s 2, it’s no accessible straight from window.opener since it’s inside a module.

You need to either write the function in SS1.0, or try to access it through the mod.

Rookie Answered on February 23, 2020.
Add Comment

Your Answer

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