0% found this document useful (0 votes)
69 views

How To: How To Use Sharepoint Digital Asset Library To Add Rich Media Attributes

This document provides instructions for using a SharePoint digital asset library to manage and store rich media files that can then be used to enrich products in an AX retail catalog. It outlines the steps to enable WebDAV for SharePoint, upload images to the library, configure the media file root in AX, enrich products with attributes like images, and publish the catalog to a SharePoint online storefront.

Uploaded by

Islam Sultan
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views

How To: How To Use Sharepoint Digital Asset Library To Add Rich Media Attributes

This document provides instructions for using a SharePoint digital asset library to manage and store rich media files that can then be used to enrich products in an AX retail catalog. It outlines the steps to enable WebDAV for SharePoint, upload images to the library, configure the media file root in AX, enrich products with attributes like images, and publish the catalog to a SharePoint online storefront.

Uploaded by

Islam Sultan
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

How to: How to use SharePoint digital asset library to add rich media attributes

Further reading
Microsoft Dynamics AX 2012 for Developers [AX 2012] How to publish a SharePoint online store

Tutorial
AX Retail allows the user to use SharePoint digital asset library to manage media files and using them to enrich products in a catalog.

Enable WebDAV for SharePoint


1. Install the 'Desktop Experience' feature on each of your SharePoint front end servers. a. Open Windows Server Manager. b. Select Features, and then click Add Features. c. Check Desktop Experience, and finish the wizard if not already installed.

d. Reboot if asked. 2. Ensure that the 'WebClient' service is started on your AX client. a. Run services.msc. b. Select WebClient service, right click and click start it if it is not started already. c. You may want to change the Startup Type to Automatic so that you do not have to start the service again after reboots. To do that, double click WebClient service, select Startup type: Automatic and click OK.

Upload images to SharePoint


1. Browse to http://YourSharePointServer:YourManagmentPort/sites/RetailPublishingPortal/_layouts/15/Set tings.aspx. 2. Click Site Contents in the lower left corner. 3. Click Sites Contents > Lists, Libraries and other Apps > Images. 4. Click +new items. 5. Upload images via either Browse button or Upload files using Windows Explorer link instead. Lets say we uploaded an image test.jpg under folder /.

Configure media file root in AX


1. Launch AX client. 2. Open Retail/Setup/Parameters/Retail shared parameters.

3. Select Media files tab, enter the root directory for media files. For simplicity, we use the SharePoint digital asset library root URL of the store front intranet zone. If the AX user does not have access, you can use another intranet SharePoint digital asset library, a file share, a network drive or even a local drive, as long as there is some other way to keep the files in both locations in sync. 4. Click Close.

Enrich products in a catalog


1. 2. 3. 4. Launch AX client. Open Retail/Common/Catalogs. Click New Catalog. Enter catalog name Test. Click OK. Expand Retail Channels fast tab, click Add.

5. Select Contoso Entertainment Systems (West) > Online Stores > OOB Store Front, click Add >>, and click Close.

6. Select Test > ALL > Electronics under Category hierarchy, expand Products tab and click Add.

7. Select ALL > Electronics node, select product SP10101, and click Add variants.

8. Check Selected check box for Color Black. Click OK.

9. Select the product and click Attributes. 10. Expand Shared product media fast tab, select Image line, and click Edit.

11. Click Select image.

12. Browse to the test image uploaded to the SharePoint digital asset library. Click Open. 13. The relative URL to the test image is shown in the URL field. The URL is relative to the media file root URL configured in Retail shared parameters. Click Close.

Publish to store front


1. Follow How to publish a SharePoint online store to publish the catalog to the SharePoint store front. 2. Browse to the store front and navigate to the listing for the product. 3. You should new see the test image for the product. 4. The test image is served by the SharePoint digital asset library of the store front. If you would like to serve the images differently, e.g., via Content Delivery Network (CDN), you should customize the base URL. In SharePoint\Web\Scripts\Scripts\sdv Core.js, change the highlighted line to the root URL of your alternative image storage.
Microsoft.BuildImageUrl = function (url) { var baseUrl = _spPageContextInfo.siteServerRelativeUrl + "/PublishingImages/";

You might also like