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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Trying to embed a Bing Map in Portal

(0) ShareShare
ReportReport
Posted on by

I'm new to Portals, and trying to embed a Bing map in my Portal. I tried following this process with no luck:

https://readyxrm.blog/2020/09/18/portals-map/

I did, however, manage to create a simple HTML page which loads the Bing map:

<!DOCTYPE html>
<html>
  <head>
    <title>loadmapasyncHTML</title>
    <style type="text/css">
      body {
        margin: 0;
        padding: 0;
        overflow: hidden;
        font-family: "Segoe UI", Helvetica, Arial, Sans-Serif;
      }
    </style>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script
      type="text/javascript"
    ></script>
    <script type="text/javascript">
      var map;
      function loadMapScenario() {
        map = new Microsoft.Maps.Map(document.getElementById("myMap"), {});
      }
    </script>
  </head>
  <body onload="loadMapScenario();">
    <div id="printoutPanel"></div>

    <div id="myMap" style="width: 600px; height: 600px"></div>
  </body>
</html>

I am struggling to figure out how to use this code in my Portal app. This HTML code has a head and body section, both with required components. In the HTML code for the web page in my Portal where I want to put it, there is only <div> sections. 

How can I incorporate this into my Portal?

I have the same question (0)

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 142 Super User 2026 Season 1

#2
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

#3
11manish Profile Picture

11manish 121

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans