Professional Documents
Culture Documents
Table of Contents
Module 4: ONLINE STORE SETUP AND PUBLISHING
Module Overview ............................................................................................................................................ 4-1
Set Up Online Store Integration ................................................................................................................ 4-7
Create the Online Store Navigation Structure .................................................................................. 4-14
Configure Data Distribution and Publish the Online Store .......................................................... 4-22
Manage and Publish Online Store Products ...................................................................................... 4-32
Set Up Shipping Charges for the Online Store ................................................................................. 4-49
Module Review .............................................................................................................................................. 4-52
Test Your Knowledge .................................................................................................................................. 4-53
Test Your Knowledge Solutions .............................................................................................................. 4-55
Lab: Online Store Setup and Publishing .............................................................................................. 4-56
Objectives
The objectives of this module are as follows:
INTRODUCTION
Training is an important component of maintaining the value of a Microsoft
Dynamics AX investment. Quality training from industry experts keeps you
up-to-date and helps develop the skills that you must have to fully
maximize the value of the solution. Microsoft Dynamics AX provides many
kinds of training to meet different requirements, and includes online
training, classroom training, or training materials. Select the training type
that will best help you stay ahead of the competition.
Online Training
Online training delivers convenient, detailed training in the comfort of your
own home or office. Online training provides immediate access to training
24 hours a day, and is perfect for the customer who does not have the time
or the budget to travel. Online training options combine the efficiency of
online training with the thorough product coverage of classroom training.
1-1
Classroom Training
Classroom training provides, comprehensive learning through hands-on
interaction. From demonstrations to presentations to classroom activities,
you receive practical experience with instruction from a certified staff of
experts.
Training Materials
Training materials help you learn at your own pace, in your own time, with
information-packed training manuals. The many training manuals feature
many tips, tricks, and insights that you can reference continuously.
Lab
Microsoft Dynamics AX training materials include labs. Typically, the labs are
offered in two levels to accommodate each students knowledge and
expertise. We recommend that you try the High level steps first. If you need
help to complete the task, review the information in the Detailed steps.
1-2
Lesson Objectives
The objectives are as follows:
1-3
The Microsoft Dynamics AX Omni Channel Vision figure shows how Microsoft
Dynamics AX for Retail intends to provide an end to end solution for retailers
across all types of retail channels.
1-4
Course Objectives
The objectives of this course are as follows:
1-5
1-6
E-commerce architecture
E-commerce deployment
Module Review
Student Objectives
1-7
1-8
1.
2.
Objectives
The objectives of this module are as follows:
2-1
Lesson Objectives
Adding assortments.
Applying attributes.
Products in the catalog become product listings in the online store. When a shopper purchases
products from the online store, sales orders are generated for the purchases, and then sent to
Microsoft Dynamics AX for order fulfillment and processing. The available inventory is updated.
2-2
A retailer builds the product catalog for the online store in Microsoft
Dynamics AX.
2.
3.
The online shopper browses the online store, adds the products to
the basket, and then uses the checkout process to place an order. The
checkout process includes selecting delivery options, and then
providing an online payment.
2-3
5.
Hierarchies
Categories
Refiners
Payments
Shopping cart
Order fulfillment
Shipping
2-4
2.
3.
4.
Channel management
Catalog management
Merchandising
Order fulfillment
Cross-channel fulfillment
Omni-channel loyalty
In-store orders
Lesson Objectives
The objective is to discuss Microsoft Dynamics AX Ecommerce solution
architecture and components.
2-5
Term Sets
You use term sets to tag catalog content, such as pages or list items, on the
authoring site. By doing this, terms categorize the content into a hierarchy. These
same terms are later used on the publishing site to issue queries, show
information about category and catalog item pages, create friendly URLs, and for
2-6
Channel database(s)
2-7
Function
Microsoft
Dynamics AX 2012
with Retail module
Retail Channel
Database
Microsoft
Dynamics AX 2012
Commerce Data
Exchange
Microsoft
Dynamics AX
Commerce
Runtime
2-8
Function
SharePoint Server
2013
Catalog management
Order fulfillment
Description
You can model all channels, physical stores, online stores, and
online marketplaces as part of the organization hierarchy.
Financial
dimension
2-9
Description
Navigation
hierarchy
Channel
properties
Catalog Management
Attributes
framework
Centralized
category
management
Centralized
catalog
management
Publishing
from
Dynamics AX
to SharePoint
Kits
2 - 10
Pricing
Discounts
Price groups
Description
Inventory
Management
Loyalty
Program
Order Fulfillment
Centralized
order
fulfillment
Cross-channel
workflows
Lets you order online and pickup in store or order online and
return in store, and receive loyalty points.
Integrated
payment
processing
Upsell/cross-sell
Order hold
Continuity programs
Issue/redeem coupons
2 - 11
Lesson Objectives
The objective is to describe Commerce Data Exchange services.
2 - 12
Description
Async Server handles asynchronous data exchange at
headquarters. Use Microsoft SQL Server change
tracking on tables to determine which data must be
packaged and sent to channels. Based on a
distribution schedule, Microsoft Dynamics AX
generates data packages and deposits them in a
working folder.
For more information, go to
http://technet.microsoft.com/ENUS/library/dn741449.aspx.
Commerce Data
Exchange: Async
Client (AX 2012 R3
only)
2 - 13
Description
Async Client also uploads sales transactions from the
channel to Microsoft Dynamics AX.
For more information, go to
http://technet.microsoft.com/ENUS/library/dn741439.aspx.
Commerce Data
Exchange: Real-time
Service
Commerce Data
Exchange: Synch
Service (Microsoft
Dynamics AX 2012
R2 and Microsoft
Dynamics AX 2012
Feature Pack)
2 - 14
2 - 15
2 - 16
1.
2.
3.
Reference Links: < For more information about the typical configuration of
Asynch Server, go to http://technet.microsoft.com/EN-US/library/dn741219.aspx.
Connection profiles enable the components of Retail to communicate with one
another. Set up connection profiles before you configure data distribution settings
for Retail.
You must set up the following connections:
Channel profile
AOS profile
2 - 17
Download jobs Download jobs send data that has changed from
Microsoft Dynamics AX to channel databases. Modifications to records are
tracked through SQL Server change tracking.
Upload jobs (P jobs) Upload jobs pull sales transactions from a channel
into the Microsoft Dynamics AX database.
P jobs upload data incrementally. When a P job runs, Async Client checks the
replication counter for records that have already been received from a location.
The instance of Async Client for the channel sends only those records that have a
replication counter that is greater than the largest value found. P jobs do not
update data that was previously uploaded. To schedule and run the data transfer
between Microsoft Dynamics AX and retail channels, Commerce Data Exchange
uses Retail Scheduler jobs and distribution schedules.
Reference Links: For more information about jobs and subjobs in Retail
Scheduler, go to http://technet.microsoft.com/EN-US/library/jj680084.aspx.
Jobs and subjobs contain the data distribution settings for specific tables and
fields in the database. A distribution schedule associates scheduler jobs with the
locations where data must be synchronized. After you create distribution
schedules, you can run them automatically in a batch, or run them manually.
Before you set up a distribution schedule in Microsoft Dynamics AX 2012 R3, you
must create scheduler jobs and data groups. You can view information about past
runs of a distribution schedule job by examining the view history of a distribution
schedule form.
Reference Links: For more Information about Distribution Scheduler, go to
http://technet.microsoft.com/EN-US/library/jj710363.aspx.
2 - 18
When you install the Real time Service, you also install the Retail Salt Utility and
.NET Business Connector. The Retail Salt Utility provides additional encryption for
the passwords and credentials that are associated with the Retail system.
Real-time Service uses .NET Business Connector to communicate with Microsoft
Dynamics AX, as shown in the Real-Time Service diagram.
2 - 19
Commerce Runtime
This lesson discusses the Commerce Runtime and its components.
Lesson Objectives
The objective is to describe Commerce Runtime architecture and components
Commerce Runtime
The Microsoft Dynamics AX Commerce Runtime (CRT) component serves as the
intermediary between Microsoft Dynamics AX and an online store. It provides an
2 - 20
Data access layer A data access layer that runs on the CRT database. In the
data access layer, raw data is translated into objects in memory. For example,
an object could be a product with attributes such as price and color. The data
access layer has functions that you can use to manipulate these objects.
Stored procedures pass packets of data from the database to data entities
that can be used in services and workflow. You can update the packets of data
to include new fields that you add in Microsoft Dynamics AX.
Reference Links: < For more information about the data access layer and
data entities customization, go to http://technet.microsoft.com/ENUS/library/jj916616.aspx. Add Reference Links here>
2 - 21
Services layer On top of the data access layer is a services layer. Services
query for real-time data. You can use these services to customize existing
functionality, or add your own services that have new functionality.
Workflow layer On top of the services layer, there is the workflow layer. A
workflow is a collection of services and business logic that together define
business processes. For example, when a customer adds an item to the cart,
you can use workflow to do any of the following:
o
Perform validation.
Calculate shipping.
Calculate tax.
Calculate discounts.
You can use workflows that are included in Microsoft Dynamics AX, or you
can create new workflows. You can also use a workflow to connect to a thirdparty system as part of your business processes.
Reference Links: < For more information about how to create workflows,
go to http://technet.microsoft.com/EN-US/library/jj916618.aspx.
Application Programming Interface (API): On top of the workflow layer is
the API layer. You can use the API for any of the following:
o
Price calculation
Shipping calculation
Placing orders
2 - 22
CRT Services
Microsoft Dynamics AX retail services are scalable and extensible services that are
empowered through a combination of the commerce data exchange and the
commerce runtime. Several services exist in the Commerce Runtime that support
the functionality of an online store. You can add your own services, or extend the
prebuilt services.
Services are enumerated as types in the Commerce Runtime configuration file that
is named commerceRuntime.config. You can add types in the Commerce Runtime
configuration file to control the services that are loaded in the Commerce
Runtime. Services are loaded in the order in which they are listed in the
configuration file. All default services are loaded automatically. However, if you
add a new service above one of the default services, the new service replaces the
default service.
Reference Links: For more information about how to integrate a service
into the Commerce Runtime, go to http://technet.microsoft.com/ENUS/library/jj916619.aspx.
The following table describes the CRT prebuilt services.
Service
Description
AddressService
ChargeService
CurrencyService
CustomerService
DimensionService
EmailService
LoyaltyService
PaymentService
2 - 23
Description
processing. You can also extend the payment service to add
third-party payment processors.
2 - 24
PricingService
ProductAvailabilit
yService
RoundingService
SalesOrderService
ShippingService
StoreLocatorServi
ce
TaxService
Calculates the sales tax for the current order. You can use
sales tax information from Microsoft Dynamics AX or from a
third-party sales tax service.
TotalingService
Lesson Objectives
The objective is to describe the Ecommerce starter site and its components.
Starter Store
Microsoft Dynamics AX 2012 for Retail includes two Retail online starter stores.
The Contoso store is modeled after a fictitious online electronics retailer. The
Fabrikam store is modeled after a fictitious online clothing store. When Retail
online store is installed by using Setup.exe or PowerShell, you specify which starter
store to deploy in the environment. After you deploy the starter store, you can
customize and rebrand it to meet the specific needs of the implementation.
CONTOSO ONLINE STARTER STORE
2 - 25
2 - 26
Display templates
Contoso_Default_Item_ProductDetails
Contoso_Default_Item_ProductGallery
Contoso_Default_Item_ProductQuickView
Control_KitRetailListWithPaging
Control_ProductVariants
Control_RetailListWithCarouselPaging
Control_RetailListWithPaging
Control_RetailListWithPagingNoCrt
Fabrikam_Default_Item_ProductDetails
Fabrikam_Default_Item_ProductGallery
Fabrikam_Default_Item_ProductQuickView
Filter_RetailMultiValue
Filter_RetailMultiValue_Body
GiftCard_Item_ProductDetails
GiftCard_ProductVariants
Item_KitComponentDetails_Contoso_Default
Item_Recommended
Item_SelectComponentSubstitutesQuickView_Contoso_D
efault
Controls/Web
parts
Shopping Cart
Mini shopping cart
Order history
Address display, edit
Customer display, edit
Wish List
Category landing
Welcome bar
Store product availability
The Online Store Architecture diagram shows the out-of-the-box online store
architecture.
2 - 27
This web application is configured to give anonymous access for web users. The
product catalog site collection lists product data. This includes the Microsoft
Dynamics AX navigational hierarchy that is stored in the SharePoint Term Store.
The lists that are created by the online store publishing process are shared.
Internal users such as designers and other content authors have Contribute
permission level to add, update, and delete items in the asset library. The asset
library is added to the Suggested Content Browser Locations list for the authoring
and product catalog site collections so that content authors can use those assets
2 - 28
CRT database The online store uses this database as a data store before
pushing data into SharePoint. By default, the database is named AxRetailSP.
Settings for this database are stored in the oob-topology.xml file under
Settings/Channel.
2 - 29
2 - 30
Master pages
Page layouts
Control display templates that control the layout of search results and
any elements that are common to all results such as paging, sorting, and
other links
Item display templates that control how each search result is displayed
and repeated for each result
Storefront.master
StorefrontMobile.master
My account
Order history
Product details
Product gallery
Address edit
Associate customer
Change password
Checkout confirm
Facebook Logon
The web parts that are available out-of-the box include the following:
Add To Cart
Checkout
Promotion Code
Submit Order
Shopping cart
Address
2 - 31
Customer
Cascading style sheets (CSS) provide styling and formatting for the page layouts.
The CSS files for the online store are located in the following location on the
SharePoint application server where the online store is installed:
Program Files\Common Files\Microsoft Shared\Web Server
Extensions\15\TEMPLATE\LAYOUTS\1033\STYLES\Storefront.
The following table lists the cascading style sheets that are used in the online
store.
Cascading
Style
Sheet
2 - 32
Description
AddressEdi
t.css
AssociateC
ustomer.cs
s
CheckoutC
onfirm.css
Control_Pr
oductVaria
nt.css
Core.css
CustomerE
dit.css
Item_Prod
uctDetails.
css
Item_Prod
uctGallery.
css
Item_Reco
mmended
Related Products
Customer Favorites
Shop By Brand
Description
Clearance items
Login.css
MyAccoun
t.css
OrderChec
kout.css
OrderDeta
ils.css
OrderHisto
ry.css
ProgressBa
r.css
Register.cs
s
Reset.css
Shopping
Cart.css
Tab.css
Defines the formatting for the tab control that appears on the
Quickview and ProductDetails pages.
Welcome.c
ss
2 - 33
Module Review
In this module the following concepts were covered
2.
3.
What site collections does the online store use? Select all that apply.
( ) A site collection that contains a product catalog site.
( ) A site collection that contains a shopping cart site.
2 - 34
5.
What are the key pillars of the Microsoft Dynamics AX Ecommerce solution?
( ) Centralized data and order management across all channels.
( ) Cross-channel and cross-device workflows.
( ) Symmetrical omni-channel retail services.
( ) OOB e-commerce with storefront developer platform.
( ) All the above
2 - 35
Objectives
The objectives of this lab are:
1.
2.
Show how to sync the orders from the online store to AX manually.
3.
4.
Lab Setup
1.
2.
Release Notes
https://mbs.microsoft.com/files/customer/AX/Downloads/Servicepacks/ReleaseNo
tesAX2012R3SolutionDemoPackageV10.pdf
Technical Guide
2 - 36
4.
To fix the Synchronize Online Orders Job issue, follow these steps:
a.
b.
c.
2 - 37
2 - 38
Detailed Steps
1.
Open the browser, and then locate the Contoso online store that is
located at www.contoso.com.
2.
Explore the site home page that is illustrated in the diagram (Online
Store Home page). Notice the site navigation by product categories
on the top of the page. The site navigation is driven by the category
hierarchies that are defined in Microsoft Dynamics AX and published
to the online store.
3.
Rest the pointer on Cameras, and then click Digital SLR cameras.
2 - 39
Detailed Steps
1.
2 - 40
On the Product Listing Page of the Online Starter store, explore the
page. In the Online Store Product Display - Refiners graphic, notice
the breadcrumb at the top of the page that is driven by the category
hierarchy that is defined in AX. Notice the refiners on the right side of
the page that let users quickly narrow their list of products. The
product attributes that are configured in AX drive these refiners.
2.
3.
4.
5.
In the Product details page, notice the rich product details, such as
the product description, images, feature lists, and specifications. These
details are all managed centrally in AX.
Task 3: In the Online Store, add a product to the shopping cart and
submit the order.
High Level Steps
1.
2.
3.
4.
Detailed Steps
1.
2 - 41
2.
3.
2 - 42
4.
5.
6.
2 - 43
Under Find a store, type 02215 in the ZIP/Postal Code text box,
and then click Search. The store is shown on the map and its address
is displayed on the right side of the map. See the Delivery
information Page figure.
8.
Click Next Step. The Billing information page is displayed. See the
Billing information Page figure.
9.
2 - 44
02215
10. Click Next Step. The Review and confirm page is displayed. See the
Review and confirm Page figure.
11. Explore this page to view the details of your order, and then click
Submit order.
2 - 45
2 - 46
Results
You learned about the store structure and navigation, the search-driven
experience, the product pages, and the checkout process.
2 - 47
Run a job to bring the online orders from the CRT database into
Microsoft Dynamics AX.
2.
Detailed Steps
2 - 48
1.
2.
3.
4.
In the Confirmation dialog box, click Yes, and then click Close to
close the Distribution schedule window.
5.
2 - 49
7.
8.
9.
2.
3.
4.
Detailed Steps
2 - 50
1.
Make sure that the POS is pointing to the Boston store by locating to
the folder at C:\Program Files (x86)\Microsoft Dynamics
AX\60\Retail POS, and then open the Pos.exe.config file in Notepad.
See the Pos.exe config file figure.
2.
3.
Open POS at the Boston store by using the Retail POS shortcut from
the Start window.
4.
Operator ID
000110Password
123
5.
As the first user who logs into a POS client, you are prompted to open
a new shift. Click Open a new shift.
6.
7.
2 - 51
8.
9.
2 - 52
Order number
Customer
Start date
End date
And so on
2 - 53
Results
You learned how to synchronize the orders from the online store to Microsoft
Dynamics AX manually.
You completed an online order pickup in store process.
2 - 54
Open the Retail Product Catalog site, and then review the product
listings and attributes.
2.
Detailed Steps
To open the Retail Product Catalog site, follow these steps:
1.
2 - 55
2.
3.
2 - 56
4.
Explore the product attributes, scroll to the bottom of the page, and
then click Close to return to the list of products. See the
Uncategorized List Page figure.
The products and attributes are set up in Microsoft Dynamics AX, and
then synchronized to the CRT database by CDX. Then the product
information from the CRT is retrieved by the Retail-publishing job
that pushes it into the product catalog site.
2 - 57
3.
In the Timer jobs section, click Review job definitions. The Job
Definitions list is displayed in alphabetical order.
5.
2 - 58
Click RetailPublishingJob. The Edit Timer Job page opens. See the
Edit Timer Job figure.
6.
Results
You reviewed the Retail Publishing job definition.
You explored the Product Catalog site and the product listings.
What are the steps in pulling in all online store orders in the Microsoft
Dynamics AX Retail Headquarters and synchronizing the sales orders?
2.
2 - 59
2.
3.
What site collections does the online store use? Select all that apply.
( ) A site collection that contains a product catalog site.
( ) A site collection that contains a shopping cart site.
( ) A site collection that contains a publishing portal site.
() Two Site Collections that contain a product catalog site and publishing
portal site.
( ) None of the above
4.
2 - 60
What are the key pillars of the Microsoft Dynamics AX Ecommerce solution?
() Centralized data and order management across all channels.
( ) Cross-channel and cross-device workflows.
( ) Symmetrical omni-channel retail services.
( ) OOB e-commerce with storefront developer platform.
( ) All the above
2 - 61
What are the steps in pulling in all online store orders in the Microsoft
Dynamics AX Retail Headquarters and synchronizing the sales orders?
MODEL ANSWER:
i. Run the P-0001 Job from the Distribution
Schedule under Retail > Periodic.
ii. Run the job to Synchronize Online Orders
under Retail > Periodic.
7.
This list contains all the Microsoft Dynamics AX product listings. You can also view
the list of Product Attributes from this list.
2 - 62
Objectives
The objectives are as follows:
Describe how to create and configure the online store by using the
PowerShell.
3-1
Pre-installation Tasks
This lesson describes the tasks that you must complete before you deploy the
Microsoft Dynamics AX Retail online store.
Lesson Objectives
Explain the required pre-installation procedures before you deploy the online
store.
Additional Notes
At a minimum, make sure that you have 10 GB of RAM and
4 processors. We recommend 16 GB of RAM.
Verify that you installed the URL Rewrite Module 2.0 (64bit) on the SharePoint server.
Verify that the server is not a domain controller.
Deployment fails if the server is a domain controller.
Note: For development environment setup, you can have
domain controller, SQL server, SharePoint 2013, and AX
2012 in single box.
Install and
configure
SharePoint
3-2
Additional Notes
Install Microsoft
Dynamics AX
2012 R3
Setup and
configure
Microsoft
Dynamics AX
Retail
2.
Central Administration
3.
If you did not install and configure Microsoft Dynamics AX, verify that
you are a member of the system administrator role in Microsoft
Dynamics AX.
4.
If you did not install and configure SharePoint, verify that you are a
member of the farm administrator role in SharePoint and that you
have administrator access to each site collection in the farm.
5.
If you did not install and configure Microsoft SQL Server, Microsoft
3-3
Retail Job User: You specified this account when you installed SharePoint. It
is the account under which the SharePoint Timer Service runs.
Product Catalog Web App Pool User: This account is specified in the
deployment XML file that is discussed later in this topic.
Store Front Web App Pool User: You specified this account when you
installed SharePoint. It is the account under which the Security Token Service
application pool runs in IIS Manager.
Verify or create a domain account for each of these users. You enter these
accounts in the deployment XML file later in this topic.
Prerequisite Validation
Before you install the Retail online store, run the prerequisite validation utility to
verify that system requirements are met. If requirements are not met, the utility
helps you install or configure most prerequisites. Additionally, you can view or
print a report that shows the results of the prerequisite validation. After you run
the prerequisite validation utility, and all validation results are successful, run
Windows Update to identify and install the latest updates before you continue
with the installation of Microsoft Dynamics AX Retail online store.
3-4
Lesson Objectives
The objectives are as follows:
Explain the steps that are required to install the Retail online channel.
2.
3.
If the Setup Support files have not yet been installed on the server,
the Select a file location page is displayed. The Setup Support files
are required for installation. Provide a file location or accept the
default location, and then click Next. On the Ready to install page,
click Install.
4.
5.
6.
7.
8.
9.
3-5
2.
3.
Lesson Objectives
Explain how to configure settings in the oob-topology.xml file
Explain how to configure the settings of the connector service
Present the product catalog settings and the Retail Online Store publishing portal
settings
3-6
Connector Settings
The oob-topology.xml file stores account and server settings for a connector
service that runs under the SharePoint OWSTimer.exe service. The connector
service uses a domain account to publish Retail jobs from Microsoft Dynamics AX
to SharePoint. When you execute the PowerShell scripts to deploy the online
store, the system creates a new SharePoint service and a service instance. You can
then view the service instance in SharePoint Central Administration on the System
Settings > Manage Services on Server page.
The new service instance is called Dynamics AX Publishing Connector Service. In a
production environment, the connector service should be installed on at least two
application servers (not web front-end servers). SharePoint prevents two service
instances from running at the same time, but does allow for failover support. You
can specify two application servers where the service instance should run in the
oob-topology.xml file, as described in the following procedure.
For application servers where the service instance should run in the oobtopology.xml file, follow these steps:
1.
2.
3.
4.
5.
3-7
2.
Parameter
Replacement value
ProductCatal
ogWebAppPo
olUser
Replace this value with the domain account under which the
product catalog application pool should run, for example
value="Domain\User".
FarmAdminist
ratorAlias
FarmAdminist
ratorEmail
3.
Authentication
URLs
Default
Forms, Facebook
http://%ComputerName%:40002
Intranet
Windows
http://%ComputerName%:40003
Internet
Forms, Facebook
http://www.contoso.com:40002
Extranet
Forms, Facebook
http://%ComputerName%:40004
Custom
Forms, Facebook
http://www.contoso.com:40004
Use the following table to specify settings for the Retail online store Publishing
portal in the oob-setting.xml file.
3-8
Replacement value
StoreFrontWebAppPool
User
STSWebAppPoolUser
RetailJobUser
Encryption Settings
The Retail store publishing portal uses Secure Sockets Layer (SSL) encryption. For
production environments, you must register your domain and obtain a valid,
registered SSL certificate from a provider. For developer and evaluation
environments, you can use a self-signed certificate.
Reference Links: For information about how to work with certificates, see
Certificate Overview at http://technet.microsoft.com/enus/library/cc732331(v=ws.10).aspx.
You must configure the following parameters in the oob-settings.xml for
developer/evaluation and production environments.
Parameter
Replacement value
StoreFrontPublicSSLCertT
humbprint
StoreFrontPublicSSLCert
Directory
StoreFrontPublicSSLCert
PfxFileName
StoreFrontPublicSSLCert
PfxPassword
3-9
3 - 10
2.
3.
Click Create New App, and then follow the prompts to create a new
application. Enter the display name, namespace, and category. Click
Create App.
4.
In the Settings section, access Basic info, and then click Add
Platform. Click the Website option, and then specify the Site URL.
5.
6.
7.
8.
9.
Parameter
FacebookCertificat
eDirectory
Replacement value
Enter a value with the path of the directory where the
Facebook certificate is stored.
3 - 11
Replacement value
FacebookCertificat
eLocalCopyDirector
y
FacebookSigningC
ertificateCerFileNam
e
FacebookSigningC
ertificatePfxFileNam
e
FacebookSigningC
ertificatePfxPasswor
d
FacebookSigningC
ertificateThumbprin
t
FacebookSslCertific
ateAuthorityCerFile
Name
FacebookSslCertific
ateAuthorityThumb
print
2.
2.
<TrustedIdentityTokenIssuer
id="Facebook" install="true"
deleteifexists="true">
3 - 12
Replacement value
Change both flags to false, for
example:
<TrustedIdentityTokenIssuer
id="Facebook" install="false"
deleteifexists="false">
Replacement value
In the <Zone> section, locate the
following parameter:
<AuthenticationProvider>Forms,Face
book</AuthenticationProvider>
Delete Facebook from this
parameter, for example:
<AuthenticationProvider>Forms</Au
thenticationProvider>
3.
Lesson Objectives
The objective is to list the PowerShell scripts that are used to create and configure
the online store.
2.
3.
3 - 13
2.
3.
3 - 14
1.
2.
2.
Click the Managed Metadata Service Connection row, and then click
Properties.
3.
4.
3 - 15
This lesson includes troubleshooting tips and actions to take for specific error
messages.
Lesson Objectives
The objectives are as follows:
3 - 16
2.
To check the Retail Catalog site and Retail Publishing site, copy the
following URLs into a browser, and then validate that you can locate
each site:
http://ServerName:40001/sites/RetailProductCatalog
This is your Retail Product Catalog site.
http://ServerName:40002/sites/RetailPublishingPortal
This is your Retail Publishing portal that is the Contoso Electronics
Superstore site.
Paste the public URL into a browser, and press Enter. For example:
http://ServerName:40002/sites/RetailPublishingPortal
2.
3.
4.
Click the Sign In link, and then enter the information for the account that you just
created. The system logs you onto the Contoso electronics site as a registered
user.
3 - 17
3 - 18
1.
2.
3.
4.
5.
Unpack the built Visual Studio package into the SP folder. This step
gets the built WSP package, and unpacks and adds metadata to the
manifest file, depending on the topology settings of the online portal
URL. When you follow the Execute PowerShell scripts to deploy and
b.
Search the SharePoint Unified Service Logging (ULS) logs: The SharePoint
ULS logs provides more information about errors. Search the event logs for a time
stamp that reflects your deployment activities. By default, the logs are stored at
the following location: C:\Program Files\Common Files\Microsoft Shared\Web
Server Extensions\15\LOGS.
Configure tracing details in SharePoint Diagnostic Logging: The Windows
Event log and the SharePoint ULS log (C:\Program Files\Common
Files\Microsoft Shared\Web Server Extensions\15\LOGS) store exceptions for
events that are triggered when you deploy the Retail online store. Traces for the
Retail online store display Dynamics AX Retail. To help you troubleshoot the
deployment, you can adjust tracing and information levels by following these
steps:
1.
2.
3.
Use the drop-down lists in Categories, and select Verbose as the least
critical events and traces to log.
4.
Error: The file name is required: If you receive this error in the Command
Prompt window after you execute a script, it means that you did not add the
oob-topology.xml and oob-settings.xml files to the end of the script. Each script
must be executed in the following form: powershell .\ScriptName.ps1 oobtopology.xml oob-settings.xml.
Error: 500 Internal Server: If you see this error in the Command Prompt
window after you execute the Deploy-FarmSolutions script, it means that you
have not installed the URL Rewrite Module 2.0 on the SharePoint server. Install the
URL Rewrite Module, and then execute the Deploy-FarmSolutions script again.
Error: System.Servicemodel.ServiceActivationException: If you see this error in
the Command Prompt window after you execute any of the PowerShell scripts, it
means that the server has insufficient RAM to complete the operation. Verify that
the server has at least 10 GB of RAM. If it is possible, increase the RAM to 16 GB,
and then execute the scripts again.
Error: System.InvalidOperationException: standardCategoryField.TermSetId
3 - 19
Verify that all application pools are running in IIS Manager and that the Managed
Metadata Service application is installed and running in SharePoint. If you still see
this error, then uninstall all versions of SharePoint and restart the server. Reinstall
SharePoint Server 2013, and execute the PowerShell scripts again.
Domain account password changed: If a password for one or more of the
required domain accounts changes, then you must update the credentials for that
domain account in the following locations:
1.
In IIS Manager, update credentials for any application pools that were
configured with the domain account.
2.
3.
CustomClaimsProviderFeature
LoggingServiceFeature
RetailPublishingJobFeature.
3 - 20
2.
3.
4.
3 - 21
Module Review
This course highlighted the features and deployment steps of the Microsoft
Dynamics AX 2012 R3 Ecommerce Retail online store that is built by using
Microsoft SharePoint Server 2013.
What will you use to install the Retail online channel components on
SharePoint Server 2013?
( ) InstallPrereqs-SPFarm.ps1 PowerShell script
( ) SharePoint Central Administration
( ) Microsoft Dynamics AX 2012 R3 Setup
3 - 22
Objectives
This lab discusses installation of the Online Storefront
After you complete this lab, you can do the following:
Detailed Steps
To install Retail Online Store, follow these steps:
1.
3 - 23
3.
If the Setup Support files have not yet been installed on the server,
the Select a file location page is displayed. The Setup Support files
are required for installation. Provide a file location or accept the
default location, and then click Next. On the Ready to install page,
click Install.
4.
5.
6.
7.
8.
9.
10. On the Prerequisite validation results page, resolve any errors. For
more information about how to resolve prerequisite errors, see Check
prerequisites. When no errors remain, click Next.
11. On the Ready to install page, click Install.
12. After the installation is complete, click Finish to exit the wizard.
3 - 24
<Assembly Location="Microsoft.Web.Administration.dll"
DeploymentTarget="GlobalAssemblyCache" />
3.
2.
Parameter
Replacement value
ProductCatal
ogWebAppPo
olUser
Replace the value with the domain account under which the
product catalog application pool should run, for example,
value="Domain\User".
FarmAdminist
ratorAlias
FarmAdminist
ratorEmail
3.
3 - 25
Authentication
URLs
Default
Forms,
Facebook
http://%ComputerName%:40002
Intranet
Windows
http://%ComputerName%:40003
Internet
Forms,
Facebook
http://www.contoso.com:40002
Extrane
t
Forms,
Facebook
http://%ComputerName%:40004
Custom
Forms,
Facebook
http://www.contoso.com:40004
Use the following table to specify settings for the Retail online store Publishing
portal in the oob-setting.xml file.
3 - 26
Parameter
Replacement value
StoreFrontWebAppPoolUs
er
STSWebAppPoolUser
RetailJobUser
Replacement value
StoreFrontPublicSSLCertTh
umbprint
StoreFrontPublicSSLCertDir
ectory
StoreFrontPublicSSLCertPfx
FileName
StoreFrontPublicSSLCertPfx
Password
Detailed Steps
3 - 27
2.
3.
2.
3.
3 - 28
5.
6.
Detailed Steps
After you run the deployment scripts and complete without errors, you can verify
and validate the online store deployment process.
Verify Dynamics AX Publishing Connector
After a successful deployment, the Dynamics AX Publishing Connector Service
runs in SharePoint Central Administration. At this point, the service displays the
following error: No channel configuration could be found in the database. This
means that the channel has not yet been configured in Microsoft Dynamics AX.
Reference Links: You must configure the channel in Microsoft Dynamics
AX. For more information about how to do this, go to
http://technet.microsoft.com/EN-US/library/jj728704.aspx.
Verify Online store SharePoint Site Collections
After a successful deployment, you can view the Retail online store web
applications and site collections in SharePoint Central Administration, by following
these steps:
1.
3 - 29
Open View all site collections. You should see all the site collections
that you created under each Web Application.
3.
For the following URLs, copy the URL into a browser and validate that
you are able to locate each site:
http://ServerName:40001/sites/RetailProductCatalog
This is the Retail Product Catalog site.
http://ServerName:40002/sites/RetailPublishingPortal
This is the Retail Publishing Portal that is the Contoso Electronics
Superstore site.
4.
You should be able to register a new user account and logon from the URL. By
completing the sign-up process, you verify SQL Server connectivity, SSL port
settings, and SSL certificate bindings.
To register a new user account, follow these steps:
1.
Paste the public URL into a browser, and then press Enter. Example:
http://ServerName:40002/sites/RetailPublishingPortal.
2.
3.
Note: If you see more than one email and password field on the page, it
means that you executed the Deploy-FarmSolutions.ps1 script multiple
times on this server. This is a known issue. To create the forms-based user
account, you must enter the email address and strong password in each
field. Also be aware that you receive an error after you register the
account because the online channel has not been configured in Microsoft
Dynamics AX.
4.
5.
Click the Sign In link, and then enter the information for the account
that you just created. The system logs you onto the Contoso
electronics site as a registered user.
3 - 30
You can logon into the Retail Online Store site as a user.
3 - 31
3 - 32
4-1
The Retail online store uses the data, components, and the services of Microsoft
Dynamics AX Retail components. These components include Retail Headquarters a
Retail channel database, and SharePoint 2013. You must install these other
components and applications before you install the online store.
Information about the components and the applications is shown in the following
table:
Task
4-2
Details
References
Install Microsoft
Dynamics AX
http://technet.microsoft.com/
EN-US/library/dd362138.aspx
Install Retail
Headquarters
http://technet.microsoft.com/
EN-US/library/hh575193.aspx
Details
References
Microsoft Dynamics
AX Retail.
Install a Retail
channel database
http://technet.microsoft.com/
EN-US/library/dn741218.aspx
Commerce Data
Exchange is a system
that transfers data
between Microsoft
Dynamics AX and retail
channels.
http://technet.microsoft.com/
EN-US/library/dn741219.aspx
At retail headquarters,
you must install
Commerce Data
Exchange: Async Server
and Commerce Data
Exchange: Real-time
Service.
http://technet.microsoft.com/
EN-US/library/jj679919.aspx
http://technet.microsoft.com/
EN-US/library/dn741220.aspx
http://technet.microsoft.com/
EN-US/library/dn621058.aspx
http://go.microsoft.com/fwlin
k/?LinkId=286388
Microsoft Dynamics AX
2012 for Retail includes
two Retail online
starter stores. The
Contoso store is
modeled after a fictitious
online electronics
retailer. The Fabrikam
store is modeled after a
fictitious online clothing
http://technet.microsoft.com/
EN-US/library/jj991927.aspx
http://go.microsoft.com/fwlin
k/?LinkID=286427&clcid=0x4
09
4-3
Details
References
2.
3.
Add assortments that include the products that are available in the online
store.
4.
5.
6.
Assign the payment methods that are accepted for the online store.
7.
If you allow shoppers to order products online and then pick up the products
at a local store, assign store locator groups to the online store.
8.
Assign attributes for channels, products, and sales orders to the online store.
Channel attributes apply to the whole online store, product attributes apply to
the products that are offered in the online store, and sales order attributes
apply to the sales orders that are generated from the online store.
9.
Map attributes to set the properties that determine how the attributes behave
in the online channel. For example, you can set attributes to be required or
searchable.
10. Publish the online store to generate the store structure on the SharePoint site.
Before you publish the online store to SharePoint, you must set up a
distribution location for the online store.
This module discusses the following:
4-4
Objectives
This module discusses the tasks, procedures, and configuration options for the
online store configuration and publishing.
This module includes the following lessons:
4-5
4-6
Lesson Objectives
The objectives include the following:
Details
Profiles enable the
components of
Retail to
communicate with
one another. Set up
profiles before you
configure data
exchange settings.
References
Set up a profile for Async
Server:
http://technet.microsoft.com/ENUS/library/dn621048.aspx
Set up a Real-time Service
profile :
http://technet.microsoft.com/ENUS/library/hh580631.aspx
Set up a channel profile :
http://technet.microsoft.com/ENUS/library/jj677402.aspx
Set up a channel database
profile :
http://technet.microsoft.com/ENUS/library/dn621049.aspx
Configure data
distribution and
scheduling
In Microsoft
Dynamics AX 2012
R3, a channel data
group is a group of
one or more retail
4-7
Details
channel databases.
A data package is
generated for each
data group. All
channel databases
in a data group
subscribe to the
same data.
References
http://technet.microsoft.com/ENUS/library/jj680084.aspx
4-8
Click Retail > Setup > Retail scheduler > Channel integration > Async
Server profile.
2.
3.
4.
In the Data download interval in minutes field, enter the interval at which
Async Client checks for data packages that are ready to be downloaded from
Microsoft Dynamics AX to the channel. Data packages are downloaded from
the working folder for Commerce Data Exchange.
5.
In the Data upload interval in minutes field, enter the interval at which
Async Client creates and uploads data from the channel. Data packages are
uploaded to the working folder for Commerce Data Exchange.
Note: The procedure to set up the Real-time Service profile can be found later
in this lesson.
4-9
In Microsoft Dynamics AX, to create the Real time Service profile, follow these
steps.
1.
Click Retail > Setup > Retail scheduler > Channel integration > Real-time
Service profiles.
2.
3.
4.
Port Enter the port number that the web service for Real-time
Service uses.
Note: By default, the protocol is net.tcp. However, the https protocol is also
supported. To use the https protocol, you must modify the web.config file for the
website.
4 - 10
5.
Before an online store can access AOS to retrieve or update information in real
time, you must assign the online store a Real-time Service profile.
To assign a Real-time Service profile to an online store, follow these steps.
1.
Click Retail > Common > Retail channels > Online stores.
2.
Double-click the online store to modify, and then click the Maintain button.
3.
4.
Click Retail > Setup > Retail scheduler > Channel integration > Channel
profiles.
4 - 11
3.
4.
Select the type of online channel that the profile is for. In Microsoft Dynamics
AX 2012 R2, only SharePoint online store is available. In Microsoft Dynamics
AX 2012 R3, you can also set properties for eBay, Amazon, and Retail Server.
5.
Click Add to add a property to the profile. For each property, provide the
following information:
6.
Property key Select the type of property to set for the selected
channel profile. The available properties depend on the profile
type that you selected. For example, for a profile type of
SharePoint online store, you can select the Catalog site
collection URL property.
Click Validate profile to confirm that the property information for the profile
is correct.
4 - 12
1.
Click Retail > Setup > Retail scheduler > Channel integration > Channel
database.
2.
3.
User name and Password Enter the user name and password
that Async Client uses to communicate with Async Server. You
must use a unique user name for each channel database profile.
The user name and password that you enter are created and used
only for the channel database profile. The user is not required to
exist in Microsoft Dynamics AX, in Active Directory, or on the
local operating system.
Async Server profile Select the Async Server profile to use with
On the Retail channel FastTab, click Add to select the channels that use this
database.
5.
If you use features that require Retail Server, such as Modern POS, enter
channel database information in the Retail Server FastTab. Enter the name of
the server that hosts the channel database, and then enter the name of the
channel database.
Reference Links: For more information about how to use earlier versions of
Retail POS, refer to the Support for Previous POS Versions white paper http://go.microsoft.com/fwlink/?LinkID=259822.
6.
To synchronize all data for the channel database, click Full data sync and
then select the distribution schedule that is named Full sync.
2.
3.
4.
5.
6.
4 - 13
Lesson Objectives
The objectives include the following:
Improve the category data for the presentation in the online store.
4 - 14
If you add or delete a category node, republish the channel and the
catalog that use the category hierarchy.
2.
3.
If you change the name of a category, republish the channel that uses
the category hierarchy.
Note: Before you can publish an online store, you must create a navigation
category hierarchy for a retail channel and assign the navigation category hierarchy
to the online store.
To maintain a retail channel navigation hierarchy, follow these steps.
1.
Click Retail > Setup > Category hierarchies > Retail channel navigation
hierarchies.
2.
On the Retail channel navigation hierarchies list page, on the Action Pane,
in the New group, click Category hierarchy to create a new channel
navigation hierarchy. Then, enter a name and description for the category
hierarchy. To modify an existing category hierarchy, select the category
hierarchy in the list.
3.
Click Edit to open the Category hierarchy form, and then modify the
structure of the category hierarchy.
4.
In the left navigation pane, select a category in the tree structure. Then, on
the Products FastTab, click Add to add one product at a time from the
products list. Or, click Add products to open the Add products form, and
then add one or more products to a selected category. If you use the Add
products form to add products to the category, you can select products from
any retail product hierarchy or any other hierarchy.
5.
6.
Click View attributes to view the list of attributes that are included in the
attribute group.
7.
4 - 15
2.
In the left navigation pane, select the root node or a specific category node.
3.
Note: You can add presentation text to add the category data that shoppers
can view when the shoppers browse in the online store.
4.
Click Images to open the Images form, and then enter the URL for where the
image is stored. You can also view the images that you already added and
select one image to be the default image. The default image is displayed for
the category in the online store.
5.
Click Videos to open the Videos form, and then enter the URL for where the
video is located. You can also view the videos that you already added and
select one video to be the default video. The default video is displayed for the
category in the online store.
4 - 16
Click Retail > Common > Retail channels > Online stores.
2.
On the Online stores list page, on the Action Pane, on the Channel tab, click
Online store.
3.
In the Online store form, on the General FastTab, enter information in the
following fields:
Field
Description
Name
Legal entity
Warehouse
Search name
Category hierarchy
4 - 17
Description
type. This field is located in the Channel product
attributes form, on the General FastTab. To open
the Channel product attributes form, in the
Online store form, on the Set up tab, click Store
product attributes.
Currency
Default customer
Customer address
book
Real-time Service
profile
Channel profile
Live channel
database
Email notification
profile
Note: In Microsoft Dynamics AX 2012 R3, you can only configure a Microsoft
Dynamics AX Retail store to use a warehouse that is managed in Inventory
management. You cannot configure a Retail store to use a warehouse that is
managed in Warehouse management.
4.
4 - 18
On the Languages FastTab, click Add to add the languages that can be
displayed in the online store. Select the Default check box to specify the
language that appears by default.
2.
In the Organization hierarchies form, select the hierarchy for which to add
the online store, and then click View.
4 - 19
4.
Click Insert, and then click Retail channel. In the Retail channel form, select
an organization for which to add the online store, and then click OK.
5.
After you finish making the changes, you have to do one of the following.
a.
To save a draft, on the Action Pane, click Save as draft. Your changes
are saved. However, the hierarchy does not become active.
b.
Note: If you close the Hierarchy designer form without saving the changes,
you may see a message that asks you to save the hierarchy as a draft or delete the
changes. If you close the message without making a selection, the changes are
deleted.
6.
4 - 20
1.
Click Retail > Common > Retail channels > Online stores. In the Online
stores list, double-click a store.
2.
In the Online store form, on the Action Pane, on the Channel FastTab, in the
Inventory group, click View assortments.
3.
4.
In the Assortments form, on the Retail channels FastTab, add the online
store. If you add a new assortment, enter any additional details for the
assortment. When you finish, close the form.
In the Online store form, on the Action Pane, on the Channel FastTab, in the
Pricing group, click Price groups.
6.
In the Retail channel price groups form, add the price groups for the online
store, and then close the form. Price groups define the trade agreements and
promotions that apply to the online store.
Note: To view the prices, price adjustments, and discounts for all the products
that are assigned to the online store, on the Action Pane, in the Pricing group, click
Pricing.
7.
a.
b.
Reference Links: For more information about how to map attributes, refer to
the article on Manage the Search Schema in SharePoint 2013 Preview
http://go.microsoft.com/fwlink/?LinkId=265297.
Reference Links: For more information about how to maintain product
attributes for a retail channel, refer to Add and update product attributes for retail
channels http://technet.microsoft.com/EN-US/library/dn497796.aspx.
c.
4 - 21
f.
g. Click Channel database to set up the links between the online store
in Microsoft Dynamics AX and the database that you use to publish
the online store.
Lesson Objectives
The objectives include the following:
4 - 22
4 - 23
Click Retail > Setup > Retail scheduler > Channel integration > Channel
data group.
2.
3.
In the Retail channel schema field, select a schema based on the version of
Microsoft Dynamics AX that is being used and the type of channel that is
included in the data group.
4.
For more information about how to specify working folders, refer to the article on
Specify working folders for Commerce Data Exchange
http://technet.microsoft.com/EN-US/library/dn621058.aspx.
The Channel database FastTab displays the channel databases that are included
4 - 24
2.
Note: If you already completed this task when you deployed Retail, you can
omit this procedure. The procedures in this documentation assume that you use the
jobs that are already set up when you initialized jobs and subjobs. If you have
modified these jobs or created additional jobs, you might want to modify the
procedures.
Download jobs Download jobs send data that has changed from Microsoft
Dynamics AX to channel databases. Modifications to records are tracked
through SQL Server change tracking.
Upload jobs (P jobs) Upload jobs pull sales transactions from a channel
into the Microsoft Dynamics AX database.
P jobs upload data incrementally. When a P job runs, Async Client checks the
replication counter for records that are already received from a location. The
instance of Async Client for the channel sends only those records that have a
replication counter that is more than the largest value found. P jobs do not
update data that is previously uploaded.
4 - 25
Click Retail > Setup > Retail scheduler > Scheduler subjobs.
2.
Click New to create a new subjob, or select the subjob to modify. You can
also copy the settings of an existing subjob to a new subjob.
3.
If you create a subjob, enter a unique identifier for the subjob in the Subjob
number field. Optionally, enter a description.
4.
If the subjob replicates data from the channel database and writes data to the
Microsoft Dynamics AX database, select the Pull data check box.
5.
In the Retail channel schema field, select the schema to use for the subjob,
based on the Microsoft Dynamics AX version and the type of channel.
6.
In the Channel table name field, enter the name of the table in the channel
database. In the Microsoft Dynamics AX table name field, enter the name
of the table in the Microsoft Dynamics AX database. For P jobs, you must also
specify the temporary database table to use. To create the temporary table,
click Create staging table.
7.
Reference Links: For more information about fields that are not described in
this topic, refer to the article on scheduler subjobs (form)
http://technet.microsoft.com/en-us/library/hh597422.aspx.
4 - 26
1.
Click Retail > Setup > Retail scheduler > Scheduler jobs.
2.
Click New to create a new job, or select the job to modify. You can also copy
the settings of an existing job to a new job.
3.
If you create a job, enter a unique identifier for the job in the Job name field.
Optionally, add a description.
4.
In the Retail channel schema field, select the schema to use for the job,
based on the Microsoft Dynamics AX version and the type of channel.
In Microsoft Dynamics AX 2012 R3, if the subjob replicates data from the
channel database and writes data to the Microsoft Dynamics AX database,
select the Is upload check box.
6.
7.
8.
Reference Links: For more information about fields that are not described in
this topic, refer to the article on Scheduler job (form)
http://technet.microsoft.com/en-us/library/hh672166.aspx.
Create the online store and configure properties in Microsoft Dynamics AX.
5.
After you complete steps 1 through 4, you can publish the product schema to
SharePoint.
The Process for Publishing the Online Store figure shows how to publish a Retail
online store channel.
4 - 27
The Commerce Data Exchange: Async server reads information about the
online store, hierarchies, and properties in the Retail store database. Then, the
Async server sends the information to the Commerce runtime (CRT).
The Retail publishing job, which runs as a SharePoint timer job, receives
information about synchronized tables from the CRT API and creates
hierarchies for the site that you created in SharePoint.
The Commerce Data Exchange: Real Time Service receives the status of the
Retail publishing job actions from the CRT API and publishes that status in
Microsoft Dynamics AX. The status is displayed as Published or Error.
4 - 28
If you add or delete a category node, republish the online store and
the catalog that use the category hierarchy.
If you start or stop a category, republish the online store and the
catalog that use the category hierarchy.
If you change the name of a category, republish the online store that
uses the category hierarchy.
If the online store is being published for the first time, follow these steps.
1.
Click Retail > Common > Retail channels > Online stores. In the Online
stores list, double-click a store.
2.
In the Online store form, on the Action Pane, on the Channel FastTab, click
Publish to publish the channel to a SharePoint site. When you click the
Publish button, the Publishing status is set to In progress.
3.
Click Retail > Periodic > Data distribution > Distribution schedule. Select
the distribution schedule 1070, and then click OK.
4.
In the Job for initial replication of data to an environment form, leave all
fields as they appear by default, and then click OK.
5.
After the scheduler job is finished, one of the following publishing statuses is
displayed for the online store:
a.
b.
Click Retail > Common > Retail channels > Online stores. In the Online
stores list, double-click a store.
2.
In the Online store form, on the Action Pane, on the Channel FastTab, click
Publish to publish the channel to a SharePoint site. When you click the
Publish button, the Publishing status is set to In progress.
3.
Click Retail > Periodic > Data distribution > Distribution schedule. In the
Distribution schedule form, in the left navigation pane, select the
distribution schedule 1070.
4.
4 - 29
iii.
Reference Links: For more information about the options in the form, refer to
Submit a batch processing job from a form http://technet.microsoft.com/ENUS/library/aa619588.aspx.
5.
6.
After the scheduler job is finished, one of the following publishing statuses is
displayed for the online store:
o
If a retail catalog is set up for the online store, also run the 1150 (Catalog) job
to publish the catalog data by following the instructions in step 3.
4 - 30
Click Retail > Periodic > Data distribution > Distribution schedule.
2.
3.
4.
Select Active to start the distribution schedule. If this option is not marked,
the distribution schedule will not run.
5.
If you create a new distribution schedule, select the direction in which the
data will move. You can select from the following:
6.
On the Data groups FastTab, click Add to add one or more data groups to
the schedule. When you run the distribution schedule, a data package is
generated for each data group. All channel databases in a data group
subscribe to the same data. To remove a data group from the schedule, select
the data group and then click Remove.
7.
On the Scheduler jobs FastTab, click Add to add one or more jobs to the
schedule. To remove a job from the schedule, select the job, and then click
Remove.
A batch job is a scheduled run of a job or a group of jobs. When you create a
batch job, you set up a timer in the AOS instance. The job is then run
automatically on the server. To run batch jobs, you must configure the batch
server.
To set up a batch job for a distribution schedule, follow these steps.
Click Retail > Periodic > Data distribution > Distribution schedule.
2.
3.
On the Scheduler jobs FastTab, select the Enabled check box for each
scheduler job that the batch job should run.
4.
Click Create batch job. In the form that is displayed, enter information about
the batch job.
4 - 31
Lesson Objective
The objective is to explain how to manage online store products in Microsoft
Dynamics AX 2012.
The topics discussed in this lesson include the following:
Reference Links: For more information about how to set up retail products
refer to http://technet.microsoft.com/EN-US/library/hh597210.aspx.
4 - 32
Set up retail product catalogs and configure attribute groups and workflow.
Reference Links: For more information about how to set up retail product
catalogs refer to http://technet.microsoft.com/EN-US/library/jj728683.aspx.
When you manage the online store products in Microsoft Dynamics AX, you must
perform the following activities:
Note: Important: This lesson begins by adding assortments and price groups
to the online store. Then the lesson focuses on how to manage and publish the
online store catalog. The activities to manage prices, taxes, price adjustments and
discounts are not unique to the online store and are performed by using the
Microsoft Dynamics AX Retail module.
Click Retail > Common > Retail channels > Online stores. In the Online
stores list, double-click a store.
2.
In the Online store form, on the Action Pane, on the Channel FastTab, in the
Inventory group, click View assortments.
3.
On the Action Pane, in the New group, click Assortment to add a new
assortment. Or, in the View assortments list, double-click an existing
assortment.
4.
In the Assortments form, on the Retail channels FastTab, add the online
store. If you add a new assortment, enter any additional details for the
assortment.
5.
4 - 33
4.
Click Retail > Common > Retail channels > Online stores. In the Online
stores list, double-click a store.
In the Online store form, on the Action Pane, on the Channel FastTab, in the
Pricing group, click Price groups.
In the Retail channel price groups form, add the price groups for the online
store, and then close the form. Price groups define the trade agreements and
the promotions that apply to the online store
To view the prices, price adjustments, and discounts for all the products that
are assigned to the online store, on the Action Pane, in the Pricing group,
click Price list.
Note: The Online store has to be in Draft status for the price group to be added.
4 - 34
Description
Attributes contain details about the product. You can assign
attributes to the retail channel or to a category. Assign
attributes to the retail channel if the attributes apply to the
whole channel. Assign attributes to a category if the
attributes apply only to the products that are assigned to
that category. Attribute values can be modified in the
catalog.
Products that you add to the catalog inherit the attributes
that you set at the channel or category level. The attributes
and attribute values appear in the online store. For example,
an attribute might be Color, and an attribute value might be
Green.
You can also combine attributes into attribute groups. This
makes it easier to assign multiple attributes to categories or
retail channels at one time.
You can edit the product attributes in a catalog in bulk by
using Microsoft Excel
HTML rich text is an attribute type that you can use to add
rich text details to highlight the catalog products or the
4 - 35
Description
retail product categories. When the catalog is published, the
rich text appears in the online store.
For example, you can advertise a sale or promotion and use
HTML rich text to obtain the shoppers attention in the
online store.
Images and
videos
Images and videos are attribute types that you can use to
add images or demonstration videos to the products.
For example, if the online store offers clothing, you can
display images of the clothing in different styles or colors. If
the online store offers exercise equipment, you can show a
demonstration of the exercise equipment. You add images
and videos by entering the URL for the location where the
image and video styles are stored. You can add multiple
images and demonstration videos to the products.
Products
Product relations
Retail channel
The Catalog Conceptual Model figure shows the important concepts that are
needed to manage the product catalog.
4 - 36
The Catalog Process Flow figure shows the catalog process flow.
4 - 37
3.
4.
Click Retail > Common > Catalogs > Catalogs. On the Action Pane, in the
New group, click Catalog to create a new catalog.
You can also create a new catalog by copying an existing catalog. To copy a
catalog, on the Catalogs list page, select a catalog, and then, on the Action
Pane, in the Maintain group, click Copy.
In the Create new catalog dialog box, type a name and description for the
catalog.
In the Catalogs form, on the General FastTab, select the catalog owner and
enter an effective date and the expiration date for the catalog. When the
catalog is published, the effective date and the expiration date determine
when to make the products available in the online store. The Expiration date
is optional. Leave this field blank if the catalog does not expire.
5.
6.
In the Choose organization nodes form, select the online stores that to
which the catalog applies, and then click Add >>.
7.
Note: The online store must be set up before you can create a catalog, and it
must be published before you can publish the catalog.
8.
In the Add products form, select the products that you want to add, and then
click OK. The product list is filtered by the assortments that are assigned to
the online stores that you selected on the Retail channels FastTab.
Note: If you add a product master to the catalog, any variants that are
defined for the product master are also automatically added to the catalog. When
the catalog is published, the product master and all the product master variants are
made available in the online store.
Products that are assigned to a category are automatically added to that category
in the catalog. Products that are not assigned to a category are added to the
Uncategorized category in the catalog. Products in the Uncategorized category
must be manually assigned to the appropriate category in the catalog.
4 - 38
2.
On the Products FastTab, select the products that you want to categorize.
3.
4.
Select the categories to which you want to move the products to.
You can select one or more products to move to a single category at the same
time. To move products to different categories, you must select the products and
move the products one at a time.
5.
In the category navigation pane, select each category in the catalog and do
one or more of the following:
a.
b.
c.
Note: To remove products from the whole catalog, on the Action Pane, click
Remove products, and then in the Remove products dialog box, select the
products that you want to remove.
d. Click Related products to open the Related products form and then
view the list of products that are associated with the product. You can
select whether to include or exclude the related products in the
catalog.
6.
Click Attributes to view the attributes that are assigned to the products and
to add or modify attribute values. If HTML rich text attributes, image
attributes, or video attributes are assigned to the product, in the Product
attribute values form, click Edit to add the HTML rich text or the URLs for
the images or video files.
4 - 39
Click Retail > Common > Catalogs > Catalogs. On the Catalogs list page,
select a catalog, and then, on the Action Pane, in the Maintain group, click
Edit.
2.
In the Catalogs form, on the Action Pane, in the Publish group, click
Validate catalog.
3.
In the Validate catalog form, click Validate catalog to run the validation
process. If you have never run the validation process for the catalog, then the
fields in the form are blank. If you have run the validation process for the
catalog, then the results from the last validation are displayed in the form.
You can run the validation process as many times as needed.
4.
In the Channel summary section, review any errors or warnings for the online
store.
5.
In the Product summary section, in the Channel field, select the online
stores that are assigned to the catalog, and then review any errors or warnings
for the products.
6. Correct any errors that are found by the validation process. Then, repeat steps
2 through 5 until the catalog is valid and ready to be submitted for review.
4 - 40
2.
On the Catalogs list page, select a catalog, and then, on the Action Pane, in
the Maintain group, click Edit.
3.
In the Catalogs form, in the workflow message bar, click Submit. The catalog
status is changed from Draft to Submitted for approval.
4.
If you are an approver, in the Catalogs form, in the workflow message bar,
click Approve. When the catalog is approved, the catalog status changes to
Approved.
4 - 41
4 - 42
The system determines whether any new attributes are added for the
listing. If a new attribute exists, for example if the listing red jeans
includes a new attribute called texture, and this attribute is marked
as Included at the channel level, then the system creates a custom
site column for that attribute. The system creates a new rule for this
list item and finishes the process in SharePoint by creating a new row
for the red jeans listing.
The Retail Product Catalog Publishing Process figure shows the Retail Product
Catalog publishing process.
4 - 43
4 - 44
In Microsoft Dynamics AX, the expiry date is set to the current date and time.
The system sets the catalog publishing status to In progress.
Commerce Data Exchange: Synch Service synchronizes the tables that are
related to the expired listings to the online storefront.
In the online storefront, the system deletes all affected listings from the CRT
database.
SharePoint deletes all affected listings from the product catalog site. Now,
these listings are not available on the publishing site.
The CRT records the publishing status as expired for all affected listings.
4 - 45
2.
On the Catalogs list page, select a catalog, and then, on the Action Pane, in
the Maintain group, click Edit.
3.
In the Catalogs form, on the Action Pane, in the Publish group, click Publish.
4.
In the Publish catalog form, in the Publish field, select one of the following
options:
a. Only products that have changed Select this option to
publish only the changes that are made to the catalog since
the last time that the catalog is published.
a.
All products Select this option if this is the first time that the
catalog is being published, or if you want to republish the whole
catalog.
5.
In the Product totals by channel grid, review the total number of product
listings to be created, updated, or deleted when the publishing process is
completed.
6.
7.
In the Catalogs form, on the Retail channels FastTab, select an online store,
and then click Listings.
8.
Or, on the Products FastTab, click Listings to review the product listings for a
specific category.
9.
In the Listings form, review the product listings that the publishing process is
creating, updating, or deleting for the selected online store. You can also
review the listing status that is updated by Microsoft Dynamics AX Commerce
Runtime. The following statuses are displayed:
a.
b.
c.
4 - 46
Enter URLs for images and videos directly in the spreadsheet and
upload that data back to Microsoft Dynamics AX.
Select the appropriate value from a fixed list when multiple values are
assigned to a specific attribute.
Prerequisites
Before you can use Excel to bulk edit product attributes in a retail catalog, you
must complete the following tasks.
Task
More information
http://technet.microsoft.com/ENUS/library/dn292561.aspx
http://technet.microsoft.com/ENUS/library/hh227548.aspx
4 - 47
More information
http://technet.microsoft.com/ENUS/library/jj728713.aspx
http://technet.microsoft.com/ENUS/library/hh580593.aspx
http://technet.microsoft.com/ENUS/library/jj682095.aspx#ConfigureAnd
Publish
http://technet.microsoft.com/ENUS/library/jj728712.aspx
http://technet.microsoft.com/ENUS/library/dn497796.aspx
Note :
http://technet.microsoft.com/ENUS/library/dn497796.aspx
Bulk Edit Attributes for Products that are Included in a Retail Catalog
This procedure applies to all versions of Retail in Microsoft Dynamics AX 2012. If
you use Microsoft Dynamics AX 2012 R3, you must complete some additional
steps that are described later in this section.
To use Excel to bulk edit attributes for products in a retail catalog, follow these
steps.
1.
2.
On the Catalogs list page, select a catalog, and then, on the Action Pane, in
the Maintain group, click Edit. If the catalog is already published, when you
click Edit this changes the catalog status to a status of Draft.
3.
4 - 48
It might take a several minutes for Excel to open and the attributes to appear.
4.
In Excel, edit the attributes for the products in the categories that you
selected.
5.
When you finish editing the attributes, in Excel, click the Dynamics AX tab,
and then in the Update group, click Publish. This process might take several
minutes.
6.
2.
On the Products FastTab, select a product in the grid, and then click
Attributes.
Additional Steps for Microsoft Dynamics AX 2012 R3
If Microsoft Dynamics AX 2012 R3 is installed, you must publish the updated data
and then send the updated data to the stores.
To publish the updated product attributes, follow these steps.
1.
In the Catalogs form, on the Action Pane, in the Publish group, click Publish.
2.
In the Publish catalog form, in the Publish field, select one of the following
options:
a.
b.
4 - 49
b.
Lesson Objective
The objective is to explain how to set up shipping charges for the online store in
Microsoft Dynamics AX 2012 R3.
4 - 50
Click Procurement and sourcing > Setup > Distribution > Modes of
Click New or select an existing mode of delivery, and then, on the Retail
channels FastTab, click Add line to add one or more channels that use the
mode of delivery.
3.
4.
5.
6.
On the Products FastTab, specify the products to include or exclude from the
mode of delivery. Click Add line to add one line, or click Add products to add
multiple lines.
7.
On each line, in the Category and Product fields, specify the product. If the
product is a variant, select the product in the Product variant field.
8.
In the Line type field, specify whether to include or exclude the product from
the mode of delivery. For example, if all the products except one product use
the mode of delivery, add two lines. On the first line, select ALL in the
Category field, and select Include in the Line type field. On the second line,
specify the product to exclude, and then select Exclude in the Line type field.
9.
On the Addresses FastTab, click Add line to specify the countries or regions
and states or provinces to include or exclude from the mode of delivery. For
example, if the mode of delivery does not serve Alaska or Hawaii, add three
lines. On the first line, select USA in the Country/region field, and then select
Include in the Line type field. On the second line, select USA in the
Country/region field, select AK in the State/province field, and then select
Exclude in the Line type field. On the third line, do the same to exclude
Hawaii.
For information about how to create modes of delivery, refer to
http://technet.microsoft.com/EN-US/library/aa619881.aspx. <
A fixed amount for a range of order totals. This includes free shipping
for order totals greater than a specified amount.
You can also define a shipping charge for a mode of delivery, a group of modes of
delivery, or all modes of delivery.
To setup the shipping charges to be used by an Online Store, follow these steps.
4 - 51
2.
3.
In the Account code and Customer relation fields, do one of the following:
a.
b.
c.
4. In the Mode of delivery code and Mode of delivery relation fields, do one of
the following:
If you want the shipping charges to apply to a specific
mode of delivery, select Table in the Mode of delivery
code field, and then, in the Mode of delivery relation
field, select the mode of delivery.
b.
c.
5.
6.
In the From amount field and the To amount field, specify the transaction
totals to which the shipping charge applies. For example, if you want all orders
that are less than 100.00 United States dollars (USD) to be charged 5.00 USD for
shipping, and orders that are 100.00 USD or more to have free shipping, add
two lines that contain the following values:
7.
4 - 52
a.
From amount
To amount
Charges value
First line
100
Second line
100
<blank>
If you want the shipping carrier to provide the shipping charge, in the Category
field, select External.
4 - 53
Module Review
This module discussed the tasks, procedures and configuration options that are
required to set up the online store in Microsoft Dynamics AX 2012.
The lessons described in this module include the following:
.
Best Practice: How you publish the online store depends on the version of
Microsoft Dynamics AX 2012 that you use and whether you publish the online store
for the first time or republish an existing online store.
If you change a category in a navigation category hierarchy that is assigned to an
online store or a retail product catalog, you must republish the online store or
catalog as follows:
If you add or delete a category node, republish the online store and
the catalog that use the category hierarchy.
If you start or disable a category, republish the online store and the
catalog that use the category hierarchy.
If you change the name of a category, republish the online store that uses the
category hierarchy.
The online store must be set to a status of Published before a retail product catalog
can be published to the online store. For information about how to create retail
product catalogs refer to http://technet.microsoft.com/en-us/library/jj728697.aspx
4 - 54
How many Catalog site collection URL properties can you set up in the online
channel profile?
( ) You can set up two Catalog site collection URL properties in the
online channel profile.
( ) You can set up multiple Catalog site collection URL properties in the
online channel profile.
( ) You can set up one Catalog site collection URL property in the online
channel profile.
2.
3.
4.
Can you assign the online store to one or more organizational hierarchies?
( ) No, you cannot assign the online channel to an organizational
hierarchy.
( ) Yes, you can assign the online channel to only one organizational
hierarchy.
( ) Yes, you can assign the online channel to one or more organizational
4 - 55
Select the component that is created at a SharePoint site when the online
store is published.
( ) The layout for the online store home page
( ) The online store navigation hierarchy
( ) The online product catalog
6.
Which of the following is the correct process that is used to create and
process the online store catalog?
( ) Create a catalog, validate the catalog, publish the catalog
( ) Create a catalog, add products and categories, submit the catalog for
approval, publish the catalog
( ) Create a catalog, validate the catalog, submit the catalog for approval,
publish the catalog
7.
Where can you configure the shipping charges for the online store?
( ) Microsoft Dynamics AX Retail
( ) Microsoft Dynamics AX Sales and Marketing
( ) CRT shipping service
4 - 56
How many Catalog site collection URL properties can you set up in the online
channel profile?
( ) You can set up two Catalog site collection URL properties in the
online channel profile.
( ) You can set up multiple Catalog site collection URL properties in the
online channel profile.
() You can set up one Catalog site collection URL property in the online
channel profile.
2.
3.
4.
Can you assign the online store to one or more organizational hierarchies?
( ) No, you cannot assign the online channel to an organizational
hierarchy.
( ) Yes, you can assign the online channel to only one organizational
hierarchy.
() Yes, you can assign the online channel to one or more organizational
hierarchies.
5.
Select the component that is created at a SharePoint site when the online
4 - 57
Which of the following is the correct process that is used to create and
process the online store catalog?
( ) Create a catalog, validate the catalog, publish the catalog
( ) Create a catalog, add products and categories, submit the catalog for
approval, publish the catalog
() Create a catalog, validate the catalog, submit the catalog for approval,
publish the catalog
7.
Where can you configure the shipping charges for the online store?
() Microsoft Dynamics AX Retail
( ) Microsoft Dynamics AX Sales and Marketing
( ) CRT shipping service
4 - 58
Objectives
The objectives include the following:
Set Up Details
Document
Release
Notes
Technical
Guide
Retail Point
of Sale User
List
Link
https://mbs.microsoft.com/files/customer/AX/Downloads/Se
rvicepacks/ReleaseNotesAX2012R3SolutionDemoPackageV1
0.pdf
https://mbs.microsoft.com/files/customer/AX/Downloads/Se
rvicepacks/TechnicalGuideAX2012R3SolutionDemoPackage
V10.pdf
https://mbs2.microsoft.com/fileexchange/?fileID=cf70c1d3b430-4f1d-8afe-98b8389df94a
4 - 59
https://mbs.microsoft.com/files/customer/AX/Downloads/Se
rvicepacks/AX2012R3SolutionDemoPackageOverview.pdf
How to Set
up Virtual
Networking
https://mbs2.microsoft.com/fileexchange/?fileID=f817c2cef2a3-494c-9993-65571deafef1
4 - 60
Objectives
The objectives include the following:
Explore the setup of the online channel for the Contoso online starter
store.
Publish the online channel.
2.
3.
4.
Detailed Steps
The detailed steps include the following:
1.
2.
3.
4.
4 - 61
5.
4 - 62
If a confirmation dialog box appears, click Yes to confirm that you will
edit the store and move the store to the draft mode.
The Online store form is displayed. This form includes the configuration
settings for the online store, the online storefront and for Microsoft
Dynamics AX processing.
7.
8.
9.
Explore the Online store window. Notice that, for example, that you can
set up the navigation category hierarchy, the payment connector, the
languages, and other options.
Click the Set up FastTab, and then click Store product attributes. You
will find that the Contoso online store is selected. Now, click the Set up
FastTab, and then click Set attributes metadata.
10. Explore the product attributes that are displayed. You can configure how
the different attributes will be used in the online storefront. For example,
whether an attribute can be searched, or if an attribute should be used as
a refiner. Click the Processor attribute.
4 - 63
4 - 64
15. In the Store locator groups form, notice that there is only one store
locator group, All stores, that is set up for the Contoso online channel,
and then click Close to return to the Online store window.
16. Now, explore the profiles that are set up for the Contoso online store. In
the Online store window, on the Profiles section, explore the settings for
a profile configuration in the Contoso online store, such as the Real-time
Service Profile and the Channel profile.
17. In the Online store window, click the Channel FastTab, and then click
Publish.
18. Click Yes in the dialog box that is displayed to confirm the channel
publishing.
19. Click Close to close the Online store window.
20. Return to the Retail area page by clicking Retail in the navigation path
on the upper side of the screen. Leave the Microsoft Dynamics AX client
open if you continue to the next exercise.
4 - 65
Objectives
The objectives include the following:
2.
3.
4.
5.
Explore listings.
6.
7.
Detailed Steps
The detailed steps include the following:
1.
2.
Open the Microsoft Dynamics AX client and select Retail if the Microsoft
Dynamics AX client is not already open.
In the Common section, click Assortments.
Assortments are used to determine where and when products are
available, for both brick and mortar stores and online stores.
4 - 66
4.
5.
6.
4 - 67
Explore the attribute metadata. Click USRT on the navigation path and
select Product Information Management, or select Product
Information Management area in the left navigation pane.
Custom attributes can be defined to add the needed metadata to
generate effective search and refinement in the online channel.
8.
9.
10. Review the attributes in the SLR Cameras group. Notice that you can set
up the default value at the attribute level. Now you can add more
information about the attributes for a specific product in a specific
channel and, or for a specific time, by using a catalog.
4 - 68
15. Click Edit, and then click Yes to confirm that you want to edit the catalog.
16. In the category hierarchy, in Electronics, expand the Cameras node and
then select Digital SLR cameras.
4 - 69
19. The attributes can also be viewed in list form. Click Show list to view the
attributes in a list. Notice the Attribute source column that lists where the
attribute is set up.
4 - 70
22. Review the listings, and then close the Listings form to return to the
Electronic Catalog window.
23. In the Electronics catalog window, clear the selection for A. Datum SLR
Camera X135.
24. Remove a product from the catalog. Select the product variant Pink A.
Datum SLR Camera X135, and then on the upper area of the Products
list, click Remove.
4 - 71
25. The black product variant is removed. Notice that the pink and the silver
variants remain in the catalog.
26. In the Publish group, click Validate catalog to validate that the catalog
is ready to be published and that there are no errors in the catalog.
4 - 72
28. After the validation is completed, review the validation results. If there are
no errors or alerts, click Close.
29. In the Publish group, click Publish.
Important: The lab environment is set up for the catalog to be automatically
approved for publishing. However, in live implementations, we recommend
that you start the approval workflow for catalog publishing.
30. In the Publish catalog form, in the Publish field, select Only products
that have changed to publish only the changes that are made to a
catalog since the last time that the catalog is published.
31. In the Product totals by channel grid, review the number of product
listings to be created, updated, or deleted when the publishing process is
completed.
32. Click OK to start the publishing process.
33. In the Catalogs form, on the Retail channels FastTab, select an online
store, and then click Listings.
34. In the Listings form, review the product listings that the publishing
process is creating, updating, or deleting. The following statuses are
displayed:
a. In progress The catalog is being published, republished, or
retracted.
b. Success The publishing process is completed and the product
listings are updated in the online store.
c. Error An error occurred, and the product listing could not be
processed.
35. Explore other options in the catalog window if you want, and then close
the Microsoft Dynamics AX client.
4 - 73
2.
Open the Product Catalog site and validate that the black A.
Datum SLR Camera X135 is removed from the product
catalog.
3.
Open the online store site and validate that the black A.
Datum SLR Camera X135 is no longer available.
Detailed Steps
The detailed steps include the following:
1.
2.
4 - 74
5.
6.
7.
8.
In the search box, type X135 to locate the A. Datum SLR Camera X135,
and then click the magnifying glass to start the search.
4 - 75
9.
Two results are displayedthe pink camera and the silver camera. Click
the first product link, scroll down to view the RetColor attribute and
validate that its value is Pink.
10. Explore the list of attributes, and then scroll to the bottom of the
attributes list, and then click Close.
11. Optionally, repeat step 8 and step 9 to validate that the second product
variant is for the silver camera and its RetColor attribute is set to Silver.
12. Open the store site www.contoso.com and validate that the black A.
Datum SLR Camera X135 is no longer available in the online store.
Note: Depending on the crawler settings, you might have to wait several
4 - 76
4 - 77
Objectives
The objectives of this module are as follows:
5-1
Search-Driven Sites
Lesson Objectives
The objective is to describe the concepts that are related to the search in an
e- commerce setting.
Search-Driven Sites
The out-of-the-box starter storefront that is included with Microsoft Dynamics AX
2012 R3 is fully functional. The starter storefront can serve as a starting point to
create a customized user experience that is based on specific requirements.
5-2
Define synonyms.
Import terms.
As an administrator, you can define result sources (six) based on the content that
is available from the search index. One way to quickly understand the concept of a
result source is to consider the result source as a reusable query. You can create
result sources to specify a location from which search results can be retrieved, for
example, the URL for a catalog. Or you can specify that search results are only to
be retrieved for a particular item typefor example, pictures.
One example might be to set the result source to include all listings that are
currently valid (in other words, outdated listings never appear on the site).
Finally, the online store queries (seven) the index. When the query-processing
component receives a query from the search front end, the query-processing
component analyzes and processes the query to improve precision, recall, and
relevance. The processed query is submitted to the index component. The index
component returns a result set. The result set is based on the processed query that
is sent to the query-processing component. Then, the query-processing
component processes the result set, before the result set is returned to the search
front end.
Reference Links: For more information about the search components, refer
to http://technet.microsoft.com/EN-US/library/jj219738.aspx.
Cross-Site Publishing
This lesson describes the basic concepts that are related to cross-site publishing
and how to verify cross-publishing in an e-commerce setting.
5-3
Cross-Site Publishing
The cross-site collection publishing feature in SharePoint Server 2013 works as
follows: you use the authoring site collection (product catalog site) to author and
store content, and one or more publishing site collections to control the design of
the site and to show the content. The functionality that is provided by this feature
is called cross-site publishing. Site collections are available as part of the Retail
online starter store.
The authoring site collection, known as the Product Catalog Site, includes a list
of product data and all libraries and lists are shared as catalogs.
The product catalog content web application uses Active Directory to authenticate
content authors. The catalogs are indexed by the search system and made
available to the publishing site collection (publishing portal).
The publishing site collection (publishing portal) issues queries for data that is
indexed. The publishing site collection shows the data on web pages by using
Web Parts that use search technology (for more information, refer to the
following section).
The publishing portal web application uses Active Directory authentication for
designers and forms-based authentication for web users. This web application is
configured so that web users can have anonymous access. Additionally, you brand
content on the publishing site.
Note: As mentioned in the, E-commerce Architecture module the publishing
site collection is outside the firewall. Therefore, the asset library is located in a
separate site collection (in the same web application as the publishing site
collection) so that users on the publishing sites have read access to those assets.
Internal users such as designers and other content authors have Contribute
permission to add, update, and delete items in the asset library. The asset library is
added to the Suggested Content Browser Locations list for the authoring and
product catalog site collections so that content authors can use those assets in their
content.
Validate the Connection between the Publishing Portal and Authoring Site
To validate that the E-commerce Publishing Portal is connected to the Product
catalog/Authoring site (achieved automatically when the starter store is
5-4
http://ServerName:40001/sites/RetailProductCatalog
This is the retail product catalog site.
http://ServerName:40002/sites/RetailPublishingPortal
This is the retail publishing portal. This is also the Contoso Electronics
Superstore site.
To manage the catalog connections, browse to Site settings > Manage catalog
connection. (Click Connect to catalog to view all the available catalogs.)
2.
5-5
4.
Lesson Objectives
The objectives are as follows:
5-6
1.
Click Retail > Common > Retail channels > Online stores. In the
Online stores list, double-click a store.
2.
In the Map attributes form, for each category in the online store,
select the options that indicate how the attributes for each category
or channel product should behave in the online store on the
SharePoint site. The attributes are mapped to the managed properties
on the SharePoint site.
For example, you can select whether an attribute can be searched, refined,
retrieved, sorted, and queried. These options determine how the value of this
attribute is saved in the search index on the SharePoint site, and if and how this
attribute appears in the online store pages.
5-7
What it does
Example
setting
SharePoint list/library
required after changing
setting
Searchable
Queryable
Yes
Refineable
programmatically.
Enables the content of this
managed property to be
managed property to be
5-8
Master pages define the shared framing elements for all pages in the
site. These elements can include the header and footer, top navigation,
breadcrumbs, search box, site logo, and other branding elements. The
master page remains consistent as visitors browse the site.
Page layouts define the layout for a specific class of pages. A page layout
is a template for a specific type of page in your site, such as a product
gallery page or a product details page. As its name implies, a page layout
defines the layout or structure for the body of a page.
Pages are created from a page layout by authors who add content to
page fields.
o
o
o
Authors can create pages and add content to the page fields, and the
authors can add Web Parts to any Web Part zones or Rich Text
Editors.
Pages are structured so that content authors cannot make changes
outside page fields.
In the search-driven pages scenario, the SharePoint page also
contains the following:
5-9
The Master Page, Page Layout, and Page with Web Part figure shows the Master
Page, page layout and page with a web part.
FIGURE 5.3: MASTER PAGE, PAGE LAYOUT, AND PAGE WITH WEB PART
5 - 10
Page layouts
My account
Order history
Product details
Product gallery
Product quick view
Address edit
Associate customer
Change password
Checkout confirm
Facebook logon
Display templates
Item_ProductDetails
Item_ProductGallery
Item_ProductQuickView
Web Parts
Add to cart
Checkout
Promotion code
Submit order
Mini shopping cart
Shopping cart
Address
Customer
5 - 11
5 - 12
5 - 13
5 - 14
Query Rules
This lesson describes query rules and how the query rules are used to support
content.
Lesson Objectives
The objectives are as follows:
5 - 15
5 - 16
Description
Configuration
Example
Query
Matches
Keyword
Exactly
Query
Contains
Action Term
Query
Matches
Dictionary
Exactly
5 - 17
5 - 18
Description
Configuration
Example
matches a dictionary
entry.
dictionary. To specify
a different dictionary,
click Import from
taxonomy. Then
from the Import
from taxonomy
dialog box, select a
term from a term set,
and then click Save.
preconfigured People
Names dictionary.
Query More
Common in
Source
Result Type
Commonly
Clicked
In the Commonly
clicked results
match result type
menu, select a result
type.
Advanced
Query Text
Match
To match all
telephone numbers
that are in a certain
format, you specify a
regular expression in
the Query matches
Description
cause the query rule
to be applied.
Configuration
Example
this regular
expression box.
To browse to the Manage query rules page for a site, follow these steps.
1.
Verify that the user account that performs this procedure is a member
of the Owners group for the site.
2.
3.
2.
3.
4.
5.
I.
II.
2.
3.
5 - 19
ii.
In the Add User Segment dialog box, in the Title field, type the title
for this rule.
iii. In the Import from taxonomy dialog box, select a term that
represents a user segment that will cause the query rule to be applied
when it appears in a query.
iv. Click Save.
v.
b.
c.
This can be very useful when a query rule must be active for a set period, for
example when certain products should be on sale.
Lesson Objective
The objective is to describe the basic concepts that are related to dynamic
navigation and facets.
Refiners
You can add refiners to a page to help users quickly browse to specific content.
Refiners are based on managed properties from the search index and are
managed through the Publishing Portal site collection.
The two types of refiners (both are based on managed properties) include the
following:
5 - 20
Stand-alone refiners
Stand-alone refiners are usually applied in scenarios where you have unstructured
content, and where the refiners can be applied across all content. These refiners
are frequently used on a search results page to narrow search results. An example
is brand or color that applies to all products.
However, on a product site, many product categories are handled, each with
specific requirements. For cameras, the number of pixels might be of interest,
whereas the hard disk drive is important for computers.
The Content Search Web Part is used to display content on the category page.
Because the Content Search Web Part uses search technology to display search
results, you can use refiners to narrow search results that appear in the Content
Search Web Part.
Adding refiners for faceted navigation is performed on the tagging term set on
the authoring side. When you specify the refiners to use in a specific category, it is
helpful to use the tagging term set as a guide.
In the Contoso scenario, this is the Product Hierarchy term set. By default, when
the refiner's label appears, the label displays the name of the Managed Property.
If that is not what you want, you must specify the label that will be displayed for
the label that corresponds to the managed property.
By default, all children of a term inherit refiners that are added to a parent term.
For example, a refiner that is added to the term "Cameras" applies to all its
children, such as "Camcorders or Camera accessories. You can override this
inheritance to add or remove refiners for a child category.
Verify that the user account that performs this procedure is a member
of the Designers SharePoint group on the authoring site collection.
2.
3.
4.
In the Taxonomy Term Store section, select the term set that you
want to enable for faceted navigation.
5 - 21
Click the Indented use tab, and then select Use this Term Set for
Faceted Navigation.
6.
Click Save.
Verify that the user account that performs this procedure is a member
of the Designers SharePoint group on the authoring site collection.
2.
3.
4.
In the TAXONOMY TERM STORE section, click the term set that you
have enabled for faceted navigation.
5.
6.
7.
In the Configuration for section, specify how you want each refiner
to appear.
8.
5 - 22
1.
Verify that the user account that performs this procedure is a member
of the Designers SharePoint group on the authoring site collection.
2.
3.
4.
In the Taxonomy term store section, click the term set that you have
enabled for faceted navigation, and then click the term to which you
Click the Faceted navigation tab, and then click Stop inheriting.
6.
Click the Faceted navigation tab, and then click Customize refiners.
7.
8.
In the Configuration for section, specify how you want each refiner
to appear.
9.
Browse to the page where you want to add the Refinement Web Part
(RWP).
2.
3.
In the Web Part Zone where you want to add the Web Part, click Add
a Web Part.
4.
5.
When you add the Refinement Web Page to a page, it shows some default
properties. Because you want to use refiners that are specific to the store, you
have to configure the Web Part accordingly.
5 - 23
In the Web Part (refiners), click the Web Part Menu, and
then click Edit Web Part.
2.
3.
5 - 24
5 - 25
2.
3.
4.
Query Suggestions
Query suggestions, also known as search suggestions, are suggested phrases for
which users have already searched. Query suggestions appear in a list in the
Search Box as the user types a query.
By default, the search system automatically creates suggestions for a query when
users have clicked the results for that query at least six times. This can be one
result, or any combination of results for that query. A query suggestion appears
only if it contains at least one of the words that are typed. The search system
generates query suggestions daily for each result source and for each site
collection. Therefore, the automatically generated query suggestions can be
different for each result source and for each site collection.
When you manually add query suggestions by using the steps in this procedure,
the query suggestions are added on the Search service application level.
Additionally, the query suggestions apply to all result sources and all site
collections.
5 - 26
2.
3.
4.
5.
6.
7.
In the Always suggest phrases section, click Import from text file.
8.
Browse to the file that you want to import, and then click OK.
9.
To add phrases that are never used as query suggestions, follow these
steps.
1.
2.
3.
4.
5.
6.
7.
In the Never suggest phrases section, click Import from text file.
8.
Browse to the file that you want to import and then click OK.
5 - 27
2.
3.
4.
5.
6.
i.
ii.
7.
Query Spelling
If a user enters a word in a search query that might be misspelled, the search
results page displays query spelling corrections. This is also known as "Did you
mean?" For example, if someone enters a query that contains the word "laptop,
the query spelling correction would be "laptop".
These query spelling suggestions are based on the closest matches in the default
spelling dictionaries and the Query Spelling Inclusions list. For terms that you
enter in the Query Spelling Exclusions list, query spelling suggestions are never
displayed.
Although you can edit the Query Spelling Inclusions and the Query Spelling
Exclusions list, you cannot edit the default spelling dictionaries. However, this
action might require 10 minutes for any changes to the Query Spelling Exclusions
or the Query Spelling Inclusions list to take effect.
The query spelling exclusions and inclusions lists are managed in the Term Store.
5 - 28
2.
3.
4.
To exclude words from query spelling corrections, add the terms to the Query
Spelling Exclusions list.
To exclude terms from query spelling corrections, follow these steps.
Note: Create a separate term for each query spelling correction exclusion. Do
not create subterms for terms in the Query Spelling Exclusions list. Term hierarchies
are ignored in this context.
1.
On the Site Settings: Term Store Management Tool page, click the
arrow to expand the Search Dictionaries menu.
2.
Click Query Spelling Exclusions, click the arrow, and then click
Create Term.
3.
Type the word that you want to exclude in the box that appears.
4.
Click anywhere on the page to add the term to the Query Spelling
Exclusions list.
To include words in query spelling corrections, add terms to the Query Spelling
Inclusions list.
To include terms in query spelling corrections, follow these steps.
Note: Create a separate term for each query spelling correction inclusion. Do
not create subterms for terms in the Query Spelling Inclusions list. Term hierarchies
will be ignored in this context.
1.
On the Site Settings: Term Store Management Tool page, click the
arrow to expand the Search Dictionaries menu.
2.
Click Query Spelling Inclusions, click the arrow, and then click
Create Term.
3.
Type the word that you want to include in the box that appears.
5 - 29
Click anywhere on the page to add the term to the Query Spelling
Inclusions list.
You can edit the names of terms in the Query Spelling Exclusions and Query
Spelling Inclusions lists.
To edit a term, follow these steps.
1.
On the Site Settings: Term Store Management Tool page, click the
arrow to expand the Search Dictionaries menu.
2.
3.
4.
5.
The usage analytics information can help you configure recommendations on the
site. The recommendations that are shown are based on how users previously
interacted with a site, tracked by the usage events.
You can use the data that is generated by usage events in the following ways:
5 - 30
2.
3.
4.
In Diagnostics (on the left side column), click View usage reports.
5 - 31
5 - 32
Module Review
This course highlighted the features that are provided by the Search in SharePoint
2013.
Which component determines the managed properties and the values that
the Content Search Web Part displays?
( ) The Content Search Web Part
( ) The Control display template
( ) The Item display template
5 - 33
Objectives
The goal for this lab is to familiarize you with the new concepts for Web Content
Management (WCM) and Search in SharePoint 2013.
After you complete this lab, you will be able to perform the following:
Lab Setup
Before you begin, consider the following.
5 - 34
Document
Link
Release Notes
https://mbs.microsoft.com/files/customer/AX/Downloads/S
ervicepacks/ReleaseNotesAX2012R3SolutionDemoPackageV
10.pdf
Technical Guide
https://mbs.microsoft.com/files/customer/AX/Downloads/S
ervicepacks/TechnicalGuideAX2012R3SolutionDemoPackag
eV10.pdf
https://mbs2.microsoft.com/fileexchange/?fileID=cf70c1d3b430-4f1d-8afe-98b8389df94a
Sample Data
https://mbs.microsoft.com/files/customer/AX/Downloads/S
ervicepacks/AX2012R3SolutionDemoPackageOverview.pdf
https://mbs.microsoft.com/files/customer/AX/Downloads/S
ervicepacks/DemoDataElementsMicrosoftDynamicsAX.pdf
https://mbs2.microsoft.com/fileexchange/?fileID=f817c2cef2a3-494c-9993-65571deafef1
In addition to the documents that are listed here, you must also use
the attached documents for any issues that are created by the
outage of SharePoint 2013 Managed Metadata Service.
Workaround for
eCommerce issue related to outage of Managed Metadata Service (SharePoint).docx
The default company that you must use for all labs is USRT.
To connect to the lab environment, you must log on to the SharePoint (SP) Virtual
Machine (VM) as the Administrator with the following credentials:
Username: CONTOSO\Administrator
Password: pass@word1
To complete this lab, you must change Web.config and the Master Page to edit
the Content Search Web Part (CSWP).
To change the Web.config, follow these steps.
1.
2.
5 - 35
5 - 36
3.
Select the website Out of box Store front Internal and right-click
in this website, and then click the Explore option.
4.
In the newly opened text box, open the Web.config with Notepad.
5.
2.
3.
On the Site Settings | Master Page Settings page, select the Seattle
master page as the default setting.
4.
5 - 37
Task: To edit the Content Search Web Part, follow these steps.
1.
5 - 38
Browse to Cameras->Digital SLR Cameras. You can also use the URL
http://ax2012r2a:40003/sites/RetailPublishingPortal.
2.
3.
In the Edit Page dialog box that appears, select Edit Page Template.
4.
Scroll down until the web part that contains the products appear
(some cameras should be shown).
In the Web Part, click the Web Part Menu, and then click Edit Web
Part.
5.
5 - 39
6.
The page now shows the settings for the CSWP. Notice, that in the
RelevantResults section, the results that are displayed are the same
products that are displayed on the store front end.
5 - 40
In the Select a query drop-down list box, the Retail Listings result source
is preselected. This is a predefined result source that lists all products in
the product catalog.
In the Restrict by tag section, if you select any radio buttons, the results
change according to the radio buttons that you have selected.
7.
Select Dont restrict by any tag. The result preview update should
be visible.
8.
5 - 41
9.
Select the TEST tab at the top of the page. Now, the whole query that
is sent to search to populate the product page, (this includes the filter
term that you have selected) is visible.
10. Click Cancel to delete the changes that you made.
5 - 42
In SharePoint, browse to Site settings -> Master Pages and page layouts
(This should be on the Web Designer Galleries in the Site Settings page.
2.
5 - 43
3.
4. Click Library > Open with Explorer. (This is an optional step). This folder
contains the Contoso Electronics templates that are used to display the site.
Also notice that an associated .js (JavaScript) file is automatically created for
each display template. You can open any files and view the contents.
5 - 44
5 - 45
5.
corner (you might have to click Browse to view the logo). This returns you to
the main page of the Contoso Electronics site. If you make changes, make
sure that you delete the changes before you continue.
Now, you must determine how the CSWP is configured to use the display
templates.
6.
Browse to Digital SRL Cameras. To browse directly to this page, use the link
http://ax2012r2a:40003/sites/RetailPublishingPortal/cameras/digital-slr-cameras
(Note port 40003.)
Because the site layout changed through the master page earlier, the site will not
resemble the site that is shown in the following screen:
5 - 46
7.
Click Settings > Edit Page. The Edit Page screen appears with a message
that states Youre about to edit a page thats used for multiple URLS.
8.
To view the pages that use the same template page, click the View Affected
URLs link. The Page URLs window opens. Now, all the category pages that
use the same template page are visible. This functionality lets you make a
change in only one place. However, the change is shown in each product
category
5 - 47
5 - 48
Task: To create your own item display template, follow these steps.
1. In SharePoint, browse to Site settings > Master pages and page
layouts. (This should be on the Web Designer Galleries in the Site
Settings page.
2.
3.
5 - 49
4.
Now, you will edit a copy of the file Item_ProductGallery.html. To perform this
edit, you must open the library in Windows Explorer.
5.
6.
i.
5 - 50
iii. Save the file and exit Notepad. Note: If you have not used the
Windows Explorer mode, you must upload the file. For more
information about how to upload a file, view the documentation that
is available on TechNet. .
7.
8.
9.
After the file is saved, return to SharePoint, and browse to a product page, by
using the URL
http://ax2012r2a:40003/sites/RetailPublishingPortal/cameras/digital-slrcameras.
Select Edit page.
Scroll down the page to the Product Gallery Web part and select Edit Page in
the right-side corner of the web part.
5 - 51
10. Scroll back up the page to view the Properties dialog box. In the Display
Templates section on the Item, the Custom Product gallery item template
should be visible.
11. Select the template.
5 - 52
14. If you want to examine the template, you can select other templates to
determine how the rendering is affected. When you are finished, click Cancel to
delete the changes.
5 - 53
Which component determines the managed properties and the values that
the Content Search Web Part displays?
5 - 54
E-commerce deployment
Objectives
The objectives are as follows:
Review reference and examples that are used to plan the topology for
an online store implementation.
6-1
E-commerce Deployment
This lesson describes the Omni-channel deployment topology considerations for
Microsoft Dynamics AX 2012 for Retail. The lesson also describes the server roles
for the Microsoft Dynamics AX 2012 for Retail components that are used for the
headquarters office and the SharePoint Server 2013 farm for the online store.
Lesson Objective
The objective is to explain the e-commerce deployment topology considerations
in Microsoft Dynamics AX 2012.
Omni-Channel Topology
The Omni-Channel Deployment Topology figure shows a high-level view of the
Omni-channel deployment topology. This topology is for online stores and brickand-mortar stores.
6-2
6-3
Server
Role
Description
SQL Server
(Microsoft
Dynamics
AX DB)
Microsoft
Dynamics
AX 2012
Commerce
Data
Exchange
(CDX)
Async
Server
6-4
Description
SharePoint
Back End
Microsoft
Dynamics
AX
Commerce
Runtime
(CRT)
Microsoft
Dynamics
AX 2012
Commerce
Data
Exchange
(CDX)
Async
Client
SQL Server
(SharePoin
t DB, CRT
DB)
Description
Enterprise Portal provides web-based access to the Microsoft
Dynamics AX data and functionality for business users. A set of
websites is provided that is known as the Enterprise Portal for
Microsoft Dynamics AX. The Enterprise Portal requires Internet
Information Services (IIS). IIS is a feature of Windows Server,
6-5
Description
Microsoft SharePoint Foundation and Microsoft SharePoint
Server.
SQL Server
Reporting
Services
(SSRS), SQL
Server
Analysis
Services
(SSAS)
6-6
Network capacity
6-7
Lesson Objective
The objective is to provide reference and examples to help you plan the topology
for the online store implementation.
Search Components
The search architecture in SharePoint 2013 includes several search components
and databases. SharePoint 2013 search components include the following:
Crawl
Content-processing
Analytics-processing
Index
Query-processing
Search administration
The crawl component crawls the content sources. You can crawl many content
sources, for example, file shares, product catalog, and SharePoint content. To
retrieve information, the crawl component connects to the content sources by
invoking the appropriate indexing connector or protocol handler. After the crawl
component retrieves the content, the crawl component passes crawled items to
the content-processing component.
The content-processing component processes crawled items and sends these
items to the index component. The content-processing component performs
operations such as document parsing and property mapping. The contentprocessing component also performs linguistics processing such as language
detection and entity extraction, and transforms crawled items into artifacts that
are included in the search index. Additionally, the content-processing component
also writes information about links and URLs to the link database.
Reference Links: For more information about crawling content sources and
6-8
6-9
Search Databases
SharePoint 2013 search databases include the following:
Crawl
Link
Analytics-reporting
Search administration
The crawl database stores tracking information and historical information about
crawled items. For example, the crawl database stores information about the last
crawl time, the last crawl ID and the type of update that occurs during the last
crawl.
The link database stores information that is extracted by the content-processing
component. The link database also stores information about search clicks. The
information includes how many times people click a search result from the search
result page. This information is stored unprocessed, and then is analyzed by the
analytics-processing component.
The analytics-reporting database stores the results of usage analytics and statistics
information from the analyses. SharePoint uses this information to create Excel
reports that show different statistics.
The search administration database stores search configuration data, such as the
topology, crawl rules, query rules, and mappings between crawled and managed
properties. The search administration database also stores the access control list
for the crawl component. There can be only one search administration database
for each search service application.
Reference Links:
6 - 10
Server Roles
Server Roles that are included in the online store topology include the following:
The front end SharePoint web server role performs the following functions:
Hosts search web parts and web part pages to answer search queries.
Hosts CRT.
Holds the whole search index if only one index partition is configured.
Otherwise, the front end SharePoint web server role holds parts of the
index that are associated with the index partitions as the partitions
are configured by the administrator.
Consider the following when you plan the location and topology for the search
index:
Add one index partition for every 10 million items in the search index.
The SharePoint application server role hosts all the search components and the
Commerce Runtime (CRT) if only one server is configured. Otherwise, the
SharePoint application server role holds the search components that are
associated with the server, as the search components are configured by the
6 - 11
Search.
CRT
Single Server
The single server online store deployment consists of one server that runs
SharePoint Server 2013 and hosts all search components, Commerce Runtime
6 - 12
Small Farm
A small farm serves only limited online store deployments, a small user base, a low
usage load (some requests can be for each minute and some requests can be for
each second), and a small volume of data (10 gigabytes or less).
There are two tiers for the small farm topology. They include the following:
One or two servers that can combine the SharePoint 2013 server role
and the communication server role. The SharePoint servers host the
search components and the Commerce Runtime (CRT).
Note: The Commerce Data Exchange (CDX) can be installed on one of the
SharePoint server computers, or on a separate communication server.
The Small Farm Topology figure shows a sample small farm topology.
6 - 13
An
Analytics-processing component
Co
Content-processing component
Cr
Crawl component
In
Index component
Qu
Query-processing component
WFE
The CRT abbreviation in the Small Farm Topology figure refers to the Commerce
Runtime that is used earlier in this module.
The major characteristics of this sample topology include limited redundancy and
failover.
Medium Farm
The medium farm topology that is used for the online store introduces the three
tier farm architecture, and includes the following:
Dedicated front end SharePoint web servers that have the index
component and the query-processing component.
Separating the front end server tier from the application server tier provides more
flexibility in service isolation and helps balance the load across the system.
The medium farm topology is the most common architecture. The medium farm
topology includes many topologies and farm sizes, and serves environments that
have the following characteristics:
The sample medium farm that is shown in the Medium Farm That
Accommodates 85 Page Views Each Second figure shows a fault-tolerant
SharePoint Server 2013 search farm topology that is improved for 3,400,000 items.
The sample farm accommodates 85 page views every second (306 000 page views
every hour) and 100 queries every second (360 000 queries every second).
6 - 14
6 - 15
Large Farm
Large farm topologies include the breakdown of services and solutions across
multiple farms, and additional scaling out of the tiers on a single farm. Several
SharePoint Server 2013 services can be deployed on a dedicated services farm
that serves requests from multiple farms that are being used. Typically, in these
6 - 16
Hardware Requirements
This section describes the minimum hardware requirements for online store
servers that host a medium farm topology. The hardware requirements apply to
the following servers:
SharePoint 2013 application servers and web servers that have search
components and CRT.
The minimum amount of random access memory (RAM) requirements for a server
that hosts a search component is the total amount of RAM that is required for
that server. For example, if you host a content-processing component, a search
administration component and a crawl component on one server, the total
minimum amount of RAM that is required for that server is 24 gigabytes (GB).
Each server must have sufficient disk space for the base installation of the
Windows Server operating system. Additionally, each server must have sufficient
disk space for diagnostics such as logging, debugging, and creating memory
dumps, and so on. For production use, the server must also have additional free
disk space for day-to-day operations and for the page file.
The minimum hardware requirements for SharePoint application servers and front
end web servers that host search components are shown in the following table.
6 - 17
RAM
Hard disk
500 GB
additional disk
space,
preferably a
separate disk
volume/partitio
n.
Analyticsprocessing
component
300 GB
additional disk
space,
preferably a
separate disk
volume/partitio
n.
Crawl component
80 GB for
system drive.
Contentprocessing
component
Query-processing
component
Search
administration
component
Processor
All
components:
64-bit,
4 cores
minimum,
8 cores
recommended
.
The hardware requirements for database servers that host search databases are
shown in the following table.
Compone
nt
Processor
Minimum requirements
64-bit, 4 cores for small topologies.
64-bit, 8 cores for medium topologies.
RAM
Hard disk
6 - 18
Minimum requirements
Hard disk space depends on how much content is already on
the disk.
Performance Considerations
When you plan an online store deployment, consider the following to improve
performance.
Cache
The query and the query results are cached with Windows Server AppFabric, in
key-value pairs. The query is the key and the results are the value. For each query,
there is an approximate 50 percent cache ratio. This means that if you have a
usage pattern of 200 queries every second, about 100 queries are sent to the
search index and the other 100 queries are cached. The results from the cache
have reduced query latency than those that you retrieve from the search index.
For example, results for the home-page queries that are frequently run are likely
to be cached.
Continuous crawl
Consider enabling continuous crawl with an interval of one minute, instead of the
default interval of 15 minutes. You can only enable continuous crawl on
SharePoint content sources.
Anonymous access
Anonymous queries are cached. Therefore, the anonymous queries are less
expensive because of the reduced query latency.
Query latency
Query latency is influenced by caching, anonymous access, and factors such as the
number and complexity of query rules that are applied and started. Also, consider
the characteristics of the storage on which the search index is stored. For example,
a disk that has multiple spindles can improve the access speed of the disk and
reduce query latency
Index partition size
More items in the search index generally mean increased latency. Each index
partition can contain up to 10 million items. Online stores would rarely have more
than 10 million items to show. Therefore, the online stores must have only one
partition as described in the earlier topology. You can use more index partitions to
either host more than 10 million items or to have more, smaller, and faster index
partitions.
6 - 19
6 - 20
Module Review
This module described the tasks, procedures, and configuration options that are
required to set up the online store in Microsoft Dynamics AX 2012.
For more information about deployment topologies for an Online Store in
Microsoft Dynamics AX 2013 R3, refer to
http://technet.microsoft.com/EN-US/library/jj991928.aspx#Topology63.
2.
3.
How can you deploy the search components on separate SharePoint 2013
servers so that you can scale out the search topology?
( ) Use Windows PowerShell
( ) Use SharePoint Central Administration
( ) Use SharePoint setup
4.
How many queries can SharePoint Server 2013 perform in parallel when a
request for a page is being processed?
( ) 10
( )5
( )4
5.
6 - 21
6 - 22
2.
3.
How can you deploy the search components on separate SharePoint 2013
servers so that you can scale out the search topology?
( ) Use Windows PowerShell
( ) Use SharePoint Central Administration
() Use SharePoint setup
4.
How many queries can SharePoint Server 2013 execute in parallel when a
request for a page is being processed?
( ) 10
( )5
() 4
5.
6 - 23
Course 80639:
Microsoft Dynamics AX 2012 R3 for
Retail in e-Commerce Stores: Installation and
Configuration
This courseware is provided as-is. Information and views expressed in this courseware, including URL and
other Internet Web site references, may change without notice.
Unless otherwise noted, the examples depicted herein are provided for illustration only and are fictitious. No
real association or connection is intended or should be inferred.
This courseware does not provide you with any legal rights to any intellectual property in any Microsoft
product. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the
rights under copyright, no part of this courseware may be reproduced, stored in or introduced into a retrieval
system, or transmitted in any form or by any means or for any purpose, without the express written
permission of Microsoft Corporation.
Copyright 2012 Microsoft Corporation. All rights reserved.
Microsoft, Microsoft Dynamics, Microsoft PowerPoint, Microsoft SQL Server data management
software and Microsoft Dynamics NAV are trademarks of the Microsoft group of companies. All other
trademarks are property of their respective owners.
DEFINITIONS.
a. Authorized Learning Center means a Microsoft IT Academy Program Member, Microsoft Learning
Competency Member, or such other entity as Microsoft may designate from time to time.
b. Authorized Training Session means the instructor-led training class using Microsoft Instructor-Led
Courseware conducted by a Trainer at or through an Authorized Learning Center.
c.
Classroom Device means one (1) dedicated, secure computer that an Authorized Learning Center owns
or controls that is located at an Authorized Learning Centers training facilities that meets or exceeds the
hardware level specified for the particular Microsoft Instructor-Led Courseware.
d. End User means an individual who is (i) duly enrolled in and attending an Authorized Training Session
or Private Training Session, (ii) an employee of a MPN Member, or (iii) a Microsoft full-time employee.
e. Licensed Content means the content accompanying this agreement which may include the Microsoft
Instructor-Led Courseware or Trainer Content.
f.
Microsoft Certified Trainer or MCT means an individual who is (i) engaged to teach a training session
to End Users on behalf of an Authorized Learning Center or MPN Member, and (ii) currently certified as a
Microsoft Certified Trainer under the Microsoft Certification Program.
g. Microsoft Instructor-Led Courseware means the Microsoft-branded instructor-led training course that
educates IT professionals and developers on Microsoft technologies. A Microsoft Instructor-Led
Courseware title may be branded as MOC, Microsoft Dynamics or Microsoft Business Group courseware.
h. Microsoft IT Academy Program Member means an active member of the Microsoft IT Academy
Program.
i.
Microsoft Learning Competency Member means an active member of the Microsoft Partner Network
program in good standing that currently holds the Learning Competency status.
j.
MOC means the Official Microsoft Learning Product instructor-led courseware known as Microsoft
Official Course that educates IT professionals and developers on Microsoft technologies.
k.
MPN Member means an active silver or gold-level Microsoft Partner Network program member in good
standing.
l.
Personal Device means one (1) personal computer, device, workstation or other digital electronic device
that you personally own or control that meets or exceeds the hardware level specified for the particular
Microsoft Instructor-Led Courseware.
m. Private Training Session means the instructor-led training classes provided by MPN Members for
corporate customers to teach a predefined learning objective using Microsoft Instructor-Led Courseware.
These classes are not advertised or promoted to the general public and class attendance is restricted to
individuals employed by or contracted by the corporate customer.
n. Trainer means (i) an academically accredited educator engaged by a Microsoft IT Academy Program
Member to teach an Authorized Training Session, and/or (ii) a MCT.
o. Trainer Content means the trainer version of the Microsoft Instructor-Led Courseware and additional
supplemental content designated solely for Trainers use to teach a training session using the Microsoft
Instructor-Led Courseware. Trainer Content may include Microsoft PowerPoint presentations, trainer
preparation guide, train the trainer materials, Microsoft One Note packs, classroom setup guide and Prerelease course feedback form. To clarify, Trainer Content does not include any software, virtual hard
disks or virtual machines.
2.
USE RIGHTS. The Licensed Content is licensed not sold. The Licensed Content is licensed on a one copy
per user basis, such that you must acquire a license for each individual that accesses or uses the Licensed
Content.
2.1
Below are five separate sets of use rights. Only one set of rights apply to you.
a. If you are a Microsoft IT Academy Program Member:
i. Each license acquired on behalf of yourself may only be used to review one (1) copy of the Microsoft
Instructor-Led Courseware in the form provided to you. If the Microsoft Instructor-Led Courseware is
in digital format, you may install one (1) copy on up to three (3) Personal Devices. You may not
install the Microsoft Instructor-Led Courseware on a device you do not own or control.
ii. For each license you acquire on behalf of an End User or Trainer, you may either:
1. distribute one (1) hard copy version of the Microsoft Instructor-Led Courseware to one (1) End
User who is enrolled in the Authorized Training Session, and only immediately prior to the
commencement of the Authorized Training Session that is the subject matter of the Microsoft
Instructor-Led Courseware being provided, or
2. provide one (1) End User with the unique redemption code and instructions on how they can
access one (1) digital version of the Microsoft Instructor-Led Courseware, or
3. provide one (1) Trainer with the unique redemption code and instructions on how they can
access one (1) Trainer Content,
provided you comply with the following:
iii. you will only provide access to the Licensed Content to those individuals who have acquired a valid
license to the Licensed Content,
iv. you will ensure each End User attending an Authorized Training Session has their own valid licensed
copy of the Microsoft Instructor-Led Courseware that is the subject of the Authorized Training
Session,
v. you will ensure that each End User provided with the hard-copy version of the Microsoft InstructorLed Courseware will be presented with a copy of this agreement and each End User will agree that
their use of the Microsoft Instructor-Led Courseware will be subject to the terms in this agreement
prior to providing them with the Microsoft Instructor-Led Courseware. Each individual will be required
to denote their acceptance of this agreement in a manner that is enforceable under local law prior to
their accessing the Microsoft Instructor-Led Courseware,
vi. you will ensure that each Trainer teaching an Authorized Training Session has their own valid
licensed copy of the Trainer Content that is the subject of the Authorized Training Session,
vii. you will only use qualified Trainers who have in-depth knowledge of and experience with the
Microsoft technology that is the subject of the Microsoft Instructor-Led Courseware being taught for
all your Authorized Training Sessions,
viii. you will only deliver a maximum of 15 hours of training per week for each Authorized Training
Session that uses a MOC title, and
ix. you acknowledge that Trainers that are not MCTs will not have access to all of the trainer resources
for the Microsoft Instructor-Led Courseware.
b. If you are a Microsoft Learning Competency Member:
i. Each license acquired on behalf of yourself may only be used to review one (1) copy of the Microsoft
Instructor-Led Courseware in the form provided to you. If the Microsoft Instructor-Led Courseware is
in digital format, you may install one (1) copy on up to three (3) Personal Devices. You may not
install the Microsoft Instructor-Led Courseware on a device you do not own or control.
ii. For each license you acquire on behalf of an End User or Trainer, you may either:
1. distribute one (1) hard copy version of the Microsoft Instructor-Led Courseware to one (1) End
User attending the Authorized Training Session and only immediately prior to the
commencement of the Authorized Training Session that is the subject matter of the Microsoft
Instructor-Led Courseware provided, or
2. provide one (1) End User attending the Authorized Training Session with the unique redemption
code and instructions on how they can access one (1) digital version of the Microsoft InstructorLed Courseware, or
3. you will provide one (1) Trainer with the unique redemption code and instructions on how they
can access one (1) Trainer Content,
provided you comply with the following:
iii. you will only provide access to the Licensed Content to those individuals who have acquired a valid
license to the Licensed Content,
iv. you will ensure that each End User attending an Authorized Training Session has their own valid
licensed copy of the Microsoft Instructor-Led Courseware that is the subject of the Authorized
Training Session,
v. you will ensure that each End User provided with a hard-copy version of the Microsoft Instructor-Led
Courseware will be presented with a copy of this agreement and each End User will agree that their
use of the Microsoft Instructor-Led Courseware will be subject to the terms in this agreement prior to
providing them with the Microsoft Instructor-Led Courseware. Each individual will be required to
denote their acceptance of this agreement in a manner that is enforceable under local law prior to
their accessing the Microsoft Instructor-Led Courseware,
vi. you will ensure that each Trainer teaching an Authorized Training Session has their own valid
licensed copy of the Trainer Content that is the subject of the Authorized Training Session,
vii. you will only use qualified Trainers who hold the applicable Microsoft Certification credential that is
the subject of the Microsoft Instructor-Led Courseware being taught for your Authorized Training
Sessions,
viii. you will only use qualified MCTs who also hold the applicable Microsoft Certification credential that is
the subject of the MOC title being taught for all your Authorized Training Sessions using MOC,
ix. you will only provide access to the Microsoft Instructor-Led Courseware to End Users, and
x. you will only provide access to the Trainer Content to Trainers.
c.
ii.
You may customize the written portions of the Trainer Content that are logically associated with
instruction of a training session in accordance with the most recent version of the MCT agreement.
If you elect to exercise the foregoing rights, you agree to comply with the following: (i)
customizations may only be used for teaching Authorized Training Sessions and Private Training
Sessions, and (ii) all customizations will comply with this agreement. For clarity, any use of
customize refers only to changing the order of slides and content, and/or not using all the slides or
content, it does not mean changing or modifying any slide or content.
2.2 Separation of Components. The Licensed Content is licensed as a single unit and you may not
separate their components and install them on different devices.
2.3 Redistribution of Licensed Content. Except as expressly provided in the use rights above, you may
not distribute any Licensed Content or any portion thereof (including any permitted modifications) to any
third parties without the express written permission of Microsoft.
2.4 Third Party Programs and Services. The Licensed Content may contain third party programs or
services. These license terms will apply to your use of those third party programs or services, unless other
terms accompany those programs and services.
2.5 Additional Terms. Some Licensed Content may contain components with additional terms,
conditions, and licenses regarding its use. Any non-conflicting terms in those conditions and licenses also
apply to your use of that respective component and supplements the terms described in this agreement.
3.
Pre-release Term. If you are an Microsoft IT Academy Program Member, Microsoft Learning
Competency Member, MPN Member or Trainer, you will cease using all copies of the Licensed Content on
the Pre-release technology upon (i) the date which Microsoft informs you is the end date for using the
Licensed Content on the Pre-release technology, or (ii) sixty (60) days after the commercial release of the
technology that is the subject of the Licensed Content, whichever is earliest (Pre-release term).
Upon expiration or termination of the Pre-release term, you will irretrievably delete and destroy all copies
of the Licensed Content in your possession or under your control.
4.
SCOPE OF LICENSE. The Licensed Content is licensed, not sold. This agreement only gives you some
rights to use the Licensed Content. Microsoft reserves all other rights. Unless applicable law gives you more
rights despite this limitation, you may use the Licensed Content only as expressly permitted in this
agreement. In doing so, you must comply with any technical limitations in the Licensed Content that only
allows you to use it in certain ways. Except as expressly permitted in this agreement, you may not:
access or allow any individual to access the Licensed Content if they have not acquired a valid license
for the Licensed Content,
alter, remove or obscure any copyright or other protective notices (including watermarks), branding
or identifications contained in the Licensed Content,
publicly display, or make the Licensed Content available for others to access or use,
copy, print, install, sell, publish, transmit, lend, adapt, reuse, link to or post, make available or
distribute the Licensed Content to any third party,
reverse engineer, decompile, remove or otherwise thwart any protections or disassemble the
Licensed Content except and only to the extent that applicable law expressly permits, despite this
limitation.
5. RESERVATION OF RIGHTS AND OWNERSHIP. Microsoft reserves all rights not expressly granted to
you in this agreement. The Licensed Content is protected by copyright and other intellectual property laws
and treaties. Microsoft or its suppliers own the title, copyright, and other intellectual property rights in the
Licensed Content.
6.
EXPORT RESTRICTIONS. The Licensed Content is subject to United States export laws and regulations.
You must comply with all domestic and international export laws and regulations that apply to the Licensed
Content. These laws include restrictions on destinations, end users and end use. For additional information,
see www.microsoft.com/exporting.
7.
SUPPORT SERVICES. Because the Licensed Content is as is, we may not provide support services for it.
8.
TERMINATION. Without prejudice to any other rights, Microsoft may terminate this agreement if you fail
to comply with the terms and conditions of this agreement. Upon termination of this agreement for any
reason, you will immediately stop all use of and delete and destroy all copies of the Licensed Content in
your possession or under your control.
9.
LINKS TO THIRD PARTY SITES. You may link to third party sites through the use of the Licensed
Content. The third party sites are not under the control of Microsoft, and Microsoft is not responsible for
the contents of any third party sites, any links contained in third party sites, or any changes or updates to
third party sites. Microsoft is not responsible for webcasting or any other form of transmission received
from any third party sites. Microsoft is providing these links to third party sites to you only as a
convenience, and the inclusion of any link does not imply an endorsement by Microsoft of the third party
site.
10.
ENTIRE AGREEMENT. This agreement, and any additional terms for the Trainer Content, updates and
supplements are the entire agreement for the Licensed Content, updates and supplements.
11.
APPLICABLE LAW.
a. United States. If you acquired the Licensed Content in the United States, Washington state law governs
the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws
principles. The laws of the state where you live govern all other claims, including claims under state
consumer protection laws, unfair competition laws, and in tort.
b. Outside the United States. If you acquired the Licensed Content in any other country, the laws of that
country apply.
12.
LEGAL EFFECT. This agreement describes certain legal rights. You may have other rights under the laws
of your country. You may also have rights with respect to the party from whom you acquired the Licensed
Content. This agreement does not change your rights under the laws of your country if the laws of your
country do not permit it to do so.
13.
14.
LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM
MICROSOFT, ITS RESPECTIVE AFFILIATES AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP
TO US$5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL,
LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.
This limitation applies to
o
anything related to the Licensed Content, services, content (including code) on third party Internet
sites or third-party programs; and
o
claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence,
or other tort to the extent permitted by applicable law.
It also applies even if Microsoft knew or should have known about the possibility of the damages. The
above limitation or exclusion may not apply to you because your country may not allow the exclusion or
limitation of incidental, consequential or other damages.
Please note: As this Licensed Content is distributed in Quebec, Canada, some of the clauses in this
agreement are provided below in French.
Remarque : Ce le contenu sous licence tant distribu au Qubec, Canada, certaines des clauses
dans ce contrat sont fournies ci-dessous en franais.
EXONRATION DE GARANTIE. Le contenu sous licence vis par une licence est offert tel quel . Toute
utilisation de ce contenu sous licence est votre seule risque et pril. Microsoft naccorde aucune autre garantie
expresse. Vous pouvez bnficier de droits additionnels en vertu du droit local sur la protection dues
consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties
implicites de qualit marchande, dadquation un usage particulier et dabsence de contrefaon sont exclues.
LIMITATION DES DOMMAGES-INTRTS ET EXCLUSION DE RESPONSABILIT POUR LES
DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de dommages
directs uniquement hauteur de 5,00 $ US. Vous ne pouvez prtendre aucune indemnisation pour les autres
dommages, y compris les dommages spciaux, indirects ou accessoires et pertes de bnfices.
Cette limitation concerne:
tout ce qui est reli au le contenu sous licence, aux services ou au contenu (y compris le code)
figurant sur des sites Internet tiers ou dans des programmes tiers; et.
les rclamations au titre de violation de contrat ou de garantie, ou au titre de responsabilit
stricte, de ngligence ou dune autre faute dans la limite autorise par la loi en vigueur.
Elle sapplique galement, mme si Microsoft connaissait ou devrait connatre lventualit dun tel dommage. Si
votre pays nautorise pas lexclusion ou la limitation de responsabilit pour les dommages indirects, accessoires
ou de quelque nature que ce soit, il se peut que la limitation ou lexclusion ci-dessus ne sappliquera pas votre
gard.
EFFET JURIDIQUE. Le prsent contrat dcrit certains droits juridiques. Vous pourriez avoir dautres droits
prvus par les lois de votre pays. Le prsent contrat ne modifie pas les droits que vous confrent les lois de votre
pays si celles-ci ne le permettent pas.
Revised September 2012