Forum Discussion

Vaibhavv's avatar
Vaibhavv
Copper Contributor
Apr 03, 2020

Open links on tiles in a separate window

How to enable all links available for tiles in a Quick Link web-part on a SharePoint Online page to open in a separate window, rather on the same tab or different tab. By default SharePoint links opens up on the same page and and any external links opens up in a different tab.

16 Replies

  • Hi Vaibhavv - An inelegant work around is to trick SharePoint into treating the link like an external website by generating a short URL in a service such as bitly.com.
  • JRM523's avatar
    JRM523
    Copper Contributor

    This is truly unbelievable that Microsoft has eliminated the option to open links in a new window. I would seriously like to be a fly on the wall of Microsoft product design meetings to see how they are so disconnected from reality when it comes to deciding what features to keep/eliminate from SharePoint. Such a disappointment. 

  • Hi,
    This is currently the default behavior of the Modern Quick Links WebPart in SharePoint Pages.
    You may check the below posts in UserVoice and Up Vote -
    1. https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/32330134-quick-links-on-modern-pages-allow-open-link-within
    2. https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/35541775-open-links-in-new-tab-window

    One of the alternative option is to build Custom SPFx WebPart as per your requirement.

    Hope this helps.
    Thanks.
    • Leif Frederiksen's avatar
      Leif Frederiksen
      Brass Contributor
      Hi - both of those UserVoice items are no longer active.
      Could you refer me to where I can find active items on this issue?
      • RobElliott's avatar
        RobElliott
        Silver Contributor

        Leif Frederiksen they are on the new feedback portal at https://feedbackportal.microsoft.com/feedback/search/06735c62-321c-ec11-b6e7-0022481f8472?q=open+links

         

        Rob
        Los Gallardos
        Intranet, SharePoint and Power Platform Manager (and classic 1967 Morris Traveller driver)

    • Vaibhavv's avatar
      Vaibhavv
      Copper Contributor

      Swaminathan Sriram Thank you for your response. Is there any other ways to embed 

       Script tags in an embed webpart rather embedding it as an iframe-based.

      • Swaminathan Sriram's avatar
        Swaminathan Sriram
        Iron Contributor

        Hi Vaibhavv,

        Modern Embed WebPart doesn't allow you to embed script tags in it.

        You could use native browser feature to right click the links and Open in New Window, if that is okay, otherwise, please refer to the below SPFx webpart samples which will help you to get started. The below samples has the option to configure the links target to new tab but for opening the links in new window, you would have to further extend these samples - 

        https://github.com/SharePoint/sp-starter-kit/blob/master/documentation/components/wp-links.md

        https://github.com/SharePoint/sp-starter-kit/blob/master/documentation/components/wp-tiles.md

         

        I hope this is helpful, please like it or mark it as a solution if it answers your query.

        Thanks.

Resources