In catalog client scripts, the setDisplay function does not work as expected in the Mobile UI.

Steps to Reproduce

  1. Navigate to Service Catalog > Catalog Definition > Maintain Items.
  2. Create a new Item (available on desktop & mobile), add a variable set called var_set_1, and add a variable to the set.
  3. Create a Catalog Client script, add on onLoad script to the created item with UI Type set to Both, and add the script:

    function onLoad() {
         g_form.setDisplay('var_set_1', false);

Expected Behavior:  The variable set should be hidden in the mobile UI as it is in the desktop UI.

Actual Behavior:  The variable set is not hidden in the mobile UI.


Currently on mobile UI, variable sets are not rendering as in desktop UI. Variables are extracted from the variable set and displayed/treated as variables. Variables can still be hidden individually instead of by set.  

Related Problem: PRB627293

Seen In

There is no data to report.

Fixed In


Associated Community Threads

There is no data to report.

Article Information

Last Updated:2015-10-12 19:27:46