-
Module 1: INTRODUCTION AND COURSE OBJECTIVES
Microsoft Dynamics AX 2012 R3 for Retail in eCommerce Stores: Installation and Configuration
-
Module 2: ECOMMERCE ARCHITECTURE
-
Module 3: INSTALLING ECOMMERCE COMPONENTS
- Lesson 1: Pre-installation Tasks
- Lesson 2: Deploy Retail Online Channel and Configure Settings
- Lesson 3: For Server Farm: Configure Settings in the oob-topology.xml File
- Lesson 4: Execute PowerShell Scripts to Deploy and Configure Online Store
- Lesson 5: Verifying the Retail Online Store Deployment and Troubleshooting
-
Module 4: ONLINE STORE SET UP AND PUBLISHING
- Lesson 1: Setting up Online Store Integration
- Lesson 2: Creating Online Store Navigation Structure
- Lesson 3: Creating and Configuring Online Store
- Lesson 4: Configuring Data Distribution and Publishing an Online Store
- Lesson 5: Managing and Publishing Online Store Products
- Lesson 6: Setting Up Shipping Charges for the Online Store
-
Module 6: ECOMMERCE DEPLOYMENT TOPOLOGY
Lesson 4: Execute PowerShell Scripts to Deploy and Configure Online Store
Execute PowerShell Scripts to Deploy and Configure Online Store
Execute PowerShell Scripts to Deploy and Configure Online Store : After you configure all of the required parameters in the oob-settings.xml file, you are ready to create and configure the online store by using PowerShell scripts. By default, the PowerShell scripts described in this section are deployed by Microsoft Dynamics AX Setup to the following directory on the SharePoint server: C:\Program Files (x86)\Microsoft Dynamics AX\60\Retail Online Channel\tools.
Lesson Objectives
The objective is to list the PowerShell scripts that are used to create and configure the online store.
InstallPrereqs-SPFarm.ps1 PowerShell Script
This script performs all the tasks required to set up and prepare the online store on SharePoint 2013.
To execute the InstallPrereqs-SPFarm.ps1 script, run the following steps:
- Open the SharePoint 2013 Management Shell with elevated privileges (open the Shell as Administrator).
- Navigate to the directory containing the PowerShell scripts, C:\Program Files (x86)\Microsoft Dynamics AX\60\Retail Online Channel\tools
- Execute the following command: .\InstallPrereqs-SPFarm.ps1 oob-topology.xml oob-settings.xml
Generate-WSP.ps1 PowerShell Script
This script creates SharePoint solution packages (.wsp files) for your environment. The solution packages include properties such as connection strings, URLs, and ports from the oob-topology.xml and oob-settings.xml files. The solution packages also include binaries, images, and static web pages that were deployed by Microsoft Dynamics AX setup to the Retail Online storefront directory.
To execute the Generate-WSP.ps1 script, run the following steps:
- Open the SharePoint 2013 Management Shell with elevated privileges (open the Shell as Administrator).
- Navigate to the directory containing the PowerShell scripts, C:\Program Files (x86)\Microsoft Dynamics AX\60\Retail Online Channel\tools.
- Execute the following command: .\Generate-WSP.ps1 oob-topology.xml oob-settings.xml
Deploy-FarmSolutions.ps1 PowerShell Script
This script deploys the generated SharePoint solution packages, activates the SharePoint features on the corresponding sites, and executes any post-deployment tasks needed for setting up the store front.
To execute the Deploy-FarmSolutions.ps1 script, run the following steps:
- Open the SharePoint 2013 Management Shell with elevated privileges (open the Shell as Administrator).
- Navigate to the directory containing the PowerShell scripts, C:\Program Files (x86)\Microsoft Dynamics AX\60\Retail Online Channel\tools
- Execute the following command: .\Deploy-FarmSolutions.ps1 oob-topology.xml oob-settings.xml