web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Exclude Webpages from ...
Power Pages
Suggested Answer

Exclude Webpages from Portal Search Results in Enhanced Data Model

(2) ShareShare
ReportReport
Posted on by 4
Hi,
I’m running into an issue with the portal search functionality on Power Pages using  Enhanced Data Model. 

We have configured our search query to only include the Knowledge Base entity.
 


However, when users select the “All” option in the portal’s search filter, the results still include Web Pages (from the Site Component table).


If we change the filter from “All” to “Knowledge Article,” only the correct results from the Knowledge Base are displayed, as expected.



It seems that the Site Component table (which contains web pages) is managed and non-editable, so we’re unable to modify or remove its Quick Find view to prevent these pages from being indexed in search.

Is there any way to exclude the Site Component table (Web Pages) from being indexed or included in the portal search results, given that the table is managed and non-editable?
Alternatively, is there a recommended approach to ensure the “All” filter only searches within specified entities like Knowledge Articles?
Categories:
I have the same question (0)
  • Suggested answer
    Jerald Felix Profile Picture
    358 Super User 2026 Season 1 on at
    Hello  ,
     
    I see you're facing a common challenge with the portal search in Power Pages when using the Enhanced Data Model. It's frustrating when managed components, like the 'Site Component' table for web pages, don't allow for direct configuration.
     
    You are correct in your observation. Because the Site Component table is a managed system table, you cannot edit or remove its "Portal Search" view to prevent it from being indexed. However, there is an effective way to achieve your goal by modifying a specific site setting.
     
    The solution is to adjust the search/filters site setting. This setting controls which entities appear in the search dropdown filter. By modifying it, you can remove "Web Pages" and ensure that even the "All" filter only targets the entities you specify.
     
    How to Exclude Web Pages from Search Results
    Follow these steps to update the site setting and limit the search exclusively to Knowledge Articles:
     
    1. Open the Portal Management App: Navigate to your Power Pages environment and open the Portal Management model-driven app.
    2. Navigate to Site Settings: In the left-hand navigation pane, find and select Site Settings under the "Website" section.
    3. Find the search/filters Setting: Look for the site setting named search/filters.
      • If it doesn't exist, you will need to create a new one.
      • If it does exist, open it to edit its value.
    4. Modify the Value: The default value for this setting often looks something like this:
    5. Content:adx_webpage,adx_webfile;Knowledge:knowledgearticle
    6. To restrict the search to only Knowledge Articles, change the entire value to:
    7. Knowledge Articles:knowledgearticle
    8. Save and Clear Cache: Save your changes to the site setting. Afterward, clear the server-side cache for your portal by navigating to /_services/about and clicking Clear cache.
    After completing these steps, the search filter dropdown on your portal will no longer show "Web Pages" or other entities. The "All" option will now effectively only search within the single entity you have defined: Knowledge Articles.
     
    Your existing Search/Query site setting, +(@Query)_logicalname:knowledgearticle, is still valuable. It acts as a Lucene query to boost or filter results within the searched entities. By combining that with the search/filters modification, you ensure the search is both scoped correctly and gives preference to the right fields.
     
    I hope this helps you configure the search exactly as you need it.
     
    Best Regards,
    Jerald Felix

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 56

#2
Valantis Profile Picture

Valantis 46

#3
rezarizvii Profile Picture

rezarizvii 25

Last 30 days Overall leaderboard