SharePoint
Feedback by UserVoice

Brenden

My feedback

  1. 1,968 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    350 comments  ·  Sites and Collaboration » Modern Pages  ·  Flag idea as inappropriate…  ·  Admin →

    In modern pages, we open links within SharePoint in the same tab by default, and external links in a new tab. In the text web part, users can specify to open links in a new tab, but that isn’t the default behavior. Similarly, for navigation links, they follow the same rule (within SharePoint, same tab, external to SharePoint in a new tab). This is true of the modern web parts that support linking as well (hero, quick links, images, etc.) This is the pattern we’ve adopted for consistency.

    After reviewing other areas of modern sites, like the site pages library, document libraries, lists, site contents, etc. we did find some different opening behaviors which we’ll review and resolve.

    Can you help us understand if this pattern isn’t meeting your expectation, if we have some inconsistencies within modern pages we’ve missed, or if it’s the other areas of modern sites where…

    An error occurred while saving the comment
    Brenden commented  · 

    This is also the case with document set links (in SharePoint 2019 on-prem) when you've configured a custom (modern) view to be displayed for that document set content type. Those links will always currently open in a new tab. From what I can determine, it's either because the doc set link is still rendered to "DocSetHome.aspx" in the layouts folder and redirecting from there to the custom view, or it's something to do directly with the DocSetHomePage class that sits behind that page.

    It would be preferable for these links to open in the current tab as they are always to resources within the current site.

Feedback and Knowledge Base