Update POS Applications and Platform

Your Head Office (Cloud Master) is automatically updated with the latest Business Central application and platform, including LS Central. This article describes, step-by-step, how to update your POS Master and POS devices to reflect the latest versions.

  1. Open Project.json and update BcPlatformVersion, BcAppVersion and LsCentralVersion properties with the same versions as your cloud instance.
  2. To download the package of the selected versions to your Update Service Server, run:

    PS C:\LS Retail\Hybrid Cloud Components> & .\GetLsCentralPackages.ps1

  1. Now you have the packages on your server, but you still need to configure the POS Master to use the new version.
    1. Edit NewBundlePackage.ps1, locate the $Version variable and increment the version number, for example 1.1.0 (we recommend the semantic versioning .schema).
    2. Run:

      PS C:\LS Retail\Hybrid Cloud Components> & NewBundlePackage.ps1 - Import

    3. Now you have two versions of the packages bundle/yourprefix-pos and bundle/yourprefix-pos-master:

      1.1.0.0: This version is still using the old BC and LS Central version

      2.1.1.0: This version now uses the BC and LS Central version you configured in step 1.
  2. To update POSMaster to 1.1.0 run:

    PS C:\LS Retail\Hybrid Cloud Components> & .\UpdatePosMaster.ps1

For more information about packages, see Create a Package.