Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to specify values for operator="inSet" within ds.xml?

    I am trying to set a criteria in a ds.xml to use a list of values with operator of "inSet". How should I specify the value?

    Code:
            <binding operationType="fetch" operationId="xxx" serverMethod="xxx">
                <criteria fieldName="type" value="1,2" operator="inSet" />
            </binding>
    I tried above but it treats the value as a single String.

    #2
    Think I figured it out. Is this correct:
    Code:
                <criteria fieldName="type" operator="inSet" >
                    <value>1</value>
                    <value>2</value>
                </criteria>

    Comment


      #3
      Yes, that approach is correct.

      Comment

      Working...
      X