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>”;
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.
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
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?
IF this question is open I can help withthis please let me know
I have code for this if you like to review.
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.



