In order to include dimension and property names in tag
replacements, you must include them in the
QUERY_FIELD_LIST
in the main configuration file.
The values included in the nested
QUERY_FIELD
elements are available for tag replacement
in the template configuration files when generating sitemap URLs. To ensure
that these URLs are identical to those generated by the Assembler, you must
include all of the property and dimension names from your
endeca-seo-url-config
configuration file, as well as
all of the record properties or dimension values that appear in the main
Sitemap Generator configuration file.
Any properties or dimensions that are not included in the
QUERY_FIELD_LIST
are not available for tag replacement.
For improved performance, Oracle recommends using the
QUERY_FIELD_LIST
configuration. If no
QUERY_FIELD_LIST
is specified, only those properties and
dimensions that are enabled for display with the record list are available for
tag replacement.
Note
The Sitemap Generator only accepts one
QUERY_FIELD_LIST
. If you create more than one, only
the first
QUERY_FIELD_LIST
in the
conf.xml
file is read.
Example 2. Example
The configuration for the
seoUrlFormatter
object in the Discover Electronics
reference application uses the
product.name
record property and
product.category
and
product.brand.name
dimension value information to
create optimized URLs. To create identical links in the Sitemap Generator,
these fields must be available for tag replacement:
<QUERY_FIELD_LIST> <QUERY_FIELD>product.name</QUERY_FIELD> <QUERY_FIELD>product.category</QUERY_FIELD> <QUERY_FIELD>product.brand.name</QUERY_FIELD> </QUERY_FIELD_LIST>
Related links