Hide one of the MRVS variable from the catalog item view and showing it only in RITM

Night
Tera Expert

Hi Community,

Hope everyone is well!

I want some help in MRVS, I want to hide the variable 'First name' as shown below in yellow from the catalog item and only to show it in RITM/Task. Is there any way to do it ?

 

For better under standing you can look the pictures attached.

hidingfirstname.PNG

As you can see first name is not visible in form but it is still visible in catalog item. This is what UI and script can only do if I'm not wrong.

forHelp.PNG

 

P.S: As you can see this is what is possible for UI and script as from what i found out. If there is any other way to do it or if I'm using the MRVS in a wrong way please let me know.

1 ACCEPTED SOLUTION

Brad Bowman
Kilo Patron
Kilo Patron

As you discovered, hiding a variable in an MRVS via the 'Hidden' checkbox on the variable definition, or a Catalog Client Script or Catalog UI Policy will only hide the variable in the Add Row dialog window.  There is not a way to hide a MRVS column on any form when the MRVS contents are being displayed (with the row action icons and Add and Remove All buttons).

View solution in original post

7 REPLIES 7

Kristoffer _str
Tera Contributor

A possible workaround for this issue is to manipulate the CSS of the sp_instance. 
1. CTRL right-click the catalog item widget
2. Select "instance options" and "open in platform"
3. Modify the CSS-field as shown in the image below, entering the sys_id of the variable you want to hide in the two places highlighted. (Remove <> as well)

The first part overrides the display of the header for the column and the second part overrides the display of the rows added in the MRVS 

Kristoffer_str_0-1726051949357.png

 

@Kristoffer _str But by this approach my column is hidden but its column values are moving one cell next to it,

eg. I am trying to remove "Record Action" column

Record ActionNumberPurpose
INSERT123Record 1
INSERT124Record 2

 

After applying css:

NumberPurpose 
INSERT123Record 1
INSERT124Record 2

 

Can you help with removing the values as well?

@Brad Bowman  

Hi!

It looks like you have applied the first part of the CSS to hide the column header, but you have not added the second part which hides the values for the hidden column. Add the second part of the required CSS and the values should also be hidden. Below is a concrete example of both parts of the CSS. Replace the sys-ids with the sys-id of your "Record action" variable and it should work

Kristoffer_str_0-1736248230882.png