Free Service Portal Widget: Related Lists

nathanfirth
Tera Guru

To help contribute back to the community, we're going to try to develop and give away one new widget per month.

For January we have developed the "Related List" widget, which allows you to display related lists on the form page in Service Portal.

Example below from a service catalog request:

Screen Shot 2017-01-12 at 10.20.55 AM.png

To download the widget, it's available on ServicePortal.io: Free Widget of the Month - ServicePortal.io - Service Portal, CMS, and Custom Apps

65 REPLIES 65

Hi

For me its showing no preview available. Please let me know what are the steps.

Heera Mukundan1
Giga Contributor

Hello Nathan Firth,


        Small concern over the widget scoping. The widget is working properly and it is also of great use. But when i load the update set and commit it it is creating a new scope. I want to load this widget in the global scope itself. Any proposed solution is appreciated.





Thanks,


Ruthra.v


heera


I think you can clone the widget global scope, just be in the global scope when you clone the widget.


This is a good point because if you're trying to get Arthur's modifications to work with Relationships it's important that everything (script include, widget, fix script even maybe) are in the Global scope. Otherwise I was getting all kinds of weird errors when trying to load the page with the widget one it. I assume because that GlideScopedEvaluator business is global. Just a heads up!


I was able to get it to work in the global scope, however do not name your underscore script include as _, it breaks the underscore in Servicenow that they use for Studio and some other things.