Am trying to retrieve the drop down object using the below code onWindowLoad event in component editing screen. But failed as i am unable to get the id for the OOB dropdown control. How to find the id of OOB dropdown control(added in schema design phase) and populate the values. The dropdown is within a multivalued embedded schema which would be repeated.
Requirement: Location selection Author should able to select the state based on the selected country. Selected Country and State should be visible in component editing screen. N.B: Tree view cant be used.
Pseudocode: I have two dummy dropdowns in component editing screen. I need to populate the first dropdown(Country) onWindowLoad event using anguilla framework by retrieving all abstract keywords within the 'Location' category. onChange event of first dropdown I need to populate the second drop down(State) by populating all Normal Keywords within the selected Country abstract keyword. Am not able to retrieve the OOB drop down object in js file as these drop downs doesn't have an unique identifiers. Please suggest me a valid solution to achieve this requirement.