Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Hide and Show dynamic attribute form

Flohy
New Contributor II
New Contributor II

Hi,

For our Create User Form, we have set up the display of certain attributes according to the value of other attributes.

In our case :
If "Badge" value is "Yes", "specialAccess" is shown
If "Badge" value is null or "No", "specialAccess" is hidden

This logic works correctly in the Create User Form. However, it does not work in the Update User Form. Indeed, although I've specified that all the attributes should be hidden by default, as long as no "Action" value has been selected, the ‘specialAccess’ attribute is shown.

Flohy_0-1726479516441.png

This is because, even if the "Badge" attribute is hidden, the value retrieved from the user is "Yes", which explains why the "specialAccess" attribute is shown. However, we don't want this attribute to be shown until the "Badge" attribute is shown and its value is set to "Yes". 

Is it possible to solve this problem?

Best regards

 

 

7 REPLIES 7

NM
Honored Contributor II
Honored Contributor II

Hi @Flohy can you share the hide and show logic.

Flohy
New Contributor II
New Contributor II

Hi,

Here is the action string from the "Badge" attribute : 
HIDE###specialaccess###___HIDE###specialaccess###NON___SHOW###specialaccess###OUI___

Best regards

Please share configuration with screenshot.


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Flohy
New Contributor II
New Contributor II

Hi,

Here is the configuration of the "Badge" attribute :

Flohy_0-1726503789557.pngFlohy_1-1726503809685.pngFlohy_2-1726503844784.png

 

Also share for type


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Flohy
New Contributor II
New Contributor II

Hi,

Here is the configuration of the "type" attribute, the parent attribute for Create User Form :

Flohy_0-1726557971139.pngFlohy_1-1726557997499.pngFlohy_2-1726558017670.png

And here is the configuration of the "action" attribute, the parent attribute for Update User Form :

Flohy_3-1726558111388.pngFlohy_4-1726558126450.pngFlohy_5-1726558139121.png

 

 

  • Mapping keyword is missing in action dynamic attribute 
  • always avoid using internal variables such as type/action
  • prefix DA_ to dynamic attribute names

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.