cancel
Showing results for 
Search instead for 
Did you mean: 

Node info of other component's node

Former Member
0 Kudos

I have 2 components.

From one component, can i get the node info (using class IF_WD_CONTEXT_NODE_INFO) of other component's node?

THanks in adv.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ashish,

I understand that you are using one of the components(B) you have in your other component(A), and you want to use a node which is declared in B in A.

If my understanding is correct, Yes, Its possible to read the node of the second component in the first or vice versa. All you have to do is declare the node you want to be visible in the other component as an interface node, by checking on the Interface Node checkbox in the Properties of the node. (The node in question should be in the component controller).

Once thats done, Create a usage of Component B in Component A.

Then in the properties of ComponentController, Click on the Create Icon above Used Controllers/ Components table and select Interface Controller of Controller B. This will make the node visible in the ComponentController Context (right hand side)

Now do a mapping of the desired node from the interface controller to the context, in the Context tab of the Component Controller.

Now you will be able to read the context node of the other compoent.

Hope I answered your query.

Regards,

Rajesh

Former Member
0 Kudos

Hi ,

Can you brief your question .Its not clear about your requirment.

Thanks,

Satya