tcdl:fallbackContent
The <tcdl:fallbackContent> tag specifies alternative content to display in a region when no items are returned by Experience Optimization. The <tcdl:fallbackContent> tag renders its content: when a OpenSearch query takes too long to execute and times out, or when a query returns no matching Promotions, or when aPromotion contains no items.
Syntax
<tcdl:fallbackContent>
<tcdl:ComponentPresentation Type="Dynamic" ComponentURI="tcm:1-960" TemplateURI="tcm:1-962-32" />
</tcdl:fallbackContent>
Specifying the timeout
You can specify the query timeout:
- In the
<Timeouts><Query>section of thesmarttarget_conf.xmlconfiguration file, you can specify the default timeout (in seconds) for a query to execute successfully after which fallback content is displayed in the Page Region. - In the
<tcdl:query>tag,timeoutattribute specifies the length of time to wait before displaying fallback content and overrides the default timeout specified in thesmarttarget_conf.xmlfile.