Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025

 


Article

How to exclude MVC widget from search

« Go Back

Information

 
Article Number000075821
EnvironmentProduct: Sitefinity
Version: 7.3, 8.x, 9.x, 10.x, 11.x, 12.x
OS: All supported OS versions
Database: All supported Microsoft SQL Server versions
Question/Problem Description
Need to exclude custom widget from the search, e.g. Custom navigation
How to exclude an MVC widget from the Search Index?
Excluding custom MVC widgets from Search?
Steps to Reproduce
Clarifying Information
Error Message
Defect/Enhancement Number
Cause
Resolution
Use the following attribute on the controller after the ControllerToolbox attribute :
[IndexRenderMode(IndexRenderModes.NoOutput)]
Attribute Location
Workaround
There is an alternative to hide page content from the search by using Grid Layout: Progress Article 000071714, Feather: Hiding Page Content From The Search In Sitefinity Using Grid Layout
Notes
For WebForms Widgets, check Progress article 000087327, How to exclude WebForms widget from search
Attachment 
Last Modified Date9/20/2019 3:25 PM