Click or drag to resize

PageCommandsServicesQuickSearchPage Method


Searches Pages by the initial characters in their names

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.6.492
Syntax
public XHRServiceResponseGeneric<string[][]> QuickSearchPage(
	string search,
	string masterPageId,
	bool includeLocale,
	string[] excludeIds
)

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

XHRServiceResponseGenericString

Array 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
JavaScript
//When search text is  "home", returns the following result, without lingual information

{
    "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