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

  • Verified answer
    borjaRuiz Profile Picture
    35 on at
    RE: Accessing Code coverage page on Business central 17 On premises version

    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.

  • faran1 Profile Picture
    115 on at
    RE: Accessing Code coverage page on Business central 17 On premises version

    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.  

  • borjaRuiz Profile Picture
    35 on at
    RE: Accessing Code coverage page on Business central 17 On premises version

    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?

  • Suggested answer
    jerome77 Profile Picture
    on at
    RE: Accessing Code coverage page on Business central 17 On premises version

    Hi

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

    Kind regards

    Jerome

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

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

#1
YUN ZHU Profile Picture

YUN ZHU 628 Super User 2025 Season 1

#2
Mansi Soni Profile Picture

Mansi Soni 495

#3
Sagar Dangar, MCP Profile Picture

Sagar Dangar, MCP 395

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans