Skip to Content

Difference on get node

Hi all,

What's the difference among the two ways to get a node?

1 -

wdContext.nodeRequest_EmployeeRegisterViDocument_registerEmployee()

2 -

wdContext.currentRequest_EmployeeRegisterViDocument_registerEmployee()

Regards

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 30, 2007 at 11:36 AM

    Hi,

    wdContext.nodeRequest_EmployeeRegisterViDocument_registerEmployee() refers to the entire node elements.

    wdContext.currentRequest_EmployeeRegisterViDocument_registerEmployee() refers to the current node element.

    To give you an example, suppose your node has 2 attributes, Name and Address.

    Now you can have multiple set of Name and Address attrbutes stored in that node.

    Suppose if this node is bind to a table UI and your cursor is pointing to one of the values in the node, then you will use currentNode object of that node.

    Ashutosh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 30, 2007 at 11:45 AM

    wdContext.nodeRequest_EmployeeRegisterViDocument_registerEmployee() refers to the complete node.

    A node can have n number of elements depending upon the cardinality of the node.

    wdContext.currentRequest_EmployeeRegisterViDocument_registerEmployee()

    refers to each such element inside the node.

    Regards,

    Murtuza

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.