web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Accessing Code coverage page on Business central 17 On premises version

(0) ShareShare
ReportReport
Posted on by 115

Hi Community,

I was opening code coverage page on BC 17, but I got following error 'You can only run code coverage in a sandbox environment'. Previously on BC 16 and 15, I was able to open this page. Can anyone share some knowledge why its showing this error ?

Code-coverage-error.PNG

I have the same question (0)
  • Suggested answer
    jerome77 Profile Picture
    on at

    Hi

    I believe this is a bug that will be corrected with 17.1

    Kind regards

    Jerome

  • borjaRuiz Profile Picture
    35 on at

    Code coverage page seems not to be working correctly. I am not able to analyze the elements of my extension, I cant only see the business central standard elements.

    Anybody knows something about that?

  • faran1 Profile Picture
    115 on at

    Yes, recently one of my colleague was experiencing the very same issue, we did not find out why its happening, after a lot of tries we just created a new AL project for our extension and copy/paste the objects and it started to show in code coverage page, thanks.  

  • Verified answer
    borjaRuiz Profile Picture
    35 on at

    Thank you so much Faran.

    Investigating a little bit further with your answer we´ve reached to the origin of the issue.

    It is the following parameter in the App.json of our extensin:

    "showMyCode": false,

    setting the parameter to true we can now see our elements in the code coverage page.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,917

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,161 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,025 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans