Creating Shared Resources Export Configuration creating-shared-resources-export-configuration

CAUTION
AEM 6.4 has reached the end of extended support and this documentation is no longer updated. For further details, see our technical support periods. Find the supported versions here.
NOTE
Adobe recommends using the SPA Editor for projects that require single page application framework-based client-side rendering (e.g. React). Learn more.
CAUTION
Prerequisite:
Prior to learn about creating and modifying shared resources, see Content Sync to understand the basic concepts.

AEM Mobile users use Content Sync to export live content to static content for use in Mobile Apps and this export occurs when content is uploaded to Mobile On-Demand Services from AEM Mobile.

The property dps-exportTemplate mentioned in table above, defines the path to the app’s export configs. Set this property to create and modify shared resources.

The following resources describes exporting shared resources from Adobe Experience Manager (AEM) for upload to AEM Mobile.

Shared HTML Resources allows articles to share HTML resources that would otherwise need to be duplicated for all articles and can include icons, fonts, javascript, and css.

The Content Sync configuration found at <dps-exportTemplate>/dps-HTMLResources> should be configured to export all the content an article required for property static rendering on device.

CAUTION
You can perform the steps below to view sample shared resources, only if you have:
  • installed the sample content
  • running AEM instance
  • no configured custom context or a different port

To view sample shared resource, see the steps below:

  1. Open CRXDE Lite on your AEM server.

  2. Browse to this path /etc/contentsync/templates/dps-we-unlimited-app/dps-HTMLResources, to view the sample shared resources.

    You can view all the properties required for creating your shared resources as shown in the figure below:

    chlimage_1-145

NOTE
Shared resources should be uploaded or exported to AEM Mobile On-Demand Services when any of the shared resources change.
recommendation-more-help
547b817b-14b5-4d82-aa0f-a64750e0e592