Create a Tab under Related Links "Show Related Items" on a Security Incident

Snow Angel
Tera Expert

Hello,

Can someone tell me and how and where I can create an additional tab for "Show Related Items" under Related Links on a Security Incident form shown as below? TIA

Show Related Item.png

 

 

 

 

2 REPLIES 2

Uncle Rob
Kilo Patron

I don't have Security Incident up on my PDI at the moment.  Why don't you right click on that link, "Edit UI Action", then paste the code to this thread.  The solution is in that UI Action somewhere.

Also, have you tried configuring the Related List to see if the same list is available there?

Thanks for the reply Rob. This specific related list is not available to be configured via right click configure on the form.

Below is the code from the UI Action.

function showRelatedItems() {
    ScriptLoader.getScripts(['sn_si.SecurityIncidentConstants.jsdbx'], function(){
        var CURRENT_GROUP = "RELATED_ITEMS";
        var siConst  = sn_si.SecurityIncidentConstants;
        var lists = siConst.getList(CURRENT_GROUP);
        var incident = g_form.getUniqueValue();
        siConst.configureRelatedLists(lists);
        siConst.setLastRelatedList(CURRENT_GROUP,incident);
    });
}