The method how to access and change a TrueFalseCheckBox in IDM User Application forms is not exactly intuitive.
Here’s how to do it:

If you have defined a custom TrueFalseCheckBox named “myCB”, you can use a code snippet like this to trigger checking/unchecking the checkbox from any event.

	if ( checkIt )
	{  "myCB"  );
	{ "myCB", [ "false" ] );
catch (e) {}

Note: the "try .. catch" is used as a workaround to handle the error that may occur on some UA versions where the line "myCB", [ "false" ] );

works as desired, but can trigger an exception.
The "try .. catch" is a workaround for this UA bug/error.

Tested on Identity Manager version 3.7.0 Build Revision 34881

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Leave a Reply


Jul 1, 2010
11:30 am
Active Directory Authentication Automation Cloud Computing Cloud Security Configuration Customizing Data Breach DirXML Drivers End User Management Identity Manager Importing-Exporting / ICE/ LDIF Intelligent Workload Management IT Security Knowledge Depot LDAP Monitoring Open Enterprise Server Passwords Reporting Secure Access Supported Troubleshooting Workflow