Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have created a simple Examine Search facility using the tutorial https://our.umbraco.org/documentation/Reference/Searching/Examine/quick-start
I want to know how I can pull in further information about the different results -
Currently there are two properties being pulled in -
How are you able to find out what other properties you can call?
I have tried - @result.pageTitle which is a property I have created in the Document Type but I get an error -
1: 'Umbraco.Core.Models.IPublishedContent' does not contain a definition for 'pageTitle' and no extension method 'pageTitle' accepting a first argument of type 'Umbraco.Core.Models.IPublishedContent' could be found (are you missing a using directive or an assembly reference?)
You should be able to do this:
var node = Umbraco.TypedContent(result.Id);
From there, you can access all the properties from the node.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted