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?
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.
battk
In theory your approach sounds fine. Share the relevant code to see if you are missing somethinig.