Skip to Content
avatar image
Former Member

Accessing context node of another component.

Hi Experts,

I have a requirement where I need to access from a view a context node of another view of another component. Now my question is should I create a new context node for it and bind it to the context node of the other view. However the required BOL Entity is not present in this view.

Please let me know how to go about this.

Thanks,

Samrat

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 20, 2008 at 11:03 AM

    Hi Samrat,

    in a normal scenario those two components will be in relation to each other. One component is using the other one. In this case you can check if the desired context node is in the interface of the used component. If yes, use the method WD_USAGE_INITIALIZE on component controller level to create the binding. From your own view you are then able to access the component controller and through it the node.

    Probably the desired node is not directly in the interface(this is the likely case 😉 ). A possible way to follow is getting another node from the interface and using the BOL model to navigate to your desired node.

    cheers Carsten

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 20, 2008 at 11:43 AM

    Hi,

    There is already a thread related to this issue.Please go through with this thread.

    access-to-a-field-belonging-to-one-component-from

    Also try this thread according to ur requirement.

    Reading Attributes from different context nodes in the same view

    Regards

    Gaurav

    Edited by: Gaurav Mehta on Oct 21, 2008 1:29 AM

    Add comment
    10|10000 characters needed characters exceeded