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

m_63
Kilo Explorer

This is great, thank you.



One point of improvement that seems quite important to me. This currently uses the table's label to display on the related list tabs. SN UI 14/15/16 have specific related list labels (Configure --> List Control --> Label field). This would be the ideal label to use as it is what the other SN UI's are using. (I'm trying to update it as such though knowledge/experience limited.)


rahul_
Giga Contributor

Hello,



Could you tell me if you ever got a chance download the widget?



Regards,


Rahul.


Hi Rahul yes I was able to. You just need to fill out your details then you should be able to find the zip file under Order Details page..



find_real_file.png


Vespertinus
Tera Expert

Hello Nathan,



thats really great! I added to my instance and worked directly. Only one question: it always shows one default views related lists and not the related lists of the view i handover in URL:


https://instancename.service-now.com/sp?id=form&table=sys_user&sys_id=<SYSID>&view=itil



How to get only related lists of a custom view?



Thx and br


Vesp


You may just need to update the widget to also pull the view from the URL. I think the API's we use already support views so should be pretty simple.