Exercise – Build and deploy a package configuration

As an e-Commerce developer, you have been asked to build a customized solution in an e-Commerce extension and then deploy the package to the online site.

In this exercise, you will perform the following tasks:

  1. Build the package in Visual Studio Code and then upload it through Dynamics Lifecycle Services.
  2. Deploy the package configuration through Dynamics Lifecycle Services.

Before you begin

You will need a developer sandbox environment and a trial or permanent license for using Visual Studio Code. Also, you will need a subscription to Dynamics Lifecycle Services and a created project for CSU and an e-Commerce site.

Build and upload the package

To build and upload the package, follow these steps:

  1. Open Visual Studio Code and select Terminal > New Terminal window (ensure that the window is a Command Prompt and not a PowerShell).
  2. In the New terminal window, run the following command and then select Enter to run the command. c:\repos\D365.Commerce.Fabrikam>yarn msdyn365 pack
  3. Go to https://lcs.dynamics.com/, where you should see a sign-in page.
  4. Select Sign in and then enter your Dynamics Lifecycle Services-provided account credentials.
  5. Select the e-Commerce project that you will be using. Scroll to the right to see more options.
  6. To upload the package, in the More tools section, select the Asset Library tile.
  7. On the Asset Library page, in the left pane, select the e-Commerce package tab. If you don’t see the e-Commerce package tab, you must enable e-Commerce features. Select the plus sign (+).
  8. In the Upload e-Commerce package file dialog box, enter a name and description for the package, and then select Add a file.
  9. In the Upload file asset dialog box, select Browse and then browse to the location of the package zip file that you created previously. Select the file and then select Upload.
  10. When the upload is complete, you will be returned to the Upload e-Commerce package file dialog box. Select Confirm to process the upload.
  11. If processing has completed successfully, a check mark will appear in the Valid column. (This process can take 40 to 50 minutes.)

cisco certification malaysia

Leave a Reply

Your email address will not be published. Required fields are marked *