Hello,
I am loading dynamic values into a select box.
I am using "IDVault.globalQuery(.......)" to get the data and then I insert it into the select box in that way:
Application Delivery Management
Application Modernization & Connectivity
CyberRes
IT Operations Management
Hello,
I am loading dynamic values into a select box.
I am using "IDVault.globalQuery(.......)" to get the data and then I insert it into the select box in that way:
Hello,
I think this should work instance.setFieldValue (response,valueProperty,labelProperty,defaultValueToSet), where:
response {Array}: is an array of objects or strings to be set.
valueProperty {String…
Hi,
thanks for your answer,
its worked.
But now I see that I need to refresh the default value of the select also when a another select component has been changing,
I can use again with this function:
instance…
Hi,
Have you tried the "Refresh on" option in the data tab? It sounds like it does what you want.
Otherwise, you can try to put root.getComponent("yourField").setFieldValue(response…
Hello,
I think this should work instance.setFieldValue (response,valueProperty,labelProperty,defaultValueToSet), where:
response {Array}: is an array of objects or strings to be set.
valueProperty {String}: is the value for each option to be set. It is expected that each object in response array has this property.
labelProperty {String}: displays label for the options. It is expected that each object in response array has this property.
defaultValueToSet {String|Number}: when set as string, it selects the corresponding item in the response array that has same valueProperty as the <string>. When set as number, it sets response [<number>] as default selected option. This parameter is optional.
I found it from docs https://www.netiq.com/documentation/identity-manager-48/form_builder-481/data/form_builder-481.html#t49eyz6h3642
//t
Hi,
thanks for your answer,
its worked.
But now I see that I need to refresh the default value of the select also when a another select component has been changing,
I can use again with this function:
instance.setFieldValue (response,valueProperty,labelProperty,defaultValueToSet)
with the new default value,
but do you know where can I write this code?
if I will insert this code in the second select component validation so it will happen on every changing of the second select component, I won't be able to use 'instance.set....'
because 'instance' will be the second select component.
Do you know how I change the value of select as a trigger for a change made to another select?
Hi,
Have you tried the "Refresh on" option in the data tab? It sounds like it does what you want.
Otherwise, you can try to put root.getComponent("yourField").setFieldValue(response,valueProperty,labelProperty,defaultValueToSet) in your other field, where "yourField" is the name of the field you want to change.
HI,
What do you mean "root" in "root.getComponent("yourField").setFieldValue(response,valueProperty,labelProperty,defaultValueToSet)" ?
It's undefined in my project.
Sorry, I failed at copy-pasting. It should be
You're welcome! I don't think it's anywhere in the MicroFocus documentation. I took it from one of my forms.