With the use of a Popdock widget you can integrate a Popdock list or multiple lists directly into your Salesforce user interface either as a tab at the top or as a button that opens up a new window. The following shows how to create a Visualforce page widget in Popdock and create a new custom tab on a Salesforce page which uses the embedded Popdock widget.
Important Tip
A Popdock widget will need to be created prior to following these steps. Click here to learn how to create a Popdock widget.
1. From inside the Edit widget page of the widget you would like to display inside Salesforce, click Parameters under the left Settings menu.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646cc40f75f747e52aa17d76_Parameters.png)
2. Under the Environment section, you will select your Salesforce Connector from the Connector drop down menu, and the Salesforce page you would like to embed on from the Environment drop down menu. In this example, we will be creating our widget on the Case page of our Salesforce environment.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646ba166b3dc53343fb0cace_Screenshot-2023-05-22-120600.png)
3. Next, click on the +Add environment parameter. An environment parameter allows you to select values from the environment to pass through to the widget to restrict the data displayed. From the drop down menus, select the parameter and field you are looking to restrict the data off of within your widget.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/6459534901db8b5ad412b60f_parameter.png)
4. Once you have selected the environment you would like to publish to and have set up your environment parameter, your Visualforce page widget is ready to be created. You can hit the Create Visualforce page button from within the Actions menu.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646ba223e0a4d6dbf1c2d1ce_tempsnip.png)
5. Once your Visualforce page widget has been created, you will navigate back to your Salesforce environment to create a new custom tab for your widget. From within your Salesforce environment, locate the environment/page that you selected when configuring your Popdock widget and select the Setup (gear icon) in the upper right corner of that page.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646ba508e0a4d6dbf1c7602b_Salesforce.png)
6. From the Setup dropdown menu, select Edit Page.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646ba5e301990c3faa735e39_EDIT-PAGE.png)
7. In the Components menu on the left side of the page, scroll down and select Visualforce.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646bb0a858ba7396f54118b6_Visualforce.png)
8. Click OK on the pop up warning message shown below.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646bb26ba7ddfa24c8b8ecbd_snip1.png)
9. You will now select the component of the page that you want to add your Visualforce page to. In this example, we clicked in the space to the right of the Feed and Related tabs. By doing so the Page > Tabs menu populates on the right side of the page. In this tab menu, we will select the Add Tab button.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646bb3e6a6cd167a241c6787_addingtabs.png)
10. A new Details tab appears following the current tabs. My clicking on the Details tab, the Tab Label menu will pop out to the left. Scroll to the top of the menu and select Custom.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646bb5f0361ee0ba83d15622_custom3.png)
11. Give your Custom Label a name using the available field, then click Done. You will notice a new tab appears on the page with your Custom Label.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646bb67e97003e0dc8d24a99_custom-label.png)
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646bb70f9c9fd6fd773b3c01_zendesk1.png)
12. From within your the new custom tab, click Add Component(s) Here. Then click Visualforce from the Components menu on the left side of the page.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646bd5c202ddd4b09b332c2c_zendesk2.png)
13. From the Page > Visualforce menu that appears on the far right side of the page, select the name of your Popdock Visualforce Widget from the Visualforce Page Name drop down menu. You can use the Height (in pixels) field to adjust the size of the widget on the page. Once you have selected your Visualforce Page widget and selected the height, click the Save button in the top right corner of the page.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646bd8a63c58123470eafe83_widget3.png)
14. You will receive the following prompt noting your Visualforce page saved. Next click on the Activate button to make this Visualforce page visible to users.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646bdc81b2348de37b450ae5_Activate.png)
15. From the Activation Page, you have the option to select whether your Visualforce widget is assigned as an Org Default, App Default, or App, Record Type, and Profile. In this example, we will select Org Default to display the Visualforce Widget on all Case records. To do so, click Assign as Org Default.
Note: Click HERE to learn more about page assignments in Salesforce.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646bde969cd1e1fdedf0b903_AssignOrgDefault.png)
16. Select which form factors you want your Org Default Page to be available for and then click Next.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646bdf355d8fecae8dfb17b4_next.png)
17. Review your selections and once confirmed click Save.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646bdfebb75cb771c93ea21e_tempsnip5.png)
18. You can now click the Back Arrow in the upper left corner of the page to exit the Lightning App Builder.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646be0d76244083e6c04803a_backbutton.png)
19. Click on your new Custom tab to view your newly embedded Visualforce Page Widget.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/646be18d72a94036c83527cc_SFwidget.png)
Adding a Popdock tab:
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/6307d9d470b3613b9b758e17_popdock_tab.jpg)
1. Click the setup icon at the top right next to your profile icon, then select “Setup”.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/6307d9d470b3613f6b758e18_setup-1-step.jpg)
2. In the left navigation, click on Custom Code so you can choose the Visualforce Pages option.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/6307d9d470b3615912758e19_left_nav.jpg)
3. Click on New, to create a new Visualforce Page.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/6307d9d470b361819b758e1a_new_visualforce_page.jpg)
4. Give your new Visualforce Page a Label, then give it a Name, this field cannot contain spaces. If you want you can also add a Description. In the tab labeled Visualforce Markup, this contains the code that makes up the Visualforce Page. You will need to delete the default code and paste the code created by the Code generator for a Visualforce page from the widget embed codes:
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/6307d9d470b3617426758e1b_visualforce_page.jpg)
5. Click the “Save” button and you should see you new Visualforce Page listed.
6. Next using the left navigation, click on “User Interface”. Then click on “Tabs”.
7. Here you will want to create a new Visualforce Tab so under the Visualforce Tabs, click on the “New” button.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/6307d9d470b361d3e5758e1c_custom_tabs.jpg)
8. Choose your Visualforce Page from the drop down menu, then give your tab a Label, Name, and choose a Tab Style. The rest of the fields are optional. Once you have completed the fields, click the “Next” button.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/6307d9d470b36101b8758e1d_new_visualforce_tab.jpg)
9. The next page in the tab setup is if you want to add to only specific profiles. In this case I have left the default settings and clicked the “Next” button.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/6307d9d470b3618859758e1e_new_visualforce_tab2.jpg)
10. In this step you can choose the custom apps that you want the new tab to be available on. I have again left the default and clicked the “Save” button.
![](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/6307d9d470b3614484758e1f_new_visualforce_tab3.jpg)
Now you will see the new tab added to your Visualforce Tabs and you can go to your Salesforce main page to see the new tab has been added.
Questions on embedding a Popdock Widget in Salesforce? Contact support@eonesolutions.com.