Searchable properties

Vote:
 

Hi,

I'm wondering if it's via the api is possible to see if a property for a page is marked as searchable, or get all properties for a page that are marked as searchable?

#54766
Nov 01, 2011 17:35
Vote:
 

If you have the PageData it has a PageTypeId property. Use the value of that and the PageType.Load method to get the PageType. The PageType has a collection of PageDefinition objects which describe the page properties of the page type. Each of them has a Searchable property.

#54767
Nov 01, 2011 19:21
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.