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.6.492
Syntax
public XHRServiceResponseGeneric<ContentQuickSearchData[]> QuickSearchContentItems(
	string search,
	string existingIds,
	bool includePages,
	bool includeAssets,
	bool includeAssetFolders,
	bool includeAliases,
	bool excludeLocale = false
)

Parameters

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

Return Value

XHRServiceResponseGenericContentQuickSearchData

2-axis array of found content items

Example

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