Discussions

Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?

How to close a suitelet on submit

Hi

I have a suitelet form which opens in a new window. The order of events to open this is:

A user clicks a button a form (the button is created with a userevent script)

--> The userevent script triggers a client script which has a window.open method to open the suitelet

--> the suitelet is open in a pop up window.


I have added a submit button on the suitelet form using form.addSubmitButton.

In the Post response part of the suitelet, I am trying to use window.close(). However, I am getting "a 'window' is not defined" error.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 2 (Apr-Jun 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders