Publishing

Run an elevated PowerShell ISE and execute the contained publish cmdlet by providing the container name and the extension path:

Publish-NAVContainerApp -containerName BCSANDBOX -appFile "C:\TEMP\SecondExtension.app" -skipVerification

The publish action performs the following tasks:

  • Uploads the .app file through Microsoft Dynamics 365 Business Central Server service
  • Unpacks the .app content in memory
  • Populates several tables in the application database based on the .app content

At the end of this action:

  • No changes are applied to the metadata structure
  • No user experience (UX) or business logic changes are applied

This process simply stores the extension content inside the application database, ready to be synchronized (distributed) ...

Get Dynamics 365 Business Central Development Quick Start Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.