Greetings,
On the add document screen in ICN we have a dropdown "Country". Depending upon the value choosen by the user in "Country" dropdown there are other depending dropdowns "State" and "City" which gets populated through EDS.
I need to show a confirmation dialog to the user when the value in "Country" dropdown to changed. If user selects Yes the value should be changed if user selects on the confirmation dialog then old value should be preserved.
To accomplish this, I tried to override the "onChange" function of ecm/widget/AddContentItemPropertiesPane. This function is actually called after the value is actually changed in the dropdown due to which on the click of cancel button in confirmation dialog I was again setting the previous value in "Country" field.
This creates a problem if the user had selected "Country", "State" and "City" value then user changes the value in "Country" field then through code I set previous values of all 3 fields but as State and City dropdowns are populated using EDS thats why choicelist values are not retrieved and code sets the values before EDS populates those values.
How can I address this issue ? Is there an event which is called before the value is actually set in the country dropdown and I can return false or something
Please suggest
#IBMContentNavigator(ICN)#Support#SupportMigration