Olet tarkastelemassa seuraavan version ohjesisältöä::
- 6.4
- Aiemmat versiot
An Experience Fragment is a group of one or more components including content and layout that can be referenced within pages. Experience fragments can contain any component, such as, one or multiple components that can contain anything within a paragraph system, that will be referenced into the complete experience or requested by a third endpoint.
To learn more about Experience Fragments, click here.
Huomautus:
The following example uses We.Retail as a demo project.
-
Editing a page under Sites
- Navigate to Sites --> We.Retail.
- Navigate to the Equipment page, for example, We.Retail --> United States --> English --> Equipment.
- Select the page as shown in the figure below and click Edit from the action bar.
Huomautus:
The example uses one of the We.Retail pages in sites as an experience fragment.
-
Adding content to the layout container and creating a new experience fragment
- Select the layout container with added components.
- Click the icon (as shown in the figure below).
- Choose the Fragment path.
- Enter the Fragment title as LatestFragment.
- Choose the We.Retail template from the Template.
- Click the check mark from the action bar of the dialog box.
-
Adding Experience Fragment to the channel in your DemoProject
- Navigate to the DemoProject (created in Step 1).
- Select the Test_Channel and click edit from the action bar to open the editor.
- Click the + icon from the side rail to add the component.
- Drag and drop the Experience Fragment.
- Select the component and open the dialog box to select the path to the fragment.
- Choose the LatestFragment and click Select.
You have added an experience fragment to your project.