Knowledge base

How to Embed Widgets in your Business Central FastTab

With the use of a Popdock widget you can integrate a Popdock list or multiple lists directly onto your Business Central FastTab. Below is an example of how to use AL code and Control Add-Ins to embed Popdock on the Customer Card.

Important Tip

A Popdock widget will need to be created prior to following these steps because you will need the widget URL.  Click Here to learn how to create a Popdock widget.

Final code of this example can be downloaded here.

Creating the Control Add-in:

1.  Create the JavaScript file that will be displaying the Popdock Widget as an Iframe. You can modify the URL in my below example to point at your widget URL. This is the only mandatory change to display your Popdock data in Business Central.

2.  Create a Control Add-in object to call the custom JavaScript. You will need to modify the location of the Startup Script to point to your JavaScript file.

3.  Create a Page Extension to call the Control Add-in. You will need to modify the user control to point to whatever you named your Control Add-in.

*Modify the Url variable to use your widget URL, and change the parameters as necessary.

*Make sure your page trigger calls the GuiAllowed function prior to populating the Control Add-in. Without this check the Card will not work through web services.


Now you will see your Popdock widget on a new FastTab on the Business Central Customer Card!

TOP-RATED

Experience Popdock.

Request 1:1 Demo

We're committed to your privacy. eOne Solutions, the creator of Popdock, uses the information you provide to us to contact you about our relevant content, products, and services. You may unsubscribe from these communications at any time. For more information, check out our Privacy Policy.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Recorded Demo

We're committed to your privacy. eOne Solutions, the creator of Popdock, uses the information you provide to us to contact you about our relevant content, products, and services. You may unsubscribe from these communications at any time. For more information, check out our Privacy Policy.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.