ExcludeField missing from 7.5?

Vote:
 
I'm struggling to find a way to exclude properties without JsonIgnore. In the documentation example below there's a reference to an ExcludeField-method that I can't seem to find anywhere. Is it removed? And yes I have the referenced using declaration in place :)

//using EPiServer.Find.Cms.Conventions; ContentIndexer.Instance.Conventions .ForInstancesOf<PageData>() .ExcludeField(x => x.ACL)

    

#82850
Mar 20, 2014 14:26
Vote:
 

Use SearchClient instead of ContentIndexer.

SearchClient.Instance.Conventions.ForInstancesOf<PageData>().ExcludeField(x => x.ACL);

    

#82852
Mar 20, 2014 14:40
Vote:
 

Thanks!

#82855
Mar 20, 2014 14:59
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.