SaaS CMS has officially launched! Learn more now.

CMS Page Search by Property Display Name



I was wondering if anybody know if there is already some Add-on for EpiServer to search by Property Display Name?
Our client wants to quickly find such properties in pages by their names/description:

            Name = "Content Text",
            Description = ""]
        public virtual XhtmlString ContentTextXhtmlString { get; set; }

My idea was to extend the Search Service and return results in the CMS Search pannel. However that may be less useful, in case the list is bigger or there are multiple results in one page.

In case there is nothing already available, my other idea was to write a separate Addon for this, but I want to avoid the duplication in case someone already did it :)

May 20, 2021 9:15

I'm not 100% on what your asking. Where are they looking to search, in the CMS search area, in the page view? And Can you give an example of what type of search they would be doing? Your question is a little unclear

May 20, 2021 11:32

If the client want to locate a property that is already displayed on their screen, use in browser search?

  • [CTRL + F]
  • Type the displayname, e.g. "Content Text" 

Problem solved.

Unless the problem was something else... :-)

May 20, 2021 11:53

I think you are looking for similar solution to what we can search in CMS search boxes for Blocks or media etc (added on current page may be). is that correct?
So, when user search with a text that is added as Display Name or Description, it (block/page) should return in results.

The following should return the results from current page (My block text search should also return block or media that have My Block in their Display Name or Description), is that correct what you are expecting? 

May 20, 2021 12:13

Sorry guys if I haven't provided a better example, I'll try to correct myself.

Praful Jangrid, yeah, something like that. My example had Display Name or Description. But it can also be the value of the field itself. I expect to find by the data defined in pages/blocks properties. For example, say we have following Property in the Page:

class LoginPage : PageData {

XhtmlString ContentTextXhtmlString;
- Display attribute Name: "Content Text"
- Display attribute Description: "Content for Login page Information Box goes here"
- Content Text: "<p>Press the red button to register</p>"


What I'm searching in the search box is "red button".
What I should get in search results is something like: LoginPage, "Content Text" property, Admin Tab.

Ideally I would like to navigate to this property and edit it, but I don't think that's possible. At least getting the matching page/property in the results would be enough. I think custom search provider is the way to go here, but it might be limiting in this small search window.

May 20, 2021 15:35

Hi VK,

I guess you are looking for something like this -

Refer to the video on this article for functionality

May 21, 2021 7:48
* 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.