23
Microsoft Dynamics Retail Conference 2014 Feb 6-7, 2104 Hyatt Residency Bellevue

Feb 6-7, 2104 Hyatt Residency Bellevue. Meera Mahabala

Embed Size (px)

Citation preview

Microsoft Dynamics Retail Conference 2014Feb 6-7, 2104Hyatt Residency Bellevue

E-Commerce developer experience

Meera Mahabala

This presentation contains Microsoft Confidential Information. Microsoft may use any suggestions, comments, or other feedback that you provide for any purpose without obligation. This presentation is provided for training purposes only and represents Microsoft’s view as of the presentation date. Microsoft cannot guarantee the accuracy of any information after the presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted as a commitment on Microsoft’s part. This presentation is provided “as-is”.

Microsoft Dynamics AX 2012 R3 is pre-release software under development. All dates and features specified are preliminary, are based on current expectations, and are subject to change without notice. Microsoft may make changes to specifications and product descriptions at any time, without notice.

Sample code included in this presentation is made available AS IS.  THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.

MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS PRESENTATION.

© 2014 Microsoft Corporation. All rights reserved.

Disclaimer

Architecture

Commerce Runtime

Shipping

Commerce Runtime

Product Catalog Site Collection

SSO

M Term Store

Product CatalogCraw

ler

Serv

ice

Publishing Site Collection

SP Connector

Administrator

Administration Portal

Dynamics AX for Retail (HQ)

SharePoint 2013

Consumer

CDX - Real time Service

Proxy

CDX - Sync

Service

Data Access

CRT DBPromotions

Pricing

Taxes

Customer

Payments

Orders

3rd Party Extensions

Other Plug-ins...CRT A

PI

Ex

Ex

Ex

Ex

Ex

Ex

Ex

3P Ext

3P Ext

Search Index

CDX - Sync Service

Net.TCP

TCP/IP

Shipping Ex

Comm

erce AJA

X Services

Dynamics web parts

Search-driven experiencePUBLIC FACING WEBSITE

(Publishing site)

Page layoutsControls look & feel, content based on associated

content type

Content search web partsFunctional apps that can be deployed on pages

Display templatesControl layout and behavior of results and layout of

each result

Site collectionsPrimary and micro site “containers”

INTERNAL FACING WEBSITE(Product catalog site)

Term storeNavigation and categorization structure of a site

Site columnsDefine the attributes of a product catalog

Content typesCreate relationships between site columns

ProductsCatalog items and variants

Search propertiesAttribute refinement, indexing, and query rules

FAST

This is about the content This is about how its presented

Master pagesDefine the shared framing elements for all pages

SharePoint 2013 page modelMaster page

Master page

Page layout

Page field

control

Page field

control

Page field control

Page

Authored

content

Authored

content

Content Search Web PartList template

Item templat

e

Item templat

e

Item templa

te

Paging, sorting, other links

Content search web part List template

Item templat

e

Item templat

e

Item templat

e

Paging, sorting, other links

Content search web partDisplay template

Query rules

Query conditions

What queries should be handled?

Query actions

What happens when a rule matches?

Publishingoptions

Is the rule active and for how long?

Under the covers of a search-driven site

Term store

Assets site collection

Catalog site collection

URL links

Managed metadata columns

BLO

B

cach

e

Query

URL links

Friendly URLs and catalog

pages

Rendering site collection

Cach

esSEARCH

index

Cra

wl

Query

rule

s

Resu

lt souce

Crawl

SharePoint 2013

Out of box online store architecture

AJA

X s

erv

ices

HTTPHTML/ Java Script

Search index

Pag

es

an

d

web

part

s

CRT DB

CDX

Com

merc

e

Ru

nti

me

Microsoft Dynamics AX

2012 for Retail

Online store solutionViews – Master Page/SharePoint web parts/ Display templates

CSS/JS/aspx pages/resources [Device specific views]

View-Controllers - C#

View-Models – AJAX Services

CRT dll(C#)

Dynamics AX

Common Module – Authentication, Diagnostics

Exercise 1Online store design elements

Key concepts• Master Pages• Category Landing pages• Category hover• Images

Hands On Lab – Exercise 1

Exercise 2Improve search results for the Contoso tablet

Key concepts• Search query rules• Image rendition• Content search web parts

Hands On Lab – Exercise 2

Exercise 3Extending customer to enable email

Key concepts• Customizing an existing customer entity• MVC pattern

Building the solution

GAC the dlls1. Copy C:/Users/admin/Documents/Retail SDK/Online Channel/StoreFront/Controls/obj/Debug/Microsoft.Dynamics.Retail.SP.Web.Controls.dll to C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.Dynamics.Retail.SP.Web.Controls\v4.0_1.0.0.0__cd39a5825b5ea86b2. Copy C:/Users/admin/Documents/Retail SDK/Online Channel/StoreFront/Services/obj/Debug/Microsoft.Dynamics.Retail.SP.Web.Services.dllToC:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.Dynamics.Retail.SP.Web.Services\v4.0_1.0.0.0__cd39a5825b5ea86b

Copy .js filesCopy customer.js and customerdisplay.js tohttp://ax2012r2a:40003/sites/retailpublishingportal/Style Library/Scripts/ViewModel

Run iisreset

Hands On Lab – Exercise 3

© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.