This topic contains 4 replies, has 0 voices, and was last updated by david.smith 7 years, 9 months ago.
-
AuthorPosts
-
September 19, 2016 at 3:59 pm #1797
darrenhillconsultingI’m going out on a limb here … anyone ever load up a Suitelet into a popup using SS 2.0? I’m playing with dialog.confirm, but I want to add some inputs like a select and textbox. Please don’t tell me I have to hack and bunch of stuff, like the good ol’ SS 1.0 days.
What’s the point of the dialog module, other then showing a message?
NOTE: I wish the dialog.create had the ability to point to a Suitelet. Now that would be something!
This is a cached copy. Click here to see the original post. -
September 19, 2016 at 5:05 pm #1798
Infinet Cloud SolutionsHi Darren, you will need to take a workaround approach sadly I agree more flexibility for the the UI components is a must whether it be the ability to open a suitelet, or the ability to specify a form by configuration object. As with all these types of limitations raising use cases and enhancement requests and linking them on your threads is probably the best way to highlight the need hopefully for the relevant NetSuite PM’s to see.
-
September 19, 2016 at 11:43 pm #1799
chanarbonHi Darren,
As of the moment, unfortunately, the dialog module does not have the lightbox capabilities. Most of the functionalities of this module focuses on simple dialogs which is more like UI improvement of native JavaScript alerts and confirm. For this, I second the motion of rather using 1.0
-
September 20, 2016 at 7:36 am #1800
darrenhillconsultingChanarbon/Infinet Cloud,
That’s so much for the feedback.
david.smith replied on 09/20/2016, 10:20 AM: NetSuite uses jQuery UI 1.11.4. You don’t need lightbox. Just look up the dialog here for what you need.
Putting an html suitelet inside the dialog should be easy to do. Just use the jQuery.load() into an html tag and call the dialog to pop it up.
-
February 17, 2017 at 10:20 am #1801
david.smithAdding the following information in case someone is looking for information on jQueryUI.
jQuery UI Library No Longer Loaded on NetSuite Pages
Programmatic access to the NetSuite UI has always required the use of SuiteScript APIs. SuiteScript
has never supported direct access to the NetSuite UI through the Document Object Model (DOM).
Prior to 2017.1, the jQuery UI library was loaded on each NetSuite page. It is possible that your
implementations relied on this library, although this usage was never supported.
As of 2017.1, the jQuery UI library is no longer loaded on each NetSuite page. Notice of this change is
provided as a courtesy, so you can check your implementations and make changes as needed. If you
want to use jQuery UI with a Suitelet, you must import your own version of this library.
-
AuthorPosts
You must be logged in to reply to this topic.