How to display related links in Service Portal ?

kimberleyohana
Kilo Contributor

Hi everyone,

I've been looking to display related links within the widget form of the Service Portal and couldn't find any proper way to do so.

Is it possible to display the related links from a form in the Service Portal ?

Thanks !

5 REPLIES 5

christopheriron
Tera Expert

Hi Kimberley,



There's nothing out of the box but it looks like you're in luck, Nathan Firth just published a free related list widget that you can import and add to your page.



Free Widget of the Month - ServicePortal.io - Service Portal, CMS, and Custom Apps



Kind regards


Hi Chris,



Thank you for answering. Unfortunately, the Nathan Firth's widget do provides a different display of related lists, I am indeed currently using it.


However, it doesn't display the related links, which are considered to be a specific type of UI Action on a form.


Hi Kimberley,



Out-of-box widget does include Related Links (UI Actions). However, there are a few places where it depends on conditions controlling whether or not they display.


One of the first places I would check is the widget options on the form. Here are screenshots:



related_links_showing_oob.png



disabling_ui_actions_1.png



disabling_ui_actions_2.png



disabled_ui_actions.png



I would first check if the "Disable UI Actions on Form" is checked. If that's not the case then I would check the conditions set within the UI Action itself.



Hope that helps.


Hello Chris,



Thanks a lot for your answer.


Here are some screenshots of my widget and its version in the platform.



captureSP2.PNG


The current record in the platform does display my custom related link.



options.PNG


Using the out of the box widget (Form), none of the options are checked on the instance of the widget




UAMSP1.PNG


The same record in the Service Portal doesn't display my UI Action.




However my UI Action works properly with the back office version. My UI Action is a client side UI Action. Here is the following script :
Condition : !current.u_sharepoint_form_id.nil()



function redirect(){


Var url = 'my_url';


url+= g_form.getValue('u_sharepoint_form_id');


window.open(url, 'blank');


}



However I also noticed that the Related link 'Repair SLA'   was also not displaying in the oob Form widget within Incident


I don't know what could interfere the operation of the UI Action.