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...
Suggested Answer

Customized page code cannot be seen in visual studio code - nav 365

(0) ShareShare
ReportReport
Posted on by 200

This is about 365 nav visual studio code. If i try to click the Go to definition in a customized page in visual studio code, it comes up with error " No definition found for page". Then i checked the extension management to download the source code but the download source code is  disabled to click. However the extension is published. I think i have problem in the package. Can anyone suggest me how to overcome this? Thanks in advance!

I have the same question (0)
  • Suggested answer
    Microsoft Dynamics 365 Business Central Profile Picture
    on at

    Hi

    You can always use Go to Definition on Dynamics 365 Business Central code. However, if you want to use it on other extensions, the extension package which is now referenced, when originally published, must have the showMyCode property set to true

    also, I recommend having a look on below link it will help you:

    docs.microsoft.com/.../devenv-al-code-navigation

  • anandb313@gmail.com Profile Picture
    200 on at

    Thanks for the response..Go to definition is not working..Where will be showmycode property? to modify?

  • Suggested answer
    Microsoft Dynamics 365 Business Central Profile Picture
    on at

    Hi

    thaks alot for your feedback,

    you can review below example added on this link

    docs.microsoft.com/.../devenv-al-code-navigation

    also for  more information about code navigation in Visual Studio Code, see the below link

    code.visualstudio.com/.../editingevolved

    Transitive references can only be resolved if the symbol app that defines the reference is a dependency on the project that contains the entry point for the Go to Definition symbol. For example, assume that you are in HelloWorld.al and want to Go to Definition on the Car table defined in the Car.app which is a dependency on your app. Then navigation will open the CarTable.dal preview file. And assume that from here you want to Go to Definition on CarDistributor table defined in the CarDistributor.app which is a dependency on Car.app, but not a dependency on the HelloWorld.app. In this case the source code Go to Definition will not work.

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,577

#2
YUN ZHU Profile Picture

YUN ZHU 888 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 778 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans