on 02-27-2008 8:51 AM
Hi Guru's,
Need some advice here (again). I have a FM that returns a a result in a table. What i want to do is, on WdDoInit, I would like to go through the table and assign all the values to a value node that i've manually created. The value node has got 5 attributes. How can i do this? Thanks in advance
Reagrds
Hi Nahoj,
to establish this,
1. Create a blank Value Node.
2. Right Click->edit Structure Binding.
3. Select the table from which the values are to be copied.
4. select all the attributes and click on finish
5. Right click on the value node->delete structure binding.
In ur wdDoInit() method write the following code:
wdCopyService.copyElements(wdContext.<model node>,wdContext.<Valuenode>);
Note:- for this statment to execute the name of the variables and their type declared in your value node shoud match, or else it will throw an error.
Hope this helps u
Regards,
Poojith MV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.