- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2015 10:27 AM
Dear Community,
I have a requirement to show map on form. The URL is built and if this URL is entered in browser address bars opens up the website containing map.
Can host this URL in a smaller display are as a field in SNow form? For those familiar with BMC Remedy - something like a "Display Field" which show anything input to it from URLs to document link.
Thanks and regards
Waseem
Solved! Go to Solution.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2015 01:16 PM
You would use a URL just like the one you'd use to link to the page:
https://wiki.servicenow.com/index.php?title=Using_Map_Pages#Linking_to_a_URL
3.1.2 Linking to a URL
You can also create a desktop module that links to a map page via a URL.
In the module record, select a Link type of URL (from Arguments:). This selection displays the Arguments field. Enter the sample a URL in this format:
- map_page.do?sysparm_name=<map page name>
Note: If the map page title has a space in it, replace the space with %20 for the correct syntax. For example, a map page called Critical Incidents becomes Critical%20Incidents%20 in a URL. |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2015 10:32 AM
Map as in World Maps? and yes it's possible. Any URL can be displayed INSIDE a form by using an iFrame in a UI page/UI Macro.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2015 11:04 AM
Hi Abhiram,
I tried, but the page is not showing anything. The fram where the iFrame is hosted shows blank space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2015 11:14 AM
Hello Waseem,
Are you trying to iframe a google map? Have you signed up for an API key, and are you using that in your embed?
Google Maps Embed API | Google Maps Embed API | Google Developers
What errors do you see in your Developer Tools console? Does the page request return a 404 (page not found) or does the response contain a X-Frame-Options header? If so, what value does that header have?
What is the URL of the page that is attempting to load in that iframe?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2015 01:13 PM
Found a lead using Map Pages. but can Map Pages be displayed using iFrames, what is the URL if possible?