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

How to hide dynamic attribute

Vidhya
New Contributor III
New Contributor III

Hi Team,

We have a dataset with three columns description,departmentcode and ou path. We have created three different dynamic attributes in identity lifecycle :

Following are the queries for each dynamic attribute:

For description : select distinct attribute2 as id from dataset_values where dataset_values.datasetname ='COB_DEPARTMENT_NAME_NONEMPLOYEE1'

For departmentcode : select ATTRIBUTE1 as ID from dataset_values where dataset_values.datasetname ='COB_DEPARTMENT_NAME_NONEMPLOYEE1' and ATTRIBUTE2=${dyndepartment}

For ou : select ATTRIBUTE3 as ID from dataset_values where dataset_values.datasetname ='COB_DEPARTMENT_NAME_NONEMPLOYEE1' and ATTRIBUTE1 = ${dyndepartmentcode}

So when departmentname is selected then departmentcode is populated when you select departmentcode the ou will be populated 

But I want to hide ou dynamic attribute . It should not be visible in UI form .

Can anyone help me on achieving this?

 

Thanks,

Vidhya

11 REPLIES 11

PremMahadikar
All-Star
All-Star

Hi @Vidhya ,

There are two options:

  1. Create another mandatory dynamic attribute like Confirm?Enum Value: Yes/No or Submit?Enum Value: Yes/No
    • Based on the above, one department select, user needs to select this dynamic attribute
    • In this DA, Action: SHOW###departmentcode###Yes___HIDE###departmentcode###No___SHOW###confirm2###Yes___HIDE###confirm2###No___
  2. Use NONE as value.
    • Refer this solution article: Solved: HIDE/SHOW dynamic attributes in ARS form - Saviynt Forums - 63699
    • Define all the values from department Ex: SHOW###departmentcode###department1___SHOW###departmentcode###department2___SHOW###departmentcode###department3___SHOW###departmentcode###departmentN___HIDE###departmentcode###NONE___
    • Similar for departmentvalue DA for SHOW/HIDE ou

 

If you find the above response useful, Kindly Mark it as Accept As Solution and hit Kudos

rushikeshvartak
All-Star
All-Star

Use Action String


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

Vidhya
New Contributor III
New Contributor III

Hi,

Thanks. One more question:

We have this option only for create user form don't we have it for update user form? I want few attributes during update to be stored in user column when hidden 

Vidhya_0-1714969665190.png

Thanks,

Vidhya

That configs available under dynamic attributes config 

  • above config is used to use hidden attributes in workflow 

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

Hi @rushikeshvartak ,

If I check hide on update the value will not be stored in user column. Here in user update form when I select department , department code is not populated instead user needs to select from dropdown but according to query it shows proper dept code in dropdown but I wanted it to populate in field without need to select it from dropdown.

Vidhya_0-1714975342667.png

Thanks,

Vidhya

Add same query in default value


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

Vidhya
New Contributor III
New Contributor III

Hi @rushikeshvartak ,

I did. The same query is in default value. And in user update form it fetches the proper department code but shows in dropdown only problem is I need to select it (above picture). I wanted it to populate in field automatically.

Please provide configs Screenshot for parent and child DA


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

Hi @rushikeshvartak ,

dyndepartment is parent attribute

Vidhya_0-1715049411330.pngVidhya_1-1715049440208.pngVidhya_2-1715049473029.png

Values: select distinct attribute2 as id from dataset_values where dataset_values.datasetname ='COB_DEPARTMENT_NAME_NONEMPLOYEE1' 

dyndepartmentcode is child attribute

Vidhya_3-1715049567111.pngVidhya_4-1715049604641.pngVidhya_5-1715049655612.png

Values: select ATTRIBUTE1 as ID from dataset_values where dataset_values.datasetname ='COB_DEPARTMENT_NAME_NONEMPLOYEE1' and ATTRIBUTE2=${dyndepartment}

default values: select distinct ATTRIBUTE1 as ID from dataset_values where dataset_values.datasetname ='COB_DEPARTMENT_NAME_NONEMPLOYEE1' and ATTRIBUTE2=${dyndepartment}

 

Thanks,

Vidhya

Instead of Mapping keyword use Refresh


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

Hi @rushikeshvartak ,

I tried with Refresh keyword till in update user form when department is changed the department code is not autopopulated. Instead, the value is shown in dropdown where you need to select 

Vidhya_0-1715052401111.png

Thanks,

Vidhya