Dynamic List

As a enterprise user, you can use a dynamic list component to dynamically display content items of multiple content types.

  1. Navigate to the page you want to edit and make sure that Edit switch is set to Edit.
  2. Add the dynamic list component to the page.
  3. To edit the component and its appearance, click its menu icon Component Menu icon, and choose Settings.
  4. Use the General tab to modify spacing, alignment, and other presentation options.
  5. Enter the query expression to query across multiple types. A multi-type search is specified by using curly braces {} to enclose type predicates in the query 'q' parameter, signifying a type scope. For example: {type eq "Article" and fields.author eq "Smith"} or {type eq "Event" and fields.sponsor eq "Oracle"}. For a list of query operators, examples, supported data types, and descriptions, see the topic on Content List components.
  6. Enter any optional parameters:
    • The 'orderBy' parameter can also have a typed section and takes the form of:

      {<type-name-1>:fields.<field-name-1>[:asc|:desc]};
      {<type-name-2>:fields.<field-name-2>[:asc|:desc]};

      This parameter only supports one orderBy field per type scope.

    • The 'fields' parameter can be 'typed' as well and takes the form of:

      {<type-name-1>:fields.<field-name-1>[,fields.<field-name-2>]};
      {<type-name-2>:fields.<field-name-1>[,fields.<field-name-2>]};
  7. Choose from the following to set additional defaults for the content that’s displayed.
    • Maximum Items and Start at Item: Specify the maximum number of items to display and where the display will begin. Additional items are not displayed.

    • Pagination: Specify if you want to include pagination options with the list. If selected, you can then tailor the way the pagination is displayed with buttons or page numbers and different labels if needed.

    • Item View: Select the layout used to display the content item. The supplied Default layout shows all fields in the content item. If the content item has other, custom layouts designed for it, you can choose any available layout. If you select a custom layout that has Add support for custom settings when used in Sites enabled, then you can add custom data to the layout by clicking Next icon entering data into the Custom Data field, and then click Back to return to the General tab.

    • Page to display individual item: If you have designated one or more pages as a detail pages, they are listed here. Choose a page to display detailed information when a user clicks the link on a the content item to view detailed information.

      Note:

      If you do not create a detail page, the link to display details is not shown for the content item in the default layout.
    • List View: Select a section layout to arrange the items. This list can include custom layouts. The following layouts are provided:

      • Horizontal: Arranges the items one after the other in a horizontal line.

      • Vertical: Arranges the items one after the other in a vertical line. This is the default if no layout is selected.

      • Two Columns: Arranges the items by twos in multiple rows.

      • Three Columns: Arranges the items by threes in multiple rows.

      Click the right arrow next to the selected layout to modify settings for the layout.

    • Empty List View: Select how an empty list should be displayed.

    • Spacing: Choose how the items will be displayed.

  8. Use the Style tab to format the frame that contains the component with predefined styles or with your own custom choices.