OOTB Widget not displaying in Service Portal

MBarrott
Mega Sage

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?

 

MBarrott_0-1742496457570.png

MBarrott_1-1742496475067.png

 

1 ACCEPTED SOLUTION

JohnnySnow
Kilo Sage

@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.

JohnnySnow_0-1742512226724.png

 

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.

 

https://www.servicenow.com/docs/bundle/yokohama-platform-user-interface/page/administer/navigation-a...

 

Please mark it as helpful or correct if it helped you resolve the issue or worked for you

 

 

 

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

5 REPLIES 5

pratikjagtap
Giga Guru
Giga Guru

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

 

Vishal Jaswal
Giga Sage
Giga Sage

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!

jcmings
Mega Sage

@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.

JohnnySnow
Kilo Sage

@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.

JohnnySnow_0-1742512226724.png

 

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.

 

https://www.servicenow.com/docs/bundle/yokohama-platform-user-interface/page/administer/navigation-a...

 

Please mark it as helpful or correct if it helped you resolve the issue or worked for you

 

 

 

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.