Allowing in the listing only specific folderKind

Build 1501 on 14/Nov/2017  This topic last edited on: 6/Sep/2016, at 13:33

The below highlighted code allows in the wires listing only the items that are in folders marked as folderKind = wires:

      <searchConditions>

        <SearchNode

          xmlns="http://www.teradp.com/schemas/GN4/1/SearchConditions.xsd"

          xsi:type="SearchConditionList"

          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

          <List Op="In" Path="[folderObject.folderKind]" IsFulltext="true">

            <IdList>

              <IdName Name="wires" />

            </IdList>

          </List>

         <List Path="[archiveObject.archives]" Op="NotExists" />

          <List Op="In" Path="ObjectType.Id" >

            <IdList>

              <IdName Name="story" />

              <IdName Name="image" />

              <IdName Name="video" />

              <IdName Name="audio" />

            </IdList>

          </List>

        </SearchNode>

      </searchConditions>