Skip to Content
author's profile photo Former Member
Former Member

ContextException: selection cardinality does not allow multiple selection

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 26, 2005 at 01:58 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 26, 2005 at 01:32 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.