Try to set the name of the property to "PageShortcutType".
Excellent, that worked! Thanks!
But how ?
I can see the Property named LinkType has a type of EPiServer.Core.PageShortcutType.
I have searched before based on PageTypeID which is the Name of the property not its type ?
Is there some resources that explain how to use the IPageCriteriaQueryService more efficiently ?
Also I can't see how to mark the reply at the "answer" ?
IPageCriteriaQueryService is using the "old" untyped way of handling data, that means it operates on the backing PropertyDataCollection rather than the typed model (the c# class). And the property PageData.LinkType is backed in a property named "PageShortCutType". If you use EPiServer Find then you can do queries with your typed model.
If you attach a debugger and look at a PageData instance you can see that it has a property named "Property" of type PropertyDataCollection, there you can see all the properties and the name of the backing PropertyData instance.
Thanks for your help.
Is it possible to do an IPageCriteriaQueryService.FindPagesWithCriteria to find pages whos LinkType is a shortcut or Fetch Data ?
Here is what I am trying but with no success.
Any help appreciated.