Click HERE to see how Saviynt Intelligence is transforming the industry. |
05/02/2024 11:52 PM
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
05/03/2024 01:41 AM - edited 05/03/2024 01:42 AM
Hi @Vidhya ,
There are two options:
If you find the above response useful, Kindly Mark it as Accept As Solution and hit Kudos
05/04/2024 08:31 AM
Use Action String
05/05/2024 09:29 PM
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
Thanks,
Vidhya
05/05/2024 10:56 PM
That configs available under dynamic attributes config
05/05/2024 11:03 PM
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.
Thanks,
Vidhya
05/05/2024 11:05 PM
Add same query in default value
05/05/2024 11:10 PM
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.
05/06/2024 06:35 PM
Please provide configs Screenshot for parent and child DA
05/06/2024 07:41 PM
Hi @rushikeshvartak ,
dyndepartment is parent attribute
Values: select distinct attribute2 as id from dataset_values where dataset_values.datasetname ='COB_DEPARTMENT_NAME_NONEMPLOYEE1'
dyndepartmentcode is child attribute
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
05/06/2024 08:09 PM
Instead of Mapping keyword use Refresh
05/06/2024 08:27 PM
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
Thanks,
Vidhya