Does anyone know how to hide the Related List and Related Links in Reference icon popup window within Service Portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2018 07:36 AM
I created a clone of the OOB SC Catalog Item widget and added logic to pass the View "ess"
data.sc_cat_item.view = "ess";
Now the reference icon popup form displays in "ess" view. But I see Related List, Related Links in the popup . Is it possible to hide these programmatically within the popup in Service Portal without modifying the View itself?
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2018 06:43 AM
Hi bindhustephen,
Since the OOTB form widget already allow to display or hide the related list links.
We can see in the HTML this line:
<div ng-if="!data.hideRelatedLists">
And on the server script:
data.hideRelatedLists = options.hideRelatedLists || false;
So in order to hided the related list links, I recomment to add this piece of code in the field "Additional options, JSON format" of the widget instance:
"hideRelatedLists": {
"value": true,
"displayValue": ""
}
Form widget
Form widget instance
Ximizu
Senior Consultant
https://ximizu.io
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2018 05:16 AM
Thanks! I kept using "value":"true" instead of "value": true, that's why it never hid the RL's!