430 views

Description

Variables within a container that is hidden by a UI Policy become visible when their visibility is set to true in a different UI Policy.

Steps to Reproduce

  1. Create a new catalog item and name it, for example, PRB744763.
  2. Add two variable sets named vset1 and vset2 to PRB744763.
  3. Give order 100 to vset1.
  4. Give order 200 to vset2.
  5. In vset1, create a Select Box variable:
    • name it change_visibility
    • question (change visibility inside the container in another variable set) and add the following options:
      • show more details (give it order 100)
      • more details not needed (give it order 200)
  6. In vset2, create the following variables (name, type, order):
    • outter_con_start, Container Start, 50
    • first_label, Label, 60
    • show_hide, CheckBox, 100
    • container_start, Container Start, 150
    • more_details_not_needed, Label, 200
    • more_details_needed, Reference, 300 (use simple reference to the users table)
    • container_end, Container, End 350
    • outter_con_end, Container End, 400
  7. Create a Catalog UI Policy:
    • applies to variable set vset2
    • short description (show on true)
    • Catalog Conditions show_hide is true
    • Catalog UI Policy Actions:
      • container_start, Read only
      • Leave alone, Mandatory
      • Leave alone, Visible: True
  8. Create a Catalog UI Policy:
    • applies to catalog item PRB744763
    • short description (show more details)
    • Catalog Conditions change_visibility is more details not needed
    • Catalog UI Policy Actions:
      • more_details_needed, Read only
      • Leave alone, Mandatory
      • Leave alone, Visible: False
      • more_details_not_needed, Read only
      • Leave alone, Mandatory
      • Leave alone, Visible: True
  9. Try the new catalog item.
  10. Change the "change visibility inside the container in another variable set" select box.
    Note that the variables within a hidden container in the other variable appear.
  11. Use hide/show checkbox that hides/shows the container again.
    Note that the variables that appeared in the previous step are now hidden.

Workaround

Within the affected container, add a label or any other variable that is always visible (not hidden by any UI Policy).


Related Problem: PRB744763

Seen In

There is no data to report.

Fixed In

Jakarta

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2017-05-10 13:13:44
Published:2017-01-25