Developer forum

Forum » Templates » Query publisher - indexing item based pages - how can i render something other than MenuText

Query publisher - indexing item based pages - how can i render something other than MenuText

Hans Ravnsfjall
Hans Ravnsfjall
Reply

I am setting up. a search that uses the new index to index item based pages, along with itembased and regular pages with item based paragraphs on them.

Using the querypublisher, i loop throug the search results using a freetext parameter, and I do get some results. But all i am able to pull out from the results is menutext and pageid.

Se output here http://landsverk.dw9.dynamicweb-cms.com/Default.aspx?ID=451&Purge=True&Leita=Loyvir

I would like to get some sort of description, or eg. the first 200 characters on the page output as well. Or perhaps, the page meta description would be nice. How can i get this rendered?

 

Br. Hans


Replies

 
Nicolai Pedersen
Reply

Hi Hans

Inside the QueryResultItem loop, try to print out the template tags that are available. All fields that are indexed and stored, will be available.

BR Nicolai

 

You must be logged in to post in the forum