Hi,
Is this some property that you have added or removed from your page and not reindexed between changes in code?
Hi,
Can you post the query that you isseue to search for the StandardPage?
/Henrik
I tried a new search query method that I found on a blog.
This is my code:
IClient client = Client.CreateFromConfig();
var search = client.Search<Models.Pages.Standard.StandardPage>().For(query).GetResult();
If I search for "Services" in Find (Admin UI) I get 1 document in return.
But when I try to implement this in my webppage I get this in return:
Do I have to set any attribute in my StandardPage class for each properties to link the proporty names? If so, any example for this?
Use SearchClient.Instance instead of Client.CreateFromConfig(), and use .GetContentResult() instead of .GetResult(). This is when searching for EPiServer content. See http://world.episerver.com/Documentation/Items/Developers-Guide/EPiServer-Find1/75/Integration/EPiServer-7-CMS/GetContentResult-and-GetFilesResult/
I am getting the same error Property 'PageCategory' does not exist, can only assign values to existing properties after i upgraded EpiFind from 7 to 8? Has anybody found a solution?
I'm having errors searching my Find database in my EPiServer 7.5 solution.
I have indexed the website and I've seen that there's data in it.
I have a pagetype that I call StandardPage, but when I do my search I get this error in return:
Property 'PageCategory' does not exist, can only assign values to existing properties
What am I missing?