Hi @RyanBrown
If you've switched to using the Curator Action Type of 'Display an Advert with a Link', you should see triggered results appearing in the data model as an array at response.curator.exhibits
. An example:
...
"curator": {
"exhibits": [
{
"titleHtml": "Advert Title",
"displayUrl": "https://example.org",
"linkUrl": "/s/redirect?collection=EXAMPLE&url=https%3A%2F%2Fexample.org&index_url=https%3A%2F%2Fexample.org&auth=0LCYqLFRg4O7JwSqrfb7Ag&profile=_default_preview&type=FP",
"descriptionHtml": "This is my example URL to promote",
"additionalProperties": { },
"category": ""
}
]
},
...
Or is you're using search.xml
:
<com.funnelback.publicui.search.model.transaction.SearchTransaction>
<response>
...
<curator>
<exhibits>
<com.funnelback.publicui.search.model.curator.data.UrlAdvert>
<titleHtml>Advert Title</titleHtml>
<displayUrl>https://example.org</displayUrl>
<linkUrl>/s/redirect?collection=EXAMPLE&url=https%3A%2F%2Fexample.org&index_url=https%3A%2F%2Fexample.org&auth=0LCYqLFRg4O7JwSqrfb7Ag&profile=_default_preview&type=FP</linkUrl>
<descriptionHtml>This is my example URL to promote</descriptionHtml>
<additionalProperties/>
<category/>
</com.funnelback.publicui.search.model.curator.data.UrlAdvert>
</exhibits>
</curator>
...
This branch of the data model will persist for the same query, regardless of any sorting or gscope constraints applied.
At template-time, you'd need to extend your XSLT to conditionally display the contents of the Curator Exhibits array above the organic search results.