cancel
Showing results for 
Search instead for 
Did you mean: 

Data Transfer between DCs

Former Member
0 Kudos

Hi Experts ,

I want to know whether I can transfer data from calling DC to called DC . eg. If I Click on a button in calling DC , I want to tranfer this information to called DC .

If it is possible , what kind of coding is required?

Thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

well you can transfer data using the interface controller. You can either define a method in the interface controller of the called component with the required parameters as arguments or you could do a context mapping.

After defining a public part in the called DC , add it as a used DC in the calling DC. Then on the Action onButtonclick() make a call to the method say something like

wdContext.wdget<InterfaceController>.calledMethod();

In the called DC you can open up the window with some code like

 IWDWindowInfo winInfo = wdComponentAPI.getComponentInfo().findInWindows("WD_CalledWindow");   
    IWDWindow win = wdThis.wdGetAPI().getComponent().getWindowManager().createWindow(winInfo,true);
    win.open();

Well let me know if the information was helpful or do u still require further information.

regards

ravi

Former Member
0 Kudos

Hi,

1. You can expose DC1 as a publicpart to DC2

2. Use the Dc1 public part in Dc2

Please go through the docs on JDI in SDN for more

Regards, Anilkumar