The DynamicTargetSpecifier
component specifies the sites that the query should be applied to. This component has two main ways to specify the sites:
To explicitly specify the sites, set the
siteIdsArray
property to an array of site IDs.If
siteIdsArray
is not set,DynamicTargetSpecifier
uses the current site from theSiteContext
object. In addition, if theuseContextAdditionalSites
property istrue
,DynamicTargetSpecifier
also uses the sites specified in theSiteContext
object’sadditionalSites
property.
DynamicTargetSpecifier
also has its own additionalSites
property for specifying sites in addition to the ones specified in siteIdsArray
or obtained from the SiteContext
object.