Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Need to open External URL through Site Map

Posted on by 340

Hi Team,

I need to open custom URL in a new window through Sitemap. Example "https://www.google.com"

I already tried using below code as suggested in

"https://community.dynamics.com/365/sales/f/762/t/246210"  but it does not work :

<html lang="en" xmlns="www.w3.org/.../xhtml&quot;>

<head>

   <meta charset="utf-8" />

   <title></title>

   <script type="text/javascript">

       function openExternalLink() {

           window.history.back();

           window.open("https://www.google.com;, "_blank");

       }

   </script>

</head>

<body onload="openExternalLink();">

   <h1>Test Web Resource</h1>

</body>

</html>

*This post is locked for comments

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
  • crm development Profile Picture
    crm development 870 on at
    RE: Need to open External URL through Site Map

    Please have a look at below thread.

    https://community.dynamics.com/crm/f/117/p/266949/754469#754469

    Thanks,

    Anand

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans