Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Now i want to add a search from an other part of the page tree to the result of this one. I've set a new Property to find the startpage for the search, lets call it "ExtraMainContianer". So how can I add this search to the same collection of pages?
I've tried to make a PageSearch in the codebehind hoping to add the found pages with a filter but it doesn't return anything. What have I forgotten.
PageSearch Search = new PageSearch();
Search.PageLinkProperty = "ExtraMainContainer";
Search.SearchFiles = false;
Search.OnlyWholeWords = false;
Search.MainScope = "MainScope";
Search.MainCatalog = "MainCatalog";
Search.SearchQuery = SearchQuery.Text;
How does it all go together?? Anyone??