Prezeráte obsah pomocníka verzie:

This page provides the essential information for working with the catalog feature of enablement community sites.

The catalog feature, when included in a community site, allows community members to browse and select enablement resources listed in a catalog.

The enablement catalog component allows community members to access a catalog of enablement resources.  The use of AEM tags is an important part of managing the appearance of enablement resources in a catalog.  

See Tagging Enablement Resources.

Essentials for Client-Side

 resourceType social/enablement/components/hbs/catalog
 includable No
 clientllibs cq.social.enablement.hbs.breadcrumbs
cq.social.enablement.hbs.catalog
cq.social.enablement.hbs.resource
cq.social.enablement.hbs.learningpath
 templates  /libs/social/enablement/components/hbs/catalog/catalog.hbs
 css  /libs/social/enablement/components/hbs/catalog/clientlibs/catalog.css
 properties see Catalog Feature

Essentials for Server-Side

Catalog Function

A community site structure that includes the Catalog function, includes a configured enablement catalog component.

Pre-Filters

When a Catalog function has been added to a community site, it is possible to restrict the enablement resources and learning paths which appear in the catalog by specifying a pre-filter.  This is done by setting properties on the instance of the catalog resource for the site.

Using the example of the Enablement Tutorial :

  • on author
  • using CRXDE 
  • navigate to the catalog resource on the catalog page
    • for example, /content/sites/enable/en/catalog/jcr:content/content/primary/catalog
  • add a child filters node
    • select the catalog node
    • select Create Node
      • Name : filters
      • Type : nt:unstructured
    • select Save All
  • add se_resource-tags property to the filters node
    • select the filters node
    • add a Multi property
      • Name : se_resource-tags
      • Type : String
      • Value : <enter a TagID>
      • select Multi
      • select Add
        • in popup dialog, select '+' to add additional pre-filter TagIDs
  • re-publish the community site
chlimage_1

Pre-filter TagIDs

The pre-filter TagIDs must exactly match the tags applied to the enablement resources. These are visible in the resources folder for the site as the values of the property se_resource-tags.

chlimage_1

Reference APIs

Licencia na používanie tohto diela sa poskytuje v súlade s podmienkami licencie Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Na príspevky v sociálnych sieťach Twitter™ a Facebook sa nevzťahujú podmienky licencií Creative Commons.

Právne upozornenia   |   Zásady ochrany osobných údajov online