Go to the ui component –component structure browser. Open the custom controller. Go to the context node level and right click on context node and choose CREATE option.
In the wizard, give the context node name and choose the model entity as BTAdminh.
Why we have chosen BTAdminh as model entity?
Because we need to do data binding between this node and node of view header. The base entity that we mentioned for header view is BTAdminh. Entities must be same to bind the data.
Just complete the wizard and save the entries. We have created context node.
Then we need to bind the data. Go to the view header and right click on the context node header. Choose the create binding option.
In the next Dialog box, choose the values as shown below.
We have chosen the context node that we have created in the custom controller. Choose continue to complete the binding.
Now data will flow from custom controller context node to header view context node. However we still need to feed the data to the custom controller context node. That we will do in the event handler of result view.
In the wizard, give the context node name and choose the model entity as BTAdminh.
Why we have chosen BTAdminh as model entity?
Because we need to do data binding between this node and node of view header. The base entity that we mentioned for header view is BTAdminh. Entities must be same to bind the data.
Just complete the wizard and save the entries. We have created context node.
Then we need to bind the data. Go to the view header and right click on the context node header. Choose the create binding option.
In the next Dialog box, choose the values as shown below.
We have chosen the context node that we have created in the custom controller. Choose continue to complete the binding.
Now data will flow from custom controller context node to header view context node. However we still need to feed the data to the custom controller context node. That we will do in the event handler of result view.