In a scoped application, if you have a catalog item/record producer that has variables of type Macro, an onload or onchange catalog client script does not hide the Macro variables.

Steps to Reproduce


  1. Import the attached update set and commit it.

  2. Navigate to System Applications > Applications.

  3. Look for the setVisibleTest application and open it.

  4. Under the Application Files tab, look for the Catalog item SNC Test.

  5. Click Try It.

    Note that when the catalog item loads, the macro button variable should be hidden (via the onload client script that uses the setDisplay function) but it is still visible.


Use the g_form.setVisible function instead of the g_form.setDisplay function.

Related Problem: PRB1259274

Seen In

There is no data to report.

Fixed In


Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-03-13 21:18:13