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?
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!

How to achieve the use case in Portlet/Suitelet?

edited Mar 8, 2023 3:06PM in Ask A Guru 2 comments

Hi all,

I'm looking for advice on the best way to achieve this use case:

* There is a field on a Job record that may contain some value

* A Portlet reads this value and conditionally displays some content

* If the value is null, I want to present a text input box right there inside the Portlet so the user can enter a value and save it in-situ

* Once the data has been saved, automatically refresh the Portlet so it displays new content

I can do pretty much everything above apart from the automatic portlet refresh. My Portlet embeds a Suitelet in a hidden iframe. The Suitelet receives the changed data and saves to the Job record. But, being a Suitelet, it does not have access to the N/portlet module, so cannot call refresh() directly.

Steve from Smyle

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 3 (Jul-Sep 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders