cancel
Showing results for 
Search instead for 
Did you mean: 

Couldnt accesss 2nd fragment values from controller.

0 Kudos
328

Hi,

I'm creating custom F4 help screens same as Smart Field with Value Help.

UI screen flow is from view1.view.xml->fragment1->fragment2.

For both fragment1 & fragment2, im calling from view1.controller.js and i had used addDependent().

However i'm struck while accessing fragment2 UI element values in view1.controller.js and couldnt add a panel to fragement2 dyanamically.

Any advice is deeply appreciated.

PS: Please find attached screenshot for reference.

Regards,

Natarajan

maheshpalavalli
Active Contributor
0 Kudos

It looks like there is no issue with the approach you are are following, you should provide the code that you have written to analyze the error like the places where you are instatiating the fragment and where you are trying to read the data.

BR, Mahesh

View Entire Topic
junwu
Active Contributor
0 Kudos

https://ui5.sap.com/#/topic/5da591c5a5a54740948acfe56b22fbc3

study that chapter to understand what you are missing......