on 04-30-2009 9:33 AM
Hi All,
Which condition I need to use to get the selected records on a node ?
Thanks,
Namrata
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.