AI OnAI Off
I replaced GetResult() with GetContentResult() and no longer get the error...
Right! I didn't include a .Select .. so it thew the error.. I added in .Select(x => new { Title = x.Name, URl = x.LinkURL }) and error went away..
In order to successfully deserialize IContent data, such as PageData, use the GetContentResult extension method. You can read more about it here:
http://world.episerver.com/Documentation/Items/Developers-Guide/EPiServer-Find1/75/Integration/EPiServer-75-CMS/GetContentResult-and-GetFilesResult/
I've just setup a brand new EPiServer 7.5 site (the deployment manager) and installed the allow MVC Templates, and I've installed find..
I've added the new web.config section, as well as installing the required NUGet packags..
I want to do a basic test, so I added the following code initally to the existing search page
I am not yet doing anything with these results (that's to come..), but I get the following error:
This is my first venture into Find, so am I missing something here?
One thing I did have to do when setting this up as update the Version of StructureMap, as it as referencing a different version
I have run the schedule job to index the entire site ..