Search Results for

    Show / Hide Table of Contents

    Frequently Asked Questions

    LS Central Project

    How to specify a Data Director addin version?

    By default, the project scripts are set to update the Data Director addin to the latest version each time LS Central is updated. You may want to have more control and specify a target version. Follow these steps and modify your project files to allow such configuration.

    1. Add a new property called DdVersion with the target Data Director version to Project.json and save the file.

      "DdVersion": "3.2.112"
      
    2. Edit GetLsCentralPackages.ps1, find both ls-dd-server-addin and ls-dd-service and set version to $Config.DdVersion and save the file:

          @{ Id = 'ls-dd-server-addin'; Version = $Config.DdVersion }
          @{ Id = 'ls-dd-service'; Version = $Config.DdVersion }
      
    3. Run GetLsCentralPackages.ps1:

          PS C:\LS Retail\My Project> .\GetLsCentralPackages.ps1 
      
    4. Edit NewBundlePackage.ps1:

      1. Find ls-dd-server-addin and set the version to $Config.DdVersion:

            @{ Id = 'ls-dd-server-addin'; Version = $Config.DdVersion }        
        
      2. Increase the bundle version.
      3. Save the file
    5. Run NewBundlePackage.ps1 and import the file:

          PS C:\LS Retail\My Project> .\NewBundlePackage.ps1 -Import
      

    From now on, you can update the Data Director version with the following steps:

    1. Edit Project.json and set DdVersion to your target version.
    2. Run GetLsCentralPackages.ps1.
    3. Edit NewBundlePackage.ps1 and increment the bundle version.
    4. Run NewBundlePackage.ps1 -Import.
    5. You will have a new bundle version with the Data Director addin at the specified version.

    See more

    • Frequently Asked Questions
    In This Article
    Back to top Generated by DocFX