Skip to the content

News

Control Add-ins Supercharged: Development and production build tasks

I’ve been absent for a while – sometimes it’s difficult to find time for blogging even when I want it. Anyway… here’s the last post in the introductory series of posts that explain my NAV…

The post appeared first on .

Report back from Directions EMEA 2019: Technical

The first-day keynote was packed with stats and exciting announcements from Microsoft. As for the Microsoft general manager Toby Bowers, 1400+ partners selling Business Central worldwide. 4000+ customers...()

How Do I: Power BI Pages versus Queries

I recently came across a question in the Business Central forum: How do I get information about Posted Sales Shipments in Power BI? And this is not a standalone question, I get these questions a lot in my training’s that I deliver all over the world...

How To, Part I | Breaking a Monolyth

I often wonder how I find myself in situations like this. On my day off I find myself behind my desk doing something which is not my responsibility, nor am I getting paid to do it. If you say A, you also have to be willing to say B and C. This is what my […]

Report back from Directions EMEA 2019

Starting from the second week of July to today, I had a completely packed schedule. It is a simple explanation about me blogging about the Directions EMEA after two months. August month started with 4...()

Control Add-ins Supercharged: Babel

After a short absence, I am back. The next lesson in the Control Add-ins Supercharged series I am introducing Babel. “Babel is a JavaScript compiler”, says babeljs.io. So, what’s the big deal, you may ask?…

The post appeared first on .

Breaking up BaseApp | Business Central

Social media is fantastic and it can be used in many different ways. Where most people are mostly consumers others use it to ask questions. Some share knowledge and experience and gain loyal followers. This is pure awesomeness and mostly rewarded with the Microsoft MVP award for those who don’t give up. Drive Change Very […]

What do I do wrong when C/SIDE debugger does not show my extension code although showMyCode is set to true?

While developing your own extension on NAV 2018 or "BC under version 15" you have the availability over 2 debuggers: the VSCode debugger and the C/SIDE (or should we call it Windows) debugger. Both serve a somewhat different scenario:

VSCode debugger

You want to run step-by-step through the code of your extension - being AL code - and from there might step into the code that resides in the NAV/BC installation you are programming against. Most probably the C/AL code of the standard application.

C/SIDE debugger

You want to debug a process starting from either the web or window client, most likely because of an error occurring. Chances are big you will hit C/AL code, but also AL code of your extension when you have showMyCode set to true. No way to get this effectively done with the VSCode debugger.

But last week it did not work the way I expected it to do. One of my students of the Opgona was expanding his extension on BC 14 with an XML import, using an XMLport. As the BC 14 web client unfortunately does not support the XMLport request page (but does on BC 15), I suggested to use the windows client to easily operate his solution. Running into an issue he wanted to debug and thus could only use the C/SIDE debugger. But whatever he did, the C/SIDE debugger did not show his code. And yes, showMyCode was set to true in the app.json of his extension.

So I posted a tweet asking what was done wrong:

A lot of people stepped in and eventually my former, and ever very helpful, MS colleague Duilio Tacconi came to the rescue:

By adding a hidden setting to your customsettings.config C/SIDE debugger should show AL code:


And yes, it makes the AL code visible in the C/SIDE debugger.

But the question is why we do need this? Or more precise: since when do we need this? I was quite sure it was working without fine. On NAV 2018, on BC 13 and also on BC 14. Just checked on a docker installation of BC 14.1 and indeed working as I expected, and wanted.

Allain Krikilion apparently had noticed the chance prevously this year:

Did not make a full check but 14.7 clearly has this issue.

How do I: Add filters in a Report in VSCode with AL?

Recently someone asked me, what’s wrong with me report, it’s not showing me the correct data? After investigating I noticed that the report used filters, applied in several different ways and that the expected data was not showing up in the dataset...

Quick Tip: Where do I find the Released Cumulative Updates for Business Central?

Released Cumulative Updates for Microsoft Dynamics 365 Business Central on-premises: https://support.microsoft.com/en-us/help/4470116/released-cumulative-updates-for-microsoft-dynamics-365-business Released Updates for Microsoft Dynamics 365...