cancel
Showing results for 
Search instead for 
Did you mean: 

sending paramteres to a child dc

Former Member
0 Kudos

Hi All,

I have a DC that contains multiple DC's.

Is there any way to send a parameter from this main DC to one of its child DC's?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi Aviad,

Lets take i have DC1 and Dc2 and DC2 is child dc of DC1.

now you want to pass parameters from DC1 to DC2.in this case create Public part for component interface controller of DC2.use that one in DC1.usingf external context mapping you can pass this value.

there is no cyclic dependency becuase you are not using any public of DC2 in DC1

Hope this helps

Naidu

Former Member
0 Kudos

Hi Naidu,

Being a child DC meaning that the public parts are used by the "father" DC.

<i>There is no cyclic dependency becuase you are not using any public of DC2 in DC1</i> - By default DC2 public parts are being used by DC1 ==> cyclic reference.

Any other ideas?

Aviad

Former Member
0 Kudos

Hi All (and Naidu),

The solution was very simple (sometimes you dont see the obvious).

All I needed to do is to define a method in DC2 component interface (DC2 = child DC) and to call it from DC1.

Thanks for the Help - Naidu

Former Member
0 Kudos

HI Aviad,

if Your DC is Webdynpro DC ,you can do this using external context mapping.

create public part for the inner dc,use it in the used dcs of main dc.

With Regards

Naidu

Former Member
0 Kudos

Hi Naidu,

What you are suggesting is that I should create a public part in the main DC and import it as child DC (into the main DC) and from there use context mapping to the other DC.

But is this solution won't create a cycle reference?

My entry point for the main DC (my application) is its interface (the default startup plug) which is called by using the "NavigateAbsolute" method from another application in the portal.

Thanks