However, I want to empty the value for the question as well and following syntax does not work:
Does anyone has some pointers on how to set this value back to empty? Using null instead of "" obviously fails. I am using CA IDM 12.6.8 CR2 version.
This really has less to do with IdentityManager and more to do with java script setting an ldap attribute.
That and the fact that the Question/value pairs are read/write/required and must have something written to the attribute.
You cannot set the value of a read/write/required to "" or Null. Setting it to a known value is also dangerous.
Modify the screen definition to include the Logical Attributes for each of the verification question and answer pairs that should appear on the screen. For example, add fields as follows:|VerifyQuestion1| - Read only.|VerifyAnswer1| - Write Required.
Determines the privilege level for the field.
Note: If a field is required by the user store, choose a Required setting. Required fields are indicated by a yellow dot in the screen.
Specifies that a field is required, but otherwise functions as the Write setting.
I have struggled to find anything to help you with this search:
or this one:
I did find this one:
It mentions this:deleteValue(value) Deletes a string value from the attribute.
However that does require you to create and manage your own ldap session?
So I do not have a real answer for you, just an understanding that the values have to have something, it cannot be null or blank, but setting them to a known value is very dangerous.