Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: How to exchange data from one Component to another Component.

$
0
0

Hi Om,

 

Exchange of data can be done by binding or plugs,depends on situation you want data two way sharing or one way.

For exchange the data across the component,component controller binding can be use.you should have context node available at both the component with same structure. first you have to bind your view context node to your component 1 where you have the view and data.then you have to expose your context node into interface controller under run time repository of component 1,so that its data can be read outside of this component.then you have to bind the context of both component 1 and component 2 under method wd_usage_initialize,that is available at component controller implementation class.then in the view where you want to read the data,you can get it from component controller using me->comp_controller.

 

Thanks,

Irfan


Viewing all articles
Browse latest Browse all 7775

Trending Articles