Hello I just tried to get the first 50 digits from the bodytext after the nodename field in the examine search.
But it does not work
- I added the bodyText into ExamineIndex file - I recalculated the Indexes (they include now the bodyText) - I added the <%# ((Examine.SearchResult)Container.DataItem).Fields["bodyText"] %> into the ascx file of the search.
Examine search bodytext
Hello I just tried to get the first 50 digits from the bodytext after the nodename field in the examine search.
But it does not work
- I added the bodyText into ExamineIndex file
- I recalculated the Indexes (they include now the bodyText)
- I added the <%# ((Examine.SearchResult)Container.DataItem).Fields["bodyText"] %> into the ascx file of the search.
But it throws an error
Can anybody help?
"an error"...
provide picture or details if you want any further help (basic structure would do a lot)
try working with the itemdatabound event of your container, and check what values searchresult has.
((SearchResult)e.Item.DataItem).Fields["bodyText"] works for me in codebehind (itemdatabound of listview).
is working on a reply...