Netsuite suitelet embeded in iframe – dropdown won’t allow selection

I hope you are doing well. I have developed main suitelet script to embed another suitelet in a iframe. child suitelet contains date and dropdown field. when I execute main suitelet, I can see chi;d suitelet in a iframe, I am able to add date in child suitelet, but not able to select dropdown value. please advice. Thank you!

var iFrameHtml = “<iframe src='” + suiteleturl+ “‘ id=’iframeid’ style=’width:1200px; justify-content: center; height:100vh; border:none;’></iframe>”;

 

Beginner Asked on July 11, 2025 in SuiteScript.
Add Comment
4 Answer(s)

That iframe issue usually comes from missing `allow-scripts` or `allow-same-origin` permissions on the iframe tag. Check your CSP headers or Suitelet response settings—adding those usually fixes click/select issues.

Rookie Answered on July 21, 2025.
Add Comment

Hi! Dropdowns not working in a Suitelet embedded in an iframe often come down to NetSuite’s client-side scripts struggling in the iframe context. A solid workaround is using a standard HTML select element in your child Suitelet, paired with a JavaScript onchange event to replicate NetSuite’s dropdown functionality. Populate options dynamically with a search for flexibility. At RILE CPQ, we’ve smoothed out similar NetSuite configuration challenges to keep workflows seamless. Wishing you a quick fix! x

Rookie Answered on July 18, 2025.

Thanks for the reply Christian. But my child suitelet is not static. it will be dynamic and will be selected from main suitelet dropdown. Any other way around?

on July 21, 2025.
Add Comment

IF this question is open I can help withthis please let me know

Rookie Answered on July 19, 2025.
Add Comment

I have code for this if you like to review.

Rookie Answered on July 19, 2025.

Hi @myronachavez, I would like to know the solution. FYI, the child suitelet which will be shown in iframe will be dynamic that is, will be selected from main suitelet dropdown.

on July 21, 2025.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   SuiteMigration   Become a Sponsor