Variables on a form hidden through catalog client scripts/UI policies are still displayed on the Printer Friendly page.


Description

When variables are hidden through a catalog client script or catalog UI policy these variables still show up on the form on the Printer Friendly page.

Steps to Reproduce

  1. Navigate to Service Catalog > Maintain items.
  2. Open any catalog item (i.e. OOB sample 'Apple iPad3').
  3. Add two variables:
    • Question: A
    • Name: a
    • Question: B
    • Name: b
  4. Click Submit.
  5. Create a catalog client script.
    1. Name: HideVariables
    2. Type: onLoad
    3. Check "Applies on Requested Items"
    4. Script: g_form.setDisplay('a',false);
  6. Click Submit.
  7. Click Try it.
  8. Click Order Now.
  9. Navigate to Service Catalog > Items.
  10. Open a record created in step 5.
  11. Click Settings using the toggle icon.
  12. Click Printer-friendly version.

Expected results: Variables A should not be displayed with "Printer-friendly version"

Actual result: Variables A is displayed with "Printer-friendly version"

Workaround

This issue has been fixed. If you are able to upgrade, review the Fixed In or Intended Fix Version fields to determine whether any versions have a planned or permanent fix.

If you are not able to upgrade yet, perhaps this workaround can provide temporary relief.

Apply the attached update set sys_remote_update_set_a47ea89cdb491010542ae8cd139619cf.xml

It will create the following UI Macros in table [sys_ui_macro]:

Delete these when the fix target is applied to the instance


Related Problem: PRB1391571