最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

AX Retail: Create a test site using ecommerce checkout controls

网络文摘 William 1689浏览 0评论

In Dynamics AX 2012 R3 CU8 we released checkout controls. In order to create and browse test website using these integrated controls please follow these steps:

Go to Demo VM

  • Go to “my documents” and then open folder “retail SDK CU8”
  • Open solution file located at “Online ChannelClientsWebStorefront Web.Storefront.sln” in VS 2013
  • Create strong name key named as “strongnamekey.snk” and place it adjacent to bldver.cs file
  • Compile your project and publish it to a folder
  • Grab that published folder and create new website in IIS in demo machine
  • Make sure app-pool account is “contosoadministrator”
  • Now go to the folder where site is running and open commerceruntime.config and change defaultOperatingUnitNumber value to 068

  <storage defaultOperatingUnitNumber="068" />

  • Open web.config and change database connection string

   <add name="CommerceRuntimeConnectionString" connectionString="Server=localhost;Database=RetailContosoStore;Trusted_Connection=Yes"/>

  • Same web.config replace section below with <<Put correct strong name key you created above>>

<section name="ecommerceControls" type="Microsoft.Dynamics.Retail.Ecommerce.Sdk.Controls.ControlsSection,Microsoft.Dynamics.Retail.Ecommerce.Sdk.Controls, Version=6.3.0.0,
Culture=neutral, PublicKeyToken=fd6b8d0172171ea7, processorArchitecture=MSIL"/>

  • Open browser and browse to new website just created.

 

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址