wf-core:getTaggedArticleIdList
This tag lists the IDs of all content items tagged with specified tags. The list can optionally be filtered and sorted in various ways.
Syntax
<wf-core:getTaggedArticleIdList articleTypes="..."? id="..." max="..." publicationName="..."? sectionId="..."? sortOrder="..."? sortString="..."? startIndex="..." tagFieldName="..." tagIdentifiers="..."/>
Attributes
id
, mandatory, no runtime expressionsNames the scripting variable created by this tag, as well as the key value used to locate the bean added to the specified scope.
tagIdentifiers
, mandatoryThe name of a List containing the identifiers of the tags to be used as search criteria.
tagFieldName
, mandatoryThe name of the tag scheme containing the tags to be used as search criteria. The suffix
_facet
must be appended to the tag scheme name as follows:tag-scheme-name_facet
max
, mandatoryThe maximum number of content item IDs to list.
startIndex
, mandatoryThe position from which returned content items are to be listed. The default value is
0
, meaning that the content items will be listed from the start of the sorted result set. A value of2
would cause the first two content items in the result set to be skipped.sortString
The name of the content item date property by which the results are to be sorted. The options are:
sectionId
The id of a section. If specified, only content items belonging to this section will be listed.
publicationName
The name of a publication. If specified, only content items belonging to this publication will be listed.
articleTypes
A comma-sparated list of content type names. If specified, only content items of these types will be listed.
sortOrder
The numerical order in which the returned content items are to be sorted. The content items are sorted by the property specified with the
sortString
attribute. The options are: