Troubleshooting
Problem
Maximo does not display the Google map when using server hostname in the Maximo URL e.g. http://maximoserver/maximo. There are no issues to display the map when using the IP address in the Maximo URL e.g. http://192.168.100.1/maximo
Symptom
This error displayed when trying to display Google maps on the maps tab using hostname in the URL:
"Opps! Something went wrong. This page didn't load Google Maps correctly. See the JavaScript console for technical details."
Cause
ClientID is missing in the map manager configuration
Environment
Maximo 7.6.x.x
Google Maps
Diagnosing The Problem
1. In a supported browser IE or Firefox
2. Log into Maximo using server hostname in URL
3. Go to Administration -> Map Manager application
4. Create a new Map Manager
Enable Map? : Checked
Sites Section -> New Row
Site: Bedford
Distance Matrix service URL:
https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap
**Replace YOUR_API_KEY with a key obtained from google API
Save
5. In IE browser, press F12 to open developer tools console.
6. Go to Assets -> Assets application
a) Select any record
b) Click on the Map tab
c) Get error "Opps! Something went wrong. This page didn't load Google Maps correctly. See the JavaScript console for technical details."
7. Check IE Browser developer tools console, can see following error:
"Google Maps API error: MissingKeyMapError
https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error"
Resolving The Problem
1. A Google clientid is required to use this functionality in Maximo, and this should be specified in the Map Manager app. The javascript error encountered shows the key is null when no clientid is specified in Map Manager. Refer to below link for details on how to obtain a Google clientId.
2. Once you have received your cliendID from Google, ensure your Maximo servername is added to the list of authorised URLs against the clientid. Refer to the link below for more details.
"Registering authorized URLs" section.
Related Information
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg22006132