Child attribute hiding issue -Update User Request form

Puspanjali
New Contributor
New Contributor

Hi Team,

We are restricting the user attributes based on the SAV role (ROLE_A, ROLE_H,ROLE_M)

Parent attribute: Email required?(YES,NO)

And it's Child attribute:- O365 License? ("E1","E3")

I'm not sure if it something issue with the version

I could able to hide the parent attribute for ROLE_M by adding it in the Action String of the role attribute, Since the parent attribute was hidden for ROLE_M, saviynt should hide its child attribute as well, but saviynt is not hiding those attributes.

After that, I directly added the child attribute to the Action string of ROLE Attribute, but still, saviynt is not hiding those attributes for ROLE_M

Can the team help me with this?

5 REPLIES 5

rushikeshvartak
All-Star
All-Star

Can you share dynamic attribute configuration

Hi Rushikesh

PFA the configuration details

Parent attribute

Puspanjali_0-1670209385732.pngPuspanjali_1-1670209490056.pngPuspanjali_2-1670209535512.png

Action String :

HIDE###C_UdynO365LicenseType_W###Please select Email required or not___HIDE###C_UdynO365LicenseType2_W###Please select Email required or not___SHOW###C_UdynO365LicenseType_W###Yes___SHOW###C_UdynO365LicenseType2_W###No___HIDE###C_UdynO365LicenseType_W###No___HIDE###C_UdynO365LicenseType2_W###Yes___

1st Child attribute

Values : select distinct customproperty13 as ID from users where customproperty13 in ("E1","E3","E1_EMSE3")

Puspanjali_3-1670209644736.pngPuspanjali_4-1670209720242.pngPuspanjali_5-1670209741808.png

2nd Child attribute

Values : select distinct customproperty13 as ID from users where customproperty13 ="No License"

Puspanjali_7-1670209916797.pngPuspanjali_8-1670209937307.png

Puspanjali_10-1670210067631.png

SAV Role management role attribute

Values : select case when rolename='ROLE_HELPDESK' then 'HELPDESK' when rolename='ROLE_MANAGER' then 'MANAGER' when rolename='ROLE_ENDUSER' then 'ENDUSER' end as ID from users u, savroles s, user_savroles us where u.userkey=us.userkey and s.rolekey=us.rolekey and u.userkey = ${requestor} and rolename in ('ROLE_HELPDESK','ROLE_MANAGER','ROLE_ENDUSER') order by ID desc

Default Values : select case when rolename='ROLE_HELPDESK' then 'HELPDESK' when rolename='ROLE_MANAGER' then 'MANAGER' when rolename='ROLE_ENDUSER' then 'ENDUSER' end as ID from users u, savroles s, user_savroles us where u.userkey=us.userkey and s.rolekey=us.rolekey and u.userkey = ${requestor} and rolename in ('ROLE_HELPDESK','ROLE_MANAGER','ROLE_ENDUSER') order by ID desc

Action String SHOW###C_UdynLaptopRequired_W###ENDUSER___HIDE###C_UdynAccessCard_W###MANAGER___SHOW###C_UdynAccessCard_W###HELPDESK___SHOW###C_UdynAccessCard_W###ENDUSER___HIDE###C_UdynEmailRequired_W###MANAGER___SHOW###C_UdynEmailRequired_W###HELPDESK___SHOW###C_UdynEmailRequired_W###ENDUSER___HIDE###C_UdynO365LicenseType2_W###MANAGER___SHOW###C_UdynO365LicenseType2_W###HELPDESK___SHOW###C_UdynO365LicenseType2_W###ENDUSER___HIDE###C_UdynO365LicenseType_W###MANAGER___SHOW###C_UdynO365LicenseType_W###HELPDESK___SHOW###C_UdynO365LicenseType_W###ENDUSER

Puspanjali_12-1670210324996.pngPuspanjali_13-1670210337762.pngPuspanjali_14-1670210357111.png

Puspanjali_15-1670210373582.png

In the UI of update user form (attribute still present)

Puspanjali_16-1670211070711.png

++Adding

1st page of parent attribute

Screenshot 2022-12-05 091622.png

There are extra underscore at end of action string

Hi Rushikesh

I removed the extra underscore from the Action String of the parent, still there is no change,child attribute is still visible in the update form

HIDE###C_UdynO365LicenseType_W###Please select Email required or not___HIDE###C_UdynO365LicenseType2_W###Please select Email required or not___SHOW###C_UdynO365LicenseType_W###Yes___SHOW###C_UdynO365LicenseType2_W###No___HIDE###C_UdynO365LicenseType_W###No___HIDE###C_UdynO365LicenseType2_W###Yes

Puspanjali_0-1670218176049.png