Ids class

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 16:30

Description

Performs specific search.

Members

xsi:type it is always "VariableSearchNode".
Name variable name
Type if your script suplies ids, it should be IdList
Optional set to True if <SearchNode contains more than one <List. This make the condition more general, i.e. you can use one condition to search for different thing. In the above example, both <Ids nodes are optional. This means you can supply a list of edition ids, and it will activate only the variable search node with

Example

<!-- The objects must be assigned to the specified edition -->

<List xsi:type="SearchCondition" Path="[linkObject.assigns]" Description="Assigned" Op="In">

  <Ids xsi:type="VariableSearchNode" Name="editionIds" Type="IdList" Optional="true" />

</List>

<!-- The objects must be assigned to the specified page -->

<List xsi:type="SearchCondition" Path="[linkObject.assigns~pageRef]" Description="Assigned" Op="In">

  <Ids xsi:type="VariableSearchNode" Name="pageIds" Type="IdList" Optional="true" />

</List>

Remarks

There's one <Ids node within parent <List node of the parent <SearchNode inside of the <ExtendedConditions.