cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 10

How to place a map from one server into a page on another server?

Jump to solution

I've had to seperate SEUM from my APM server... but I need to be able to display SEUM map data next to APM data.

Typically I'd just use EOC for such a task but SEUM support has not yet been added.

 

Is there a way with custom HTML to place a map from one server into a view on a different server?

I have tried a few variations but I keep getting session errors.

 

Thanks

0 Kudos
1 Solution
Level 14

This is a complicated issue. Map consists of two parts: HTML code for the image map, and the actual image. You can get the image for the map using the URL of the image you see on the resource (right click on the map, select "open image in a new window" or "copy image URL"). This way you can build your HTML resource to display the actual map. The URL will look like this: http://localhost/Orion/NetPerfMon/NetworkMap.aspx?Map=8f484814-715c-490f-845d-68a8c0a6ece8.OrionMap&Scale=100&r=1028450184&ViewId=1. Remove the "ViewId" parameter. If you experience caching issues, you should make sure the "r" parameter is generated from your Custom HTML resource as the "r" is a random number to prevent browser caching.

You will not be able to include the actual HTML for the image map. Instead, I would make the map image as a reference to MapView.aspx page that will contain the image and the HTML. URL of MapView.aspx page is http://localhost:8787/Orion/NetPerfMon/NetworkMap.aspx?Map=8f484814-715c-490f-845d-68a8c0a6ece8.OrionMap&Scale=100&Title=myMap

The "Title" parameter specifies the window title for the page and is optional.

So I would build the HTML resource as the following (without the random number):

<a href="http://localhost:8787/Orion/NetPerfMon/NetworkMap.aspx?Map=8f484814-715c-490f-845d-68a8c0a6ece8.OrionMap&Scale=100&Title=myMap">

<img src="http://localhost/Orion/NetPerfMon/NetworkMap.aspx?Map=8f484814-715c-490f-845d-68a8c0a6ece8.OrionMap&Scale=100">

</a>

View solution in original post

0 Kudos
1 Reply
Level 14

This is a complicated issue. Map consists of two parts: HTML code for the image map, and the actual image. You can get the image for the map using the URL of the image you see on the resource (right click on the map, select "open image in a new window" or "copy image URL"). This way you can build your HTML resource to display the actual map. The URL will look like this: http://localhost/Orion/NetPerfMon/NetworkMap.aspx?Map=8f484814-715c-490f-845d-68a8c0a6ece8.OrionMap&Scale=100&r=1028450184&ViewId=1. Remove the "ViewId" parameter. If you experience caching issues, you should make sure the "r" parameter is generated from your Custom HTML resource as the "r" is a random number to prevent browser caching.

You will not be able to include the actual HTML for the image map. Instead, I would make the map image as a reference to MapView.aspx page that will contain the image and the HTML. URL of MapView.aspx page is http://localhost:8787/Orion/NetPerfMon/NetworkMap.aspx?Map=8f484814-715c-490f-845d-68a8c0a6ece8.OrionMap&Scale=100&Title=myMap

The "Title" parameter specifies the window title for the page and is optional.

So I would build the HTML resource as the following (without the random number):

<a href="http://localhost:8787/Orion/NetPerfMon/NetworkMap.aspx?Map=8f484814-715c-490f-845d-68a8c0a6ece8.OrionMap&Scale=100&Title=myMap">

<img src="http://localhost/Orion/NetPerfMon/NetworkMap.aspx?Map=8f484814-715c-490f-845d-68a8c0a6ece8.OrionMap&Scale=100">

</a>

View solution in original post

0 Kudos