Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Business Central - VS Code Download all symbols-extensions invisible

(1) ShareShare
ReportReport
Posted on by
Hello
When I'm downloading all symbols in vs code I don't see other extensions than Microsoft Application, Base App, Microsoft System Application, and Microsoft Application. I don't see objects from any extensions even extensions that I published myself which works in BC.
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 75,848 Super User 2024 Season 2 on at
    Business Central - VS Code Download all symbols-extensions invisible
    Hi, just adding two examples, hope it can give you some help.
     
     
    Thanks.
    ZHU
  • Suggested answer
    TeddyH Profile Picture
    TeddyH 12,864 Super User 2024 Season 1 on at
    Business Central - VS Code Download all symbols-extensions invisible
    To be able to download other extensions, you need to include them in your app.json as part of the dependencies.
    Example below:
     
    {
      "id": "",
      "name": "Test",
      "publisher": "That NAV Guy",
      "version": "1.0.0.0",
      "brief": "Test",
      "description": "Test",
      "privacyStatement": "",
      "EULA": "https://thatnavguy.com",
      "help": "https://thatnavguy.com",
      "url": "https://thatnavguy.com",
      "logo": "logo.jpg",
      "screenshots": [],
      "platform": "20.0.0.0",
      "application": "20.0.0.0",
      "idRanges": [
        {
          "from": 50000,
          "to": 50011
        }
      ],
      "dependencies": [
        {
          "id": "dd0be2ea-f733-4d65-bb34-a28f4624fb14",
          "publisher": "Microsoft",
          "name": "Library Assert",
          "version": "15.0.0.0"
        },
        {
          "id": "e7320ebb-08b3-4406-b1ec-b4927d3e280b",
          "publisher": "Microsoft",
          "name": "Any",
          "version": "15.0.0.0"
        },
      ],
      "resourceExposurePolicy": {
        "allowDebugging": true,
        "allowDownloadingSource": true,
        "includeSourceInSymbolFile": true
      },
      "runtime": "10.0"
    }
  • Suggested answer
    Kamal Khakhkhar Profile Picture
    Kamal Khakhkhar 303 on at
    Business Central - VS Code Download all symbols-extensions invisible
    Hii There,
    As per your described, you will only get 4 base Microsoft packages only. Other then that packages which are provided by Microsoft you need to add that package file ID,Name,Publisher,Version details in App.Json in dependencies. You will get the package. you can use that code as per that package resourceExposurePolicy.
     
    Mark this answered if you found answer.
     
    Thank You.
    Kamal Khakhkhar.
  • JJMc Profile Picture
    JJMc 286 on at
    Business Central - VS Code Download all symbols-extensions invisible
    You need to include the different extensions you want to download in the dependencies property in the app.json file

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans