Skip to main content

#msdyn365bc 2021 Release Wave 2 - Transactional installation and sync of extensions on-premises.

Hi Readers,

In this series we will discuss what's new in Business Central 2021 (Wave 2) a.k.a BC19.

This article we will discuss about - Transactional installation and sync of extensions on-premises.

With this series we will understand what's new the product and learn it before it becomes available for customers.

#msdyn365bc #2021RW2

Feature Details - 

Usually, installing and synchronizing extensions are performed as two distinct operations. To enable force synchronization in online environments, install and sync can now also be performed as one transactional operation per database, available for PowerShell scripts on-premises.

Explanation -

Till Business Central 18, if you have to add a New Extension in on-Prem Business Central Environment that can be done with 3 PowerShell commands.

  • Publish-NAVApp -ServerInstance BC190 -Path "D:\Apps\Saurav_Demo_1.0.0.0.app"
  • Sync-NAVApp -ServerInstance BC190 -Name Demo
  • Install-NAVApp -ServerInstance BC190 -Name Demo


Starting Business Central 19 on-Prem Microsoft can do Sync and Install in one PowerShell cmdlet. With this release you can add new Extension just using two PowerShell commands.

  • Publish-NAVApp -ServerInstance BC190 -Path "D:\Apps\Saurav_Demo_1.0.0.0.app"
  • Install-NAVApp -Name Demo -ServerInstance BC190 -SyncMode Add


Hope you learn and will be able to utilize this feature as Business Central 19 is available.  

For other articles related to What's New in Business Central 19, refer here.

Regards,
Saurav Dhyani
www.sauravdhyani.com

Comments

Popular posts from this blog

VIEW SERVER STATE permission on SQL Server?

Hi all, Sometime While trying to Login into a database we face an error message as shown below. --------------------------- Microsoft Dynamics NAV Classic --------------------------- You cannot start Microsoft Dynamics NAV Classic because you do not have the VIEW SERVER STATE permission on SQL Server. Contact your system administrator. --------------------------- OK    ---------------------------

BC 21 and Higher - PowerShell Cmdlet (Replacement of Business Central Administration).

Hi Readers, As discussed in last article about deprecating of Business Central Administration, there are few common actions that we use in administration till Business Central 20. For our on-prem customers, we will still require doing activities. As Microsoft suggest we need to start using PowerShell cmdlet.    Let's see how to do those via PowerShell, or Administration Shell. I will be keep adding commands as you comment to this article.

Send Mail with Attachment From Navision.

Hi all, We have seen how to save a report into PDF and how to send mail to a customer. Let's link these two post in one i.e. Mailing statement to a customer into PDF Format. This article is part of the Series. Please Refer  Table of Content here . If you have the old objects set let me brief you what I will be changing -