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 :
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

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans