I there any way to return the URL of current page of office Document using classic search webparts

mahesh p 0 Reputation points
2024-07-04T07:58:35.42+00:00

I had set up Enterprise Search Center site on SharePoint Online. I had configured classic search results webpart with their properties. I am getting results webparts as shown below. I want to display current url of the document is of office document on search results webpart(instead of path of the document is showing by default ). Can any one guide me whether we can get the url of current page when content search is performed. Please help me to resolve the issue.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,816 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,039 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 47,296 Reputation points Microsoft Vendor
    2024-07-08T10:00:27.3+00:00

    Based on your comment, I understand that you want to show URL of specific file page in the search results.

    Per my research and test, there is no way to achieve this.

    Currently, SharePoint only supports general file content search, but does not support URL of specific file page search.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.