Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Open web resource url link as a new browser tab

(0) ShareShare
ReportReport
Posted on by 27

Hi everyone,

 

I have the following web resource added to my Solution. It is basic external HTML link to a SharePoint site:


web-resource.jpg

I have added the web resource to my form. However, the URL link opens inside the model driven app itself rather than launching as a new tab in the browser. Could you anyone share any advice on how to open a new tab in the current browser when clicking on an external URL link?

3157.form.png

best regards,

Imran-Ami

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Open web resource url link as a new browser tab

    Hello,

    If my reply (or replies) answers your question take a minute and verify the answer. You can do it by clicking "Yes" at the top of the reply (or replies) under the label "Does this answer your question?"

  • Ami K Profile Picture
    27 on at
    RE: Open web resource url link as a new browser tab

    Thank you!

    Final HTML:

    <html>
    <head>
    <meta>
    <meta>
    <meta>
    <meta>
    </head>
    <body onfocusout="parent.setEmailRange();" style="overflow-wrap: break-word;">
    <p style="font-family: undefined;"></p>
    <p class="MsoNormal" style="font-family: undefined;">
    <b style="">
    <a href=xxxxx.sharepoint.com/.../Business-Cases.aspx target="_blank" style="">
    <font face="Verdana" size="2" color="#0000ff">For help, please click here to open the Business Case Information Hub</font>
    </a>
    </b>
    </p>
    <p style="font-family: undefined;"></p>
    </body>
    </html>

  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Open web resource url link as a new browser tab

    As I mentioned, include target="_blank" tag in your url tag. Good luck.

  • Ami K Profile Picture
    27 on at
    RE: Open web resource url link as a new browser tab

    Hi a33ik ,

    Thanks for the quick response!

    Below is the HTML:

    <html>
    <head>
    <meta>
    <meta>
    <meta>
    </head>
    <body onfocusout="parent.setEmailRange();" style="overflow-wrap: break-word;">
    <p style="font-family: undefined;"></p>
    <p class="MsoNormal" style="font-family: undefined;">
    <b style="">
    <a href=xxxxx.sharepoint.com/.../Business-Cases.aspx style="">
    <font face="Verdana" size="2" color="#0000ff">For help, please click here to open the Business Case Information Hub</font>
    </a>
    </b>
    </p>
    <p style="font-family: undefined;"></p>
    </body>
    </html>

    As image:

    2451.HTML.png

  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Open web resource url link as a new browser tab

    Hello,

    Can you please provide the code behind that url?

    I believe adding of the attribute target="_blank" should solve your issues. Check this - www.w3schools.com/.../att_a_target.asp

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 181 Super User 2025 Season 1

#2
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 124 Super User 2025 Season 1

Product updates

Dynamics 365 release plans