Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
Open Popup from link (not from button)
Hello,
it is possible to open a popup from a button like this:
form.addButton("custpage_name", "label", [url and parameters]);
However, how can I open a popup from a link? My code looks like this:
var suiteletUrl = nlapiResolveURL('SUITELET', 'customscript_av_deployment_popup', 'customdeploy_av_deployment_popup', false);
var popupParams = "width=750, height=400";
var setWindow = "window.open('" + suiteletUrl + "','NAME','" + popupParams + "')";
form.addField("custpage_popup", "url", "", null, "customscript_av_deployment_popup").setDisplayType("inline").setLinkT ext( "click me").setDefaultValue(setWindow);
I get this error:
-You have entered an Invalid Field Value window.open('/app/site/hosting/scriptlet.nl?script=184&deploy=1','NAME','width=75 0, height=400') for the following field: custpage_popup