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.
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!
Unleash the Power of AI with NetSuite's Intelligent Recommendations

Don't miss out on the opportunity to boost sales and customer satisfaction. Elevate your business with NetSuite's Intelligent Recommendations.

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 4 (Oct-Dec 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders