Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Catch a Suitelet Browser Reload
I have suitelet that has been running for about 2 years now for our sales reps. I setup a link on a custom tab for them the pull down and select the deployed suitelet.
I am finding they are refreshing their browser (for whatever reason) before the page loads which reloads the suitelet. The problem is my suitelet is 'counting' so each time they refresh it increments a stored counter.
Is there anyway I can put code in the Suitelet to catch a reload? Just like in Netsuite if you leave a record that had been edited but not saved it always asks "Are you sure you want to leave this page".
0