- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 11:48 AM
This area is new to me so maybe I'm just making a simple error.
I want to display a Widget within the Service Portal.
I created a Custom with label variable and selected the respective widget under Type Specifications, but for some reason the Widget doesn't display anything on the Catalog Item page other than the label.
Is there something else I need to enable/configure?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 04:10 PM - edited 03-20-2025 04:29 PM
@MBarrott Can you please confirm if you have given access to the location? In my case the setting is controlled by my organization, check if you have a similar case.
Also make sure to go through this link, it looks like you need api keys from google and few properties in Servicenow to be set.
Please mark it as helpful or correct if it helped you resolve the issue or worked for you
Johnny
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 12:02 PM
Hi @MBarrott ,
- Go to System UI > Widgets and confirm that the widget you selected is properly configured.
- Test the widget independently in Service Portal:
- Navigate to Service Portal > Widgets and open the widget.
- Click "Try it" to see if it works in isolation.
- Also check the Availability for whom it is available.
If this solution helps you then, mark it as accepted solution , and give thumbs up 👍.
Regards,
Pratik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 12:03 PM
Hello @MBarrott
Please elaborate more as what you are trying to achieve. For example, if your expectation is that there should be a widget called "test location" and when you access the portal page with this widget then you should be able to see the variables where one of them is a "Custom with Label" type, then you can begin your learning by adhering this post: https://www.servicenow.com/community/developer-forum/how-do-i-add-a-widget-to-a-catalog-variable/m-p...
Hope that helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 12:22 PM
@MBarrott -- as mentioned in the other thread, that widget is only going to show a map if the user has location enabled. It looks like it queries the sys_user_geo_location table, which is where a link between a user and latitude/longitude is created. I don't know that this is the best widget for you to use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 04:10 PM - edited 03-20-2025 04:29 PM
@MBarrott Can you please confirm if you have given access to the location? In my case the setting is controlled by my organization, check if you have a similar case.
Also make sure to go through this link, it looks like you need api keys from google and few properties in Servicenow to be set.
Please mark it as helpful or correct if it helped you resolve the issue or worked for you
Johnny
Please mark this response as correct or helpful if it assisted you with your question.