cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in stroting the data from Table UI Element to the model node.....

Former Member
0 Kudos

Hi all,

i have problem in passing the data from one node to another node.

I have a table that is mapped to one node. node name is "ratings" and it has three attributes skills, subskills and deliverable.

while running the project i am entering the data in table rows. For examples the table has 10 rows and three columns

when i press continue the data which i entered in the table should be transferred from "ratings" node to the "Tratings" model node which has the same attribures as "ratings" node. "Tratings" has the parent model node called "GetInput".

my problem is that i am able to transfer data from only a single row in the table. the data in the rest of the rows are not trasferred.

Please suggest me solution for this.

regards,

shreeharsha

Accepted Solutions (1)

Accepted Solutions (1)

p330068
Active Contributor
0 Kudos

Hi Shreeharsha,

Please check the model context node binding and node properties (cordinality, selection etc.)

Hope it helps

Regards

Arun

Former Member
0 Kudos

Hi Arun,

The Parent Model node has Cardinality 0....1 and selection 0.....1

The child model nodes has cardinality 0....n and selection 0....1

regards,

Shreeharsha

Edited by: shreeharshaudupa on Apr 7, 2010 2:16 PM

Former Member
0 Kudos

Hi,

Due to your parent node cardinality 0..1 you are facing this issue.

0..1 means you can add max 1 element in this node.

Regards

Trilochan

Former Member
0 Kudos

Hi,

I am adding the element in the child node not in the parent node. when i try to add element it gives me error but when i bind it will not give any error. if u have any solution please suggest me......

regards,

shreeharsha

Former Member
0 Kudos

hi,

will it work if i change the cardinality to o....n?

regards,

shreeharsha

Former Member
0 Kudos

Hi,

Can you provide the code which you are using for transfering data ?

Regards

Trilochan

former_member214651
Active Contributor
0 Kudos

Hi Shreeharsha,

If your source node and target node attributes have the same name and type u can use the WDCopyService API which has a variant to copy values from source to target.

WDCopyService.copyCorresponding(source object, target object);

Regards,

Poojith MV

Answers (0)