Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Business Central - VS Code Download all symbols-extensions invisible

Posted on by 5
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 68,842 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,861 Moderator 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 259 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

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,353 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,251 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans