cancel
Showing results for 
Search instead for 
Did you mean: 

ContextException: selection cardinality does not allow multiple selection

Former Member
0 Kudos

Hi.

I am getting the exeception above in my WD when I set the table selection property to "multiple". It seems to be quite logical, but I cannot change the cardinality of the context node because it is a model node.

What is the proper course of action in this case?

<b>Points promised for helpful answers!</b>

Cheers,

faB

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi faB,

you have to change the <i>selection</i> property of the model node (this should be possible) to 0..n to change the selection cardinality. Changing the <i>cardinality</i> property is not possible as this cardinality comes from the cardinality of the model relation (and should be 0..n).

Regards,

Patric

Former Member
0 Kudos

it worked.

cheers Patric!

faB

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi faB

One option would be to make a Value node based on the structure of your model node. You can change the cardinality of your Value node.You can use WDCopyService in your code to populate your Value node with the data in your Model node.

Regards

Pran