Using FolderIdPath with AdvancedQueryText in SiteSearch Control

  • Updated

Some users have reported an issue searching by folder id path with using the AdvancedQueryText property of the SiteSearch Control when in the code behind.

The code above should have the complete id path to work properly. For example.

uxSearchController.AdvancedQueryText = string.Format("({0}={1}) AND {2}:{3}",
Ektron.Cms.Search.SearchContentProperty.ContentType,
1,
Ektron.Cms.Search.SearchContentProperty.FolderIdPath,
"121/71/78/94/");

For more information on the control please click here