Skip to Main Content
Customer Feedback

We love feedback from you on our products and the problems in your daily work that you would like us to solve. Please describe the challenge you're encountering and your desired outcome. Be as detailed as possible.

For technical issues or bugs please head to Support or our Developer Community. You can assign up to 20 votes in total. Thank you for your feedback.

Status explanation: 'Future Consideration' = Continuing to collect further feedback, not planned at this time. 'Investigating' = Prioritized for deeper customer and feasibility investigations ahead of planning development.

Categories Content Manager
Created by Guest
Created on Jul 26, 2024

IconCssClass in EPiServer.Shell.Search.SearchResult.

The use of IconCssClass in EPiServer.Shell.Search.SearchResult is not taken into concideration all through the CMS. It's confucion.

I introduced my custom ISearchProvider and set the IconCssClass for the SearchResult item(s). The Icon was only used when rendered inside the global search, in the navigation area. Not when rendert inside the "pagetree" search. In the pagetree search the icon used is picked from what is regisert for the ui descriptor. So If I have regisered a UIDescriptor, and set the iconCssClass from there. It is used in the pagetree search. But not in the global/navigation search.

My feature request is that both search have the same behaviour. If a iconCssClass i regisert using a UIDescriptor / [UIDescriptorRegistration] this icon is used in both searches. This change will lead to de deprecation of the EPiServer.Shell.Search.SearchResult.IconCssClass.... (or it can still be available, and be used as a override property. If it is set, use it.)