Está viendo la ayuda para la versión:

This page describes exporting content from AEM for upload to AEM Mobile.

Apps are represented as cq:Pages in AEM.

They share the same common properties found in any cq:Page in addition to others shown below that represent integration supporting properties.

App Properties

The following table shows App Properties and Nodes.

PropertyName Type Description
dps-cloudConfig String:Path

Path to a configured Mobile On-Demand Cloud Service. Used for AEM Mobile to Mobile On-Demand actions (API invocation)

This association is configured via the Manage Connection tile when an author chooses a Mobile On-Demand Cloud Service to associate the app to.

dps-exportTemplate String:Path

Path to the app's export configs. The export config is a folder with 2 child ContentSync export configuration templates;

dps-article: ContentSync export configuration to export article content

dps-HTMLResources: ContentSync export configuration to export app/article shared resources

dps-projectId String

Id/URI of the Mobile On-Demand project this App is linked/bound to.

This association is configured via the Manage Connection tile when an author chooses the project from a list of available projects for the associated Mobile On-Demand Cloud Service.

dps-projectTitle String App title.
dps-resourceType String Content type.
dps-sharedHTMLResources-lastUploaded Date Date of last upload of shared resources from AEM to AEM Mobile.
dps-sharedHTMLResources-lastUploadedBy String:userid Id of the user that performed the last upload of shared resources request from AEM to AEM Mobile.
pge-dashboard-config String:Path Path to a dashboard configuration. The path can be redirected to a custom dashbaord configuration as needed.
sling:resourceType String:Path

Path to a cq:Component that is or extends mobileapps/core/components/instance.

This provides the presence and rendering in the Apps Catalog.

Exporting Content from AEM for upload to AEM Mobile

Precaución:

Prerequisite:

To learn about creating and modifying shared resources, see ContentSync to understand the basic concepts.

AEM Mobile users use ContentSync 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.

Creating Article Export Configuration

Articles have content that needs to be exported and uploaded. Some of this content can be shared between Articles.

Use ContentSync to gather the content together and create a Shared Resources package.

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

Precaución:

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 CRX/DE on your AEM server.

  2. Browse to this path /etc/contentsync/templates/dps-we-unlimited-app/dps-article, 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

Nota:

Articles should be uploaded or exported to AEM Mobile On-Demand Services when an articles content changes.

Creating Shared Resources Export Configuration

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 ContentSync configuration found at <dps-exportTemplate>/dps-HTMLResources> should be configured to export all the content an article required for property static rendering on device.

Precaución:

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 CRX/DE 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

Nota:

Shared resources should be uploaded or exported to AEM Mobile On-Demand Services when any of the shared resources change.

Esta obra está autorizada con arreglo a la licencia de Reconocimiento-NoComercial-CompartirIgual 3.0 Unported de Creative Commons.  Los términos de Creative Commons no cubren las publicaciones en Twitter™ y Facebook.

Avisos legales   |   Política de privacidad en línea