cancel
Showing results for 
Search instead for 
Did you mean: 

Getting the value of the embedded View control (ComboBox)

venkatakalyan_karanam
Active Contributor
0 Kudos

Hi Experts

I have a main view (XML View )and sub view (XML form ).  In sub view I have a combo box and its data is populated from the oData Service.

We have used below code to embed the sub view

<mvc:XML View id=<subform_viewId> viewName=<xxxxxxxx>/>

Now I have to fetch the value of the Combo Box in the main form.

Please let me know how to fetch the value of the embedded form control say ComBoBox into my main view controller.

Thanks and Regards

KALYAN

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182372
Active Contributor
0 Kudos

sap.ui.getCore().byId("subform_viewId--CONTROL_ID") should work for standalone but most propbably will not work for FLP scenario



i would highly recommend to use a shared model to interviews data exchange