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 :
Microsoft Dynamics NAV (Archived)

Extension using visual studios in NAV

(0) ShareShare
ReportReport
Posted on by 4,188

Hi All

I've created a small extension by adding a field to the Item Table for which I've created the table extension and page extension. 

Can someone tell me the further steps to compile and run the extension.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    Check this tutorial

    msdn.microsoft.com/.../newdev-dev-overview

  • CDsilva Profile Picture
    4,188 on at

    I've checked the tutorial, according to it Ctl+shift+B builds the file and creates app.json and F5 cretes the launch.json file.

    I've  followed these commands , I get a message Package is creates and suces on the package is published but I don't seem to find these files app.json and launch.json in my folder.

    Can you help me with this also the .navx file cannot be found

  • Suggested answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    If package is built and published it must have created those files, have you checked the folder using explorer instead of VS ? if not try search for the files and see if you can find them.

  • Suggested answer
    Mohana Yadav Profile Picture
    60,999 Super User 2025 Season 2 on at

    Follow the series of blog posts to know more details

    mohana-dynamicsnav.blogspot.in/.../developing-extensions-using-new-visual_17.html

  • CDsilva Profile Picture
    4,188 on at

    I'm getting an error AL10166 :No source file specified

    Error: Package cannot be created.

    I'm attaching my code

    3173.error2.JPG3173.error2.JPG

  • Suggested answer
    Mohana Yadav Profile Picture
    60,999 Super User 2025 Season 2 on at

    can you show app.json file?

  • CDsilva Profile Picture
    4,188 on at

    I'm attaching the app.json file

    error3.JPG

  • Verified answer
    Mohana Yadav Profile Picture
    60,999 Super User 2025 Season 2 on at

    packagecachepath is

    The path to the folder where referenced symbol package files are located. The path could either be absolute or relative to the current extension working directory, for example: "../../resources"

    if you are using preview server then check folder

    C:\DEMO\New Developer Experience\Resources for files

  • CDsilva Profile Picture
    4,188 on at

    Ok. How do we define Option string in visual studios for a field.

  • Verified answer
    Mohana Yadav Profile Picture
    60,999 Super User 2025 Season 2 on at

    if your original problem is solved the close the post and create new post.

    field(39;Blocked;Option)

       {

         CaptionML=ENU='Blocked';

         OptionCaptionML=ENU='" ",Ship,Invoice,All';

         OptionString=" ",Ship,Invoice,All;

       }

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 > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans