Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Display google map based on location details in service portal widget

Srilaxmi Dadig2
Kilo Explorer

Hi Team,

My Requirement is to display google map location with marker on service portal widget. URL contains sys_id of a location record. Location table contains address (or) latitude, longitude.

Can anyone please help me how this can be achieved.

 

1 REPLY 1

SatheeshKumar
Kilo Sage

similar widget is available OOB, you can tweak it slightly to match your requirement.

 

Service Portal > widgets > Ticket Location

find_real_file.png

 

 

you need a Google API key to make it working.(system property : google.maps.key

References:

https://developers.google.com/maps/documentation/javascript/adding-a-google-map 

https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/build/service-portal/concept/ticket-location-widget.html