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

Dynamics 365 Business Central

Hi, Readers.
The public preview for Dynamics 365 Business Central 2023 release wave 2 (BC23) is available. Learn more: Link.

I will continue to test and share some new features that I hope will be helpful.

Set the default folder location for new AL projects:

Business value:
The AL Language extension for Microsoft Dynamics 365 Business Central has a command to generate a new AL project. Since the start, the folder location for projects has been fixed to the users’ Documents folder in Windows. Based on asks, we are now adding the ability for partners to define a different default location for AL projects in the settings, making the project creation workflow easier.

https://learn.microsoft.com/en-us/dynamics365/release-plan/2023wave2/smb/dynamics365-business-central/set-default-folder-location-new-al-projects

To start writing extensions for Dynamics 365 Business Central, you’ll need a Business Central tenant, Visual Studio Code, and the AL Language extension for Microsoft Dynamics 365 Business Central. Visual Studio Code is a cross-platform editor that you’ll use for coding and debugging.

When generating a new project we need to run the AL Go! command, choose a path to a new empty folder.

Since the start, the folder location for projects has been fixed to the users’ Documents folder in Windows. We cannot change it😑.

Finally, in this wave, Microsoft has added settings. There is now an al.algoSuggestedFolder setting for specifying the default folder location for new AL projects. This can be set per user or per workspace, offering some flexibility in the location for new projects.

In settings.json:

Run the AL Go! command: The default folder has been changed

Test video:

Great. Give it a try!!!😁

PS: Business Central 2023 wave 2 (BC23): Set new output folder setting for storing app files at AL project build (“al.compilerOptions” -> “outFolder” property)

END

Hope this will help.

Thanks for reading.

ZHU

コメント

Copied title and URL