Configurable Workspaces - questions on editing existing spaces

Ron Legters
ServiceNow Employee
ServiceNow Employee

My customer is not using 'Impact' in their Change processes, so they don't want to see it. I've removed the field from all the views of change_request, but it's still showing up on the 'Risk Details' card(?) in the Record Information - Change SNC panel (is it a panel?) on the SNC Record page (and I'm not sure I described that path correctly).

RonLegters_0-1731523883188.png

So, the quick question is - how can I hide this?

 

Larger question: I've found the line in the page that shows this in UI Builder, but the page is read-only. How much do I need to copy if I want to customize? Can I duplicate just 'Record Information - Change SNC' or do I need to clone 'Record SNC'?

Also, the data for 'Impact Label Value Stacked' says it's "@Data.record_information_change.output.change_request.impactStacked". In the Data tab, I can see 'record_information_change' and click on that and see 'output' but I'm not seeing how to drill down any deeper.

 

Thanks for any help you can offer!

9 REPLIES 9

Sujatha V M
Kilo Patron
Kilo Patron

@Ron Legters  Based on your use case, I just did some analysis and was able to find out the details requested.

 

Record Information - Change SNC, holds the components "Impact Label Value Stacked" & "Risk Evaluator Value Stacked" which inturn calls the script include ChangeInfoSNC [read only]. Customizations to be done on the ChangeInfo script include. 

 

SujathaVM_1-1735317646446.png

 

Snippet for getRiskEvaluator() function :
 

SujathaVM_3-1735317831696.png

 

Two ways to hide the "Risk" tile,

 

1. Disable the visibility of the component from UI builder 

 

SujathaVM_5-1735318275914.png

 

2. Inactivate the "Risk" card record for the respective or all states from Change Contextual Sidebar Cards table. 

 

SujathaVM_4-1735318080532.png

 

 

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

Thank you for this input. To your second point first, I don't want to hide the entire 'Risk' tile, just 'Impact'. 

As to your first point, I can see where I would edit what shows for 'Impact' in the ChangeInfo script include, and I'm thinking if I just comment that bit out, that should handle it. However, both the ChangeInfoSNC and ChangeInfo script includes are read-only. I would expect that ...SNC would be read-only, and we would override that script with updates to ChangeInfo. Any idea why both scripts are read-only?

Yes ChangeInfo script include is also "Read-only" and it shouldn't be as such. May require a support case raised to know the reason. 

 

If you wanted to hide the impact value, by any chance did you try to hide the component visibility since the script include isn't accessible. 

 

SujathaVM_0-1736358520099.png

 

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

Ron Legters
ServiceNow Employee
ServiceNow Employee

Hi Sujatha - I can't change that value on the OOB sub-page record, but I was able to Duplicate that variant and change it on my duplicate. It looks to be working in UIB, but not in the workspace. I've cleared my browser cache, and did a cache.do, and it still isn't working. Any ideas?

UI Builder:

2025-01-13_10-25-15.png

Workspace:

2025-01-13_10-29-14.png