Dynamics 365 Business Central: Set the default publisher when creating a new project

Dynamics 365 Business Central

Hi, Readers.
Today I would like to share another mini tip about Business Central, how to set the default publisher when creating a new project.

PS: To start writing extensions for Dynamics 365 Business Central, you need a Business Central tenant, Visual Studio Code, and the AL Language extension for Microsoft Dynamics 365 Business Central.Ā More details: Download Dynamics 365 Business Central Development Tools

When you start a new AL project, two JSON files, theĀ app.jsonĀ file and theĀ launch.jsonĀ file are generated automatically. TheĀ app.jsonĀ file contains information about the extension that youā€™re building, such as publisher information and specifies the minimum version of base application objects that the extension is built on. Often, theĀ app.jsonĀ file is referred as the manifest. More details: App.json file
For example, run AL Go!Ā command:

Then choose a path to a new empty folder and which version to run.
PS:Ā Business Central 2023 wave 2 (BC23): Set the default folder location for new AL projects (al.algoSuggestedFolderĀ setting)

Finally, choose the server.

At this point you can see that the app.json file has been automatically generated, and the ā€œpublisherā€ is ā€œDefault Publisherā€.

Can we change this default value? Yes, of course.
Open the Extension tab and click the Manage icon of the AL Language extension.

Or right-click AL Language extension and select Extension Settings.

There you can find a setting, Al: Publisher: Sets the publisher name. The default value is Default Publisher.

We can change it. For example,

PS: You can also modify this setting directly in the settings.json file.

Then when you create a new project, the default publisher is the one you just set.

Test video: Youtube

Business Central short video: Set the default publisher when creating a new project

Very simple, give it a try!!!šŸ˜

PS:
1. Business Central 2024 wave 1 (BC24): New ā€œCreate AL Projectā€ button in VS Code

2. Business Central 2023 wave 2 (BC23): Set the default folder location for new AL projects (al.algoSuggestedFolderĀ setting)

3. Dynamics 365 Business Central: Change the default directory path where reference symbol packages are located (./.alpackages ->)

4. Business Central 2023 wave 1 (BC22) new features: Multiple symbol paths (Support for multiple package caches)

END

Hope this will help.

Thanks for reading.

ZHU

ć‚³ćƒ”ćƒ³ćƒˆ

Copied title and URL