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

heeram
Tera Contributor

Hello nathanfirth ,



Is there a way we can remove few of the related list item from the widget ? Like "I donot want to see emails or special handling notes in the related list widget on the portal" is a requirement, how do we remove it from the widget?


Is there a way we can do this?



Thanks,


Heera


It's based on the form "view". I believe it defaults to "sp", so you can customize which related lists display based on that view.


Nagarjuna13
Tera Contributor

Hi Nathan,



How to add column search for related list. I added customized code like which is given by below


if(input.function_call == 'search')


  {


  var label_val = input.id_;     // dynamic generated field name Like number


  var desc_ = input.id_val;     // dynamic generated field value Like INC000001


  gr.addQuery(label_val,     desc_);  


  input.function_call = undefined ;


  }


Here I am facing problem if field types are "reference"   and "options". It's taking values but querying differently.



Will you please any other to query for column list let me know.



Thanks in advance


Kim Sullivan
Tera Guru

Hello all -- I'm trying to install this today and when I try to import it as a Retrieved Update Set- nothing happens.   Tried in both DEV and PROD.   Any thoughts?


Are you able to preview and commit the update set? Or are you importing it and then not finding it in the list? If you order by the Loaded date in descending order you should find it... or you can search for "*related list" in the Name column.



If you've committed it, the update set only includes the widget but does not automatically add itself to the page. You can test it out by adding the widget to a page containing the "form" widget. Note: both widgets require the "table" and "sys_id" URL parameters.



If this still doesn't work, feel free to email me and I can trouble shoot it with you.