Click or drag to resize

PageCommandsServicesQuickSearchContentItems Method


Searches for pages, assets, asset folders by the initial characters in their names

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax
public XHRServiceResponseGeneric<string[][]> QuickSearchContentItems(
	string search,
	string existingIds,
	bool includePages,
	bool includeAssets,
	bool includeAssetFolders,
	bool excludeLocale = false
)

Parameters

search
Type: SystemString
Initial characters in Page names, not case-sensitive
existingIds
Type: SystemString
Pipe-delimited list of page ids that will not show up on the returned list
includePages
Type: SystemBoolean
Whether to include pages in result
includeAssets
Type: SystemBoolean
Whether to include assets in result
includeAssetFolders
Type: SystemBoolean
Whether to include asset folders in result
excludeLocale (Optional)
Type: SystemBoolean
Whether to exclude locale information in result entry labels

Return Value

Type: XHRServiceResponseGenericString

2-axis array of found content items

Examples

Sample JSON return

JavaScript
{
  "ContentFreezeEndTime": "",
  "ContentFreezeStartTime": "",
  "code": 0,
  "error": null,
  "message": [
    [
      "test (x61)",
      "x61",
      "1"
    ],
    [
      "test 1 (x60) (English (United States))",
      "x60",
      "2"
    ],
    [
      "test_pattern (a/183)",
      "a/183",
      "3"
    ],
    [
      "test_pattern (a/186)",
      "a/186",
      "3"
    ],
    [
      "test1 (af/22)",
      "af/22",
      "1"
    ],
    [
      "test1 (x62)",
      "x62",
      "2"
    ]
  ]
}
See Also