Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

privateFilePath and gmap overlay

Solved953 views4th July 2023gmap KMLFile Overlay
1
joel Joly489 8th June 2023 3 Comments

Hello dojo

I am trying to add a satellite footprint on a gmap dashboard
I succeed if the kml or kmz file is located outside of the DMA with publicHref tag
Example:

<Layers>
<Layer sourceType=”overlay” name=”simple sample” allowToggle=”true” visible=”false” toggleGroup=”footprint”>
<GroundOverlay type=”kml” publicHref=”http://ftp.geogratis.gc.ca/pub/nrcan_rncan/image/spot/geobase_orthoimages/index/spot_ortho_index.kmz”>
</GroundOverlay>
</Layer>

But it never works if the Kml location is configured with privateFilePath tag, like described in doc : Layer types | DataMiner Docs
Example :

<Layer sourceType=”overlay” name=”Cube KML sample” allowToggle=”true” visible=”false” autoFit=”true” toggleGroup=”footprint”>
<GroundOverlay type=”kml” privateFilePath=”C:\Skyline DataMiner\Maps\kmls\KML_Samples.kml”>
</GroundOverlay>
</Layer>

I also tried to put the kml file in C:\Skyline DataMiner\Webpages\
Could it be a right matter ?
Or what do I miss ?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 4th July 2023
Alberto De Luca [DevOps Enabler] commented 8th June 2023

Salut Joel, hope you’re fine

Have you already tried with a different relative path?
E.g. if the kml is in a different location – or same location of a different server.
I believe the key is to get the path “relative”.

Alternatively, if the kml is cached somewhere on an internal server, could you define an absolute path to the cache server and rely on the first option?

HTH

joel Joly commented 9th June 2023

Hello Alberto

Thanks for your advices
Yes I have tried to move the file and the relative path.
I have the same files and location on each dma’s.

Althrough the documentation doesn’t indicate that it’s possible to use absolute path, I did some tests.

So I guess we have to search on our DMA configuration side.

Alberto De Luca [DevOps Enabler] commented 30th June 2023

What I meant was “publicHref” (example 1 which is working in your scenario)
vs “privateFilePath” (example 2, that seems to generate issues in your config).
I’d test a different way to specify the path. Do you get the same outcome if you use a path to the file starting as shown in Wim’s answer?

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Wim Bruynooghe [SLC] [DevOps Advocate]6.59K Posted 9th June 2023 3 Comments

When using privateFilePath, then the DataMiner will generate a secret download token which will be provided to Google Maps to be able to download the KML file from the DataMiner agent. So this means that https://mydma.company.com/API/v0/MapsGetSecureFile.aspx must be publicly accessible, otherwise Google Maps can not download the KML file and won’t be able to render it. You also have to open the map using the same FQDN https://mydma.company.com/.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 4th July 2023
joel Joly commented 9th June 2023

Thanks for you help Wim
good clue

The dataminer help (Dashboard Gateway troubleshooting) indicate :
DataMiner Maps cannot be accessed via the Dashboard Gateway.

By default, data accessed via a Dashboard Gateway is not publicly accessible. Therefore, to be able to display DataMiner Map information via a Dashboard Gateway, add the following exception to the web.config of that Dashboard Gateway:

My file C:Skyline DataMinerWebpagesDashboardsweb.config
containts exactly the same lines than those indicated in help

Is there another file to modify

Wim Bruynooghe [SLC] [DevOps Advocate] commented 4th July 2023

You’re accessing Maps through a legacy Dashboards Gateway? Then you indeed need to make sure that “p/API” is publicly available, so you need the configuration in the WebpagesDashboardsWeb.config. Then it should work for Google to access https://dashboardgateway.company.com/p/API/v0/MapsGetSecureFile.aspx

Wim Bruynooghe [SLC] [DevOps Advocate] commented 4th July 2023

If it still wouldn’t work, might be best to reach out to our techsupport, since it’s not so easy to debug it.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs