Jun 18 2019 02:19 PM
We've had users utilizing the Link option from a document library's New content menu as a way to add URLs to external resources. This creates a .url file in the library, which seems to work OK in many cases.
However, when these .url items are returned in search, the URL of the result is to the SharePoint location. Clicking on them triggers a security warning from the browser, as it downloads the .url file.
For example: user uses Link option to add "website.com" in Document Library. When this item is returned by search, its associated hyperlink is "company.sharepoint.com/site/DocumentLibrary/website.url", when logically, the hyperlink should be simply "website.com" for this type of content.
Is there a way to customize our search results to ensure the appropriate URL is returned by search for this type of content?
Jun 18 2019 03:45 PM
Feb 18 2020 04:00 AM
@pkoepp how did you get them to appear in the search results? When I search it doesn't seem to pick up the Link contents
May 28 2020 09:58 AM
@pkoepp Did you ever figure this out? Having the exact same problem now :)
Nov 06 2020 02:07 AM
@yrrgeirs Hi, how were you able to setup search on the links in a Document library? I have a similar requirement where I need the documents as well as the links in a Document library to be searchable. Right now, the search results only return the documents and not the links. I am using the SP search api.
Nov 06 2020 02:09 AM