أنت تعرض محتوى المساعدة للإصدار:

ملاحظة:

See also Content Fragment Updates and Content Services - Feature Pack Release Notes.

This set of Feature Packs delivers updates to Content Fragments, the JSON Exporter and Core Components.

These enable the definition of structured content for the fragments; together with the updated JSON
exporter, this structured content can then be used to deliver AEM content via
Content Services to channels other than AEM pages. 

Content Fragments are stored as Assets, so are primarily managed from the Assets console.

ملاحظة:

Content fragments are then used with authoring pages; see Page Authoring with Content Fragments.

Creating a New Content Fragment

ملاحظة:

See Developing Content Fragments for further information on templates.

  1. At the top level of the Assets console, select Files and navigate to (and/or create) the required folder.

  2. Select Create, then Content Fragment to open the wizard.

  3. Select the appropriate Template for your fragment type, then proceed with Next.

    chlimage_1
  4. In the Properties step specify:

    • Basic
      • Title
        The fragment title.
        Mandatory.
      • Description
      • Tags
    • Advanced
      • Name
        The name; will be used to form the URL.
        Mandatory; will be automatically derived from the title, but can be updated.
    chlimage_1
  5. Select Create to complete the action, then either Open the fragment for editing or return to the console with Done.

Actions for a Content Fragment

In the Assets console a range of actions are available for your content fragments, either:

  • From the toolbar; after selection of your fragment all appropriate actions are available.
  • As quick actions; a subset of actions available for the individual fragment cards.
chlimage_1

Select the fragment to reveal the toolbar with applicable actions:

  • Create
  • Checkout
  • Properties
    • Allows you to view and/or edit the fragment's metadata.
  • Edit
  • Manage Tags
  • To Collection
  • Copy/Paste
  • Move
  • Publish/Unpublish
  • Relate/Unrelate
  • Delete
  • Download
    • Save the fragment as a ZIP file; you can define whether to include Elements, Variations, Metadata. The zip package will:
      • Include any text content; eg *.txt
      • Include any referenced mixed-media; eg *.png
      • Not include associated Asset collections.

ملاحظة:

Many of these are standard actions for Assets and/or the Desktop App.

Publishing and Referencing a Fragment

Content Fragments must be published for use in the publish enviroment. They can be published:

تحذير:

After a fragment has been published and/or referenced, AEM will display a warning when an author opens the fragment for editing again. This is to warn that changes to the fragment will affect the referenced pages as well.

Deleting a Fragment

To delete a fragment:

  1. In the Assets console navigate to the location of the content fragment.

  2. Select the fragment.

    ملاحظة:

    The Delete action is not available as a quick action.

  3. Select Delete from the toolbar.

  4. Confirm the Delete action.

    تحذير:

    If the fragment is already referenced in a page you will then see a warning message and be required to confirm that you want to proceed with a Force Delete. The fragment, together with its content fragment component, will be deleted from any content pages.

تم ترخيص هذا العمل بموجب الترخيص العام غير المعدل الخاص بالإسناد وعدم التجارة والمشاركة الإصدار 3.0 ‏من ‏‏Creative Commons‏‏  إن بنود Creative Commons لا تشمل منشورات Twitter™‎ وFacebook.

إشعارات قانونية   |   سياسة الخصوصية على الإنترنت