web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Open a new window with Sitemap with Dynamics 365

(0) ShareShare
ReportReport
Posted on by 410

Hi I am trying to open an external website in a window with a button in the sitemap/navigator area in CRM.

If I put one of the subarea/button just as a URL -- it works if i right click and choose "open in a new window". If I just left click, it gets stuck loading forever within crm. Is there a way to default this into a "open in new window" within the URL type of button for sitemap?

If not:

I also tried looking into creating a html web resource to load with this post, https://community.dynamics.com/crm/f/117/t/196411

I used the code:

<html><head>

<title></title>

<meta charset="utf-8"></head>

<body>
<script type="text/javascript">
function GoGoogle()
{
window.open("http://www.google.com","_blank");
}
window.onload=GoGoogle();
</script>
</body>


In my web resource, and had the sitemap subarea open that web resource using the new dyanmics 365 editor.

When you click on the respective button in the navigator, it just shows the html code I listed above and doesn't open any page.

Any guidance? I seem to be missing something with the web resource and can't figure it out.

Thanks for the help!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    HodgesW Profile Picture
    410 on at

    So I was able to figure out the HTML resource method. Basically i needed to load it into the webresource as an HTML file instead of using the text editor.

    The main issue of this method is that it forces you to navigate to the HTML page and then opens up the external URL in a new tab -- leaving your CRM page at your webresource. My current workaround was to include window.history.back() in my JS code as well -- still not really ideal.

    What would be nice is if it just opened a new window and did not change the CRM page. Sort of like making the navigation button as a URL (instead of web resource) and right clicking and selecting "open in new window".

    Is that possible?

  • Verified answer
    Community Member Profile Picture
    on at

    I ran into this problem recently trying to load a SharePoint site...You've found the solution.  It's not possible to navigate within the CRM window itself, only to load the site up into another tab or page from the HTML web resource.

    Sorry we don't have a better answer... :(

  • Anand Kumar M Profile Picture
    122 on at

    Were you able to change the Sitemap selection also after opening the page in new window. on CRM main page?

    I still see the SubArea which is selected in the sitemap and the page it is showing is a previous page. 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans