Share

What's New Card Filtering with Flattening (Markdown)

When you enable filtering for a what's new card collection, you can also specify at the top level the flattening of all what's new card collections, the effect of which is that whenever a filter is selected, all groups, collections, headers, and text within the filter section will disappear, leaving only the remaining cards merged together in one collection.

Outer Layer

Filtering does not apply here.

The filtering applies to all collections within this section.

To test filter flattening, select any filter in the drop-down. This text and all the following subsections will be replaced, leaving one collection containing all the remaining what's new cards.

DITA Group (starts just above this subheading)

This whole section, together with the title, should be hidden when all the cards in the DITA group are filtered out.

Do so now by clearing all filters and then selecting markdown group in the filter drop-down.

DITA Group (ends just below this line)

No filtering going on down here.

Markdown Example

{{#style "ui-x-tag-filters ui-x-tag-filters-flatten"}}

  The filtering applies to all collections within this section. 

  {{#style "ui-x-tag-filters-group"}} 
    ## DITA Group (starts just above this subheading)

    This whole section, together with the title, should be hidden when all the cards in the DITA group are filtered out.

    Do so now by clearing all filters and then selecting `markdown group` in the filter drop-down.

    {{#style "whatsnew-collection-list"}}
    GUID-A4028282-3166-42FA-8C2D-C2C26D2B07CC,
    GUID-1BF834B5-0810-4E19-98F4-D1FDE94B4057,
    GUID-E1E0A5AC-5605-4051-B8F1-DE467CF04691,
    GUID-4DA256DF-A803-4AB5-8D20-7D1C6D033E81
    {{/style}} 

    **DITA Group** (ends just below this line)
  {{/style}} 

  {{#style "ui-x-tag-filters-group"}}
    ## Markdown Group (starts just above this subheading)

    This whole section, together with the title, should be hidden when all the cards in the Markdown group are filtered out. 

    Do so now by clearing all filters and then selecting `dita group` in the filter drop-down.

    {{#style "whatsnew-collection-list"}}
    add-filtering-tags-md,
    add-filtering-to-a-collection-md,
    add-filtering-md,
    add-filtering-group-md
    {{/style}} 

  **Markdown Group** (ends just below this line)
  {{/style}}
  No filtering going on down here.
{{/style}} 

Was this information helpful?