I'm using SharePoint Online modern experience.
When I use OOTB search in my list, the results is just Dispform.aspx.aspx.
How to customize this search result?
I would appreciate any idea. Thank you.
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityFirst solution
Quick way to solve this is to make sure a Title property is available and filled in for each item in your list, that's what the Search page uses by default.
Otherwise you can modify the item display template, that will allow you to customize the display of search result snippet. There is a great article here on that process.
Second solution
You can also set crawl rule for search query to show only files:
{?{searchTerms} IsDocument:"True"}
Source: Using crawl rules to exclude Allitems.aspx, DispForm.aspx
shp-enterprise
and shp 2013
Aug 26, 2021 at 9:26
According to my research, you cannot customize the modern search in SharePoint Online.
The modern search text box is visible on the top header of the SharePoint. Microsoft search can be managed through Microsoft 365 admin center, but the admin cannot customize the modern search experience UI.
Generally speaking, click on the modern search text box will display 4~5 list items.
Please perform the following troubleshooting:
1.Does the list have multiple items with the same title/name?
2.It may be that items have not been search crawled, so these items cannot appear in the search box. It is recommended that you wait for a while (up to 24 hours)