cancel
Showing results for 
Search instead for 
Did you mean: 

node

Former Member
0 Kudos

Hi All,

Which condition I need to use to get the selected records on a node ?

Thanks,

Namrata

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ..

If you want to get the current element for removing element or modifying data base foer cuurent element so you need to get current element in your node.by using Api.

suupose remove element.

if( condition){

wdcontext.node<your node>.removeElement(wdContext.node<your node>.getCurrentElement());

}

thanks

jati

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Namrata,

For lead selection: use wdContect.current<NodeName>Element()

For multi selection go through the thread.

Regards,

Sri

Former Member
0 Kudos

Hi Namrata,

As per my understanding u need to get the values of selected records from a Table.

Find the thread,describes how to get lead selected record and multiselected records.

Regards,

Sunaina Reddy T

pravesh_verma
Active Contributor
0 Kudos

Hi namrata,

Both these will work:

Method1:


 wdContext.node<Your_Node_Name>().getCurrentElement();

Method2:


wdContext.current<Your_Node_Name>Element();

In case you want to read data from table then refer to this thread:

Hope this helps! Please revert back in case you need any further information.

Thanks and Regards,

Pravesh