With the use of a Popdock widget you can embed a Popdock list or multiple lists directly into your NetSuite user interface either as a tab at the top menu or as custom content on your dashboard or page. This article will show how to do both.
For Dashboard type widgets we recommend using one of these widget types.
- Single List
- Multiple Lists
- Widget Group
Table of Contents
Generate Embed Codes for NetSuite
- Open the widgets list in Popdock Developer.
- Click the edit icon on the widget you are going to use.
- Click on Embed codes from the left navigation.
- Expand the Code generator section.
- Select Netsuite portlet for the type so that the code will generate.
- Copy the text in the code field so that you can paste it in a text editor.
- Save the file as a .js file type.

Create a Popdock Portlet
- Log into NetSuite.
- Navigate to Customization > Customization Manager.
- Navigate to Scripting > Scripts.
- Click New Script.
- Click the + button.
- Make sure Attach From is set to Computer.
- Select the Folder to save the script to.
- Click the Browse button to browse your computer for the .js file you have saved.
- Then click Save.
- Click the Create Script Record button.
- Select Portlet from the list of options.
- Enter a NAME
- Set the Portlet Type to Inline HTML
- Set the FUNCTION to the value from the widget embed code
- For example, this one will be popdock_Widget_Example.
- Click Save.
- Click the Deploy Script button.
- Update the Status to Released
- Select the Audience for the portlet.
- Click the Save button and your custom portlet is ready to use.

Adding a Popdock tab

- Navigate to Customization > Customization Manager.
- Click Centers and Tabs > Center Tabs.
- Click New.
- Provide a LABEL.
- Select the CENTER where the tab will be added.
- -All- : Will display the tab in all centers.
- Set the TYPE to Custom Portlet.
- Set the COLUMN to Center.
- Set the SHOW to Yes.
- Click Add.
- Modify the Audience as required
- Click Save.
- Now return to your home and you should see the new Popdock center tab on your menu.
- Click on the Popdock tab.
- Because we have not assigned a portlet to the tab, it shows a setup page.
- Click on the 3 stacked dots on the right side.
- Select Set Up.
- Select your Popdock Portlet from the Source dropdown
- Click Save.
- This will then assign the Popdock Portlet to the Center Tab and when you launch the tab now, it will show the Popdock widget that you have created as a Portlet.
- Here is an example of showing Dynamics GP data inside of NetSuite.

Adding Popdock to a Dashboard
You can add Popdock anywhere a portlet can be added. Here is an example of adding Popdock on a NetSuite dashboard.

- Open the dashboard you would like to customize.
- Click the Personalize link at the top right.
- Click the Custom Portlet button.
- This adds the custom content section in the dashboard.
- Click on the 3 stacked dots on the right side.
- Select Set Up.
- Set the SOURCE to your portlet you created earlier.
- Click Save.
- Now your portlet is added to your dashboard.