This topic contains 4 replies, has 0 voices, and was last updated by david.smith 7 years, 9 months ago.

  • Author
    Posts
  • #1797

    darrenhillconsulting

    I’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.

  • #1798

    Infinet Cloud Solutions

    Hi 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.

  • #1799

    chanarbon

    Hi 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

  • #1800

    darrenhillconsulting

    Chanarbon/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.

    https://jqueryui.com/dialog/

    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.

  • #1801

    david.smith

    Adding 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.

You must be logged in to reply to this topic.