您正在檢視適用於以下版本的說明內容::

AEM Content Services are designed to generalize the description and delivery of content in/from AEM beyond a focus on web pages.

They provide the delivery of content to channels that are not traditional AEM web pages, using standardized methods that can be consumed by any client. These channels can include:

  • Single Page Applications
  • Native Mobile Applications 
  • other channels and touch-points external to AEM

With content fragments that use structured content, you can provide content services by using the JSON exporter to deliver the contents of an(y) AEM page in JSON data model format. This can then be consumed by your own applications.

註解:

The functionality described here is available for all components since release 1.1 of the Core Components.

JSON Exporter with Content Fragment Core Components

Using the AEM JSON exporter you can deliver the contents of an(y) AEM page in JSON data model format. This can then be consumed by your own applications.

Within AEM the delivery is achieved using the suffix

.model.json

  1. For example, a URL such as:

    http://localhost:4502/content/we-retail/language-masters/en.model.json
  2. Will deliver content such as:

    chlimage_1

You can alternatively deliver the contents of a structured content fragment by targeting it specifically. 

This is done using the entire path to the fragment (via the jcr:content); for example with a suffix such as.

.../jcr:content/root/responsivegrid/contentfragment.model.json

Your page can contain either a single content fragment or multiple components of various types. You can also use mechanisms such as list components to automatically search for relevant content.

  • For example, a URL such as:

    http://localhost:4502/content/we-retail/language-masters/en/manchester-airport/jcr:content/root/responsivegrid/contentfragment.model.json
  • Will deliver content such as:

    chlimage_1

    註解:

    You can adapt your own components to access and use this data.

Further Information

See also:

Related Documentation

此産品由 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License 授權  Creative Commons 條款未涵蓋 Twitter™ 與 Facebook 文章。

法律說明   |   線上隱私權政策