I am trying to exclude documents from modern search based on a metadata yes/no choice column in a document library.
I have created a site CHOICE column called: Document Obsolete: (YES/NO choice option)
I have a library with the site column added and some documents in there. I set one document to "YES" for the document obsolete column.
Now the requirement I have is that I would like to use the SharePoint modern interface to search for documents however I do not want documents that have been set to "YES" for the document obsolete column to show up.
Now as I am using a modern communication site with modern search I have tried to add a managed property called documentobsolte
and map it to the column but I am lost how to edit the search results for the modern interface?
I am starting to think that I cannot do this.
any help would be great.