Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

In JSPs, you have to escapte the quotes and URL encode URL value using the character &. For example:


&facet.field=facet_research_institute&fq=facet_research_institute:\"${wmfn:urlEncode(selectedResearchInstitute)}\"


Modular Content Template Property Unique Search Facets

...

Example

Modular Content Template Configuration

...

Select "Products" from the Create Content Widget.


Properties for the "Minolta" Product



One "Products" content item named "Minolta 10x40 Binoculars" is created and it has "Minolta" as its value for the "Brand" property (search facet).

Properties for the "Pentax" Product



The other "Products" content item named "Pentax Classic Wide Field" is created and it has "Pentax" as its value for the "Brand" property (search facet).

...

Modular Content Template "Products" Configuration



A Modular Content modular content template named "Products" is created.

...

Modular Content Template "Services" Configuration



A Modular Content modular content template named "Services" is created.

...

The property "Exportable to EU" with the identifier "eeu" and search indedx index "Combined with facet" is created for "Product".

...

Info

GX Software recommends that you always use the same name for properties that have an identical identifier. The reason for this is that when the facet appears in Advanced Search, only one of the facet names will appear and it will contain the results of the combined facets. It might be confusing for an editor to see a facet in Advanced Search that doesn't clearly describe its target content.

...


Modular Content Type "Products" Definition



A Modular Content modular content type "Products" is created that uses the Modular Content modular content template "Products".

...


Modular Content Type "Services" Definition



A Modular Content modular content type "Services" is created that uses the Modular Content modular content template "Services".


Create a "Products" Content Item

...

In the properties for the "Products" iPhone 11 content item, "Exportable to EU" is selected.

...

In the properties for the "ServicesPersonalization" content item, "Exportable to EU" is selected.

...

Combined Facet in Advanced Search



In Advanced Search, the two content items item types, which are different, are found when the facet "Exportable to EU" is set to "true".

...