Business Chart in Visual Studio Code

There are lots of How-to guides for creating Business Chart in C/SIDE, but I am not able to find any guideline for creating Business Chart in Visual Studio Code for Business Central.

“Bits and pieces” can be found but no full “walk through”.

Anyone having such a guide or seen it ?

Have you tried to take one of the existing ones and convert it from C/SIDE to AL?

Generally you should expect that the suggestions would go in directions of Power BI - Due to that we are going the switch from the Classic Windows Client to a browser client.

We started with converting from C/SIDE and that ended up with the following:

//The property ControlAddIn is not yet supported. Please convert manually.
//ControlAddIn = ‘Microsoft.Dynamics.Nav.Client.BusinessChart;PublicKeyToken=31bf3856ad364e35’;

I have seen however some code-bits indicating that there are new codeing-possibilities now.

The original conversion was made from NAV2018, I will try to make a new conversion based on the txt2AL in BC.

Problem solved :slight_smile:

Conversion through BC-txt2AL gave me the new “field”:


In first try the page opened, but blank.

Solved by the following code on this usercontrol:

trigger AddInReady()

Good work [emoticon:c4563cd7d5574777a71c318021cbbcc8]