PageCommandsServicesQuickSearchPage Method
|
Searches Pages by the initial characters in their names
Namespace: IngeniuxCMServiceAssembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.6.492
Syntaxpublic XHRServiceResponseGeneric<string[][]> QuickSearchPage(
string search,
string masterPageId,
bool includeLocale,
string[] excludeIds
)
Public Function QuickSearchPage (
search As String,
masterPageId As String,
includeLocale As Boolean,
excludeIds As String()
) As XHRServiceResponseGeneric(Of String()())
public:
virtual XHRServiceResponseGeneric<array<array<String^>^>^>^ QuickSearchPage(
String^ search,
String^ masterPageId,
bool includeLocale,
array<String^>^ excludeIds
) sealed
abstract QuickSearchPage :
search : string *
masterPageId : string *
includeLocale : bool *
excludeIds : string[] -> XHRServiceResponseGeneric<string[][]>
override QuickSearchPage :
search : string *
masterPageId : string *
includeLocale : bool *
excludeIds : string[] -> XHRServiceResponseGeneric<string[][]> Parameters
- search String
- Initial characters in Page names, not case-sensitive
- masterPageId String
- The Id of Master Page in a lingual map. This parameter is only needed when searching for Page that are available to map to the given master Page as clone.
- includeLocale Boolean
- Specifies whether to include Page's lingual information in the search results
- excludeIds String
- Optional array of Page Ids to exclude from the search results.
Return Value
XHRServiceResponseGenericStringArray of search result entries. Each entry is a 2 items string array. First item is the Page's name, includes lingual information is specified; Second item is the Page Id
Example
Sample JSON return
{
"code": 0,
"error": null,
"message": [
["HomeSlider (x33)", "x33"],
["HomeSlider (x51)", "x51"],
["HomeSlider (x69)", "x69"],
["HomeSlider (x31)", "x31"],
["HomeSlider (x17)", "x17"],
["Home (x5)", "x5"]]
}
See Also