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

Dynamic attribute checkbox

HarishG
Regular Contributor
Regular Contributor

Hi,

We have a check box on the user form and the value is mapped to customproperty1. now we have a requirement that if the checkbox is selected then the mapped value should be 'True' else 'False'

 

HarishG_0-1725368486459.png

Current mapping:

Check box is selected - customproperty1='Line Manager'

Check box is not selected - customproperty1=''

Requirement:

Check box is selected - customproperty1='True'

Check box is  not selected - customproperty1='False'

 

Is this possible using checkbox? if not, could you suggest some best practice to achieve this usecase.

 

Thanks in advance

 

Best regards

Harish

9 REPLIES 9

NM
Honored Contributor II
Honored Contributor II

Hi @HarishG you can use radio button instead of check box and instead of giving line manager as an option .. give true and false, frame a question for which user select yes or no

rushikeshvartak
All-Star
All-Star
  • Use Single Select drop down. You can't achieve with checkbox

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

stalluri
Valued Contributor II
Valued Contributor II

@HarishG 
This is not supported in the Check box.


Best Regards,
Sam Talluri
If you find this a helpful response, kindly consider selecting Accept As Solution and clicking on the kudos button.

HarishG
Regular Contributor
Regular Contributor

Thanks @NM and @rushikeshvartak ,

If we use single select dropdown, how to modify the value to True or False while mapping to custom property?

do we need to use another Dynamic attribute to check the first dynamic attribute value(LineManager or not)? i tried this way but the second dynamic attribute cannot be hidden on the userForm. If we hide, the value is not mapped to CP

 

any suggestions?

 

Best regards

Harish

NM
Honored Contributor II
Honored Contributor II

@HarishG any issues with radio button?

Dont use checkbox use only dropdown


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

HarishG
Regular Contributor
Regular Contributor

Thanks @NM , radio button would be and alternative. but we have Manager Flag as an Attribute. Under ManagerFlag, currently we have LineManager as option. Later these options will be extended.

 

@rushikeshvartak , Thanks, 

If we use single select dropdown, how to modify the value to True or False while mapping to custom property?

do we need to use another Dynamic attribute to check the first dynamic attribute value(LineManager or not)? i tried this way but the second dynamic attribute cannot be hidden on the userForm. If we hide, the value is not mapped to CP

NM
Honored Contributor II
Honored Contributor II

@HarishG in single drop down you can't hide it .. to map the value.

  • Use case when condition in SQL

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