Hi,
In the search result page I used Smart Search Result webpart. I am able to show TItle of page and its URL.
Can we also show Meta Description in result page by transformation?
Thanks.
What is your CMS version? if 9+ they are indexed by default
GetSearchValue("DocumentPageDescription")
GetSearchValue("DocumentPageTitle")
GetSearchValue("DocumentPageKeyWords")
Another way to do is to map the values in the Page Type -> Search fields settings and use 4 default fields and map it to the desired fields.
This way you can use Title to show DocumentPageTitle.
However, Peter's approach is better.
What would I need to check if this wasn't working for me?
<%# GetSearchValue("DocumentPageDescription") %>
Thanks
Please, sign in to be able to submit a new answer.