Vaatate praegu abisisu järgmise versiooni jaoks::

The fragment editor allows you to author and maintain your content fragments.

Märkus.

This page covers the basic functionality of the editor, see the other pages in this section for detailed information about specific options; authoring, markdown, variations, associated content and meta data.

Hoiatus.

Changes are only persisted when you select Save; this will save all changes and then exit the fragment editor. It is possible to remain in the fragment editor, making a series of changes, before selecting Save.

In addition to saving your changes, background processing occurs.

See Save, Cancel and Versions for further information.

Opening the Fragment Editor

To edit your fragment:

  1. Use the Assets console to navigate to the location of your content fragment.

  2. Open the fragment for editing, by either:

    • Clicking/tapping on the fragment or fragment link (this is dependent on the console view).
    • Selecting the fragment, then Edit from the toolbar.

    The fragment editor will open:

    chlimage_1

    Märkus.

    1. A message will be shown when the fragment is already referenced on a content page.

    2. The side panel can be hidden/shown using the Toggle Side Panel icon.

  3. Navigate through the four modes using the icons in the side panel:

    chlimage_1
  4. After making changes, use Save or Cancel as required.

    Märkus.

    Both Save and Cancel will exit the editor - see Save, Cancel and Versions for full information on how both options operate for content fragments.

Save, Cancel and Versions

The editor has two options:

  • Save

    Will save the latest changes and exit the editor.

    Märkus.

    It is possible to remain in the editor, making a series of changes, before selecting Save.

    Hoiatus.

    In addition to simply saving your changes, Save also updates any references and ensures that the dispatcher is flushed as required. These changes can take time to process. Due to this, there can be a performance impact on a large/complex/heavily-loaded system.

    Please bear this in mind when using Save and then quickly re-entering the fragment editor to make and save further changes.

  • Cancel

    Will exit the editor without saving the latest changes.

While editing your content fragment AEM automatically creates versions to ensure that prior content can be restored if you Cancel your changes:

  1. When a content fragment is opened for editing AEM checks for the existence of the cookie-based token that indicates whether an editing session exists:

    1. If the token is found, the fragment is considered to be part of the existing editing session.
    2. If the token is not available and the user starts editing content, a version is created and a token for this new editing session is sent to the client, where it is saved in a cookie.
  2. While there is an active editing session, the content being edited is automatically saved every 600 seconds (default).

    Märkus.

    The auto save interval is configurable using the /conf mechanism.

    Default value, see:

    /libs/settings/dam/cfm/jcr:content/autoSaveInterval

  3. If the user selects to Cancel the edit, the version created at the start of the editing session is restored and the token is removed to end the editing session.

  4. If the user selects to Save the edits, the updated elements/variations are persisted and the token is removed to end the editing session.

Selecting the Mode

From the mode selector in the toolbar (far left of side panel) you can select:

Märkus.

The side panel can be hidden and/or exposed using the Toggle Side Panel icon.

Selecting the Required Element

If your content fragment has been created from a template that defines multiple elements, then you can select the element you want to edit. Use the dropdown selector in the center of the top toolbar:

chlimage_1

See töö on litsentseeritud Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported litsentsiga  Süsteemi Creative Commons tingimused ei kehti Twitter™-i ja Facebooki postitustele.

Juriidilised märkused   |   Privaatsuspõhimõtted veebis