SaaS CMS has officially launched! Learn more now.

Custom CMS page search for Editor



I have been trying to implement a custom search for searching pages in the editor mode, 

But i have not manage to do it.

I have manage to do it for products in Catalog area, but not in pages.

I have try this:

public class CustomPageSearchProvider : ISearchProvider
        public CustomPageSearchProvider()


        public string Area => "Cms";

        public string Category => "Custom page search";

        public virtual IEnumerable<SearchResult> Search(Query query)
            var list = new List<SearchResult>();
            list.Add(new SearchResult("", "Test 1"));
            list.Add(new SearchResult("", "Test 2"));
            return list;
Feb 07, 2020 11:31

Hi Juan,

You can use PowerSlice addons.

Feb 07, 2020 12:27
Juan Munoz - Feb 07, 2020 13:05
Hi Ravinda
Sorry, I need to make this work without a addons.

You probably want to make sure your custom search is top of the list 

Feb 07, 2020 14:38

Hi @Quan

I have allready added this in my search setting:

Feb 08, 2020 8:14

This solve the problem:

public string Area => "Cms";
Feb 09, 2020 22:56
Quan Mai - Feb 10, 2020 8:06
Didn't you already have that in your question?
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.