caml query locate specific spfolder nested request library tree
it seems poison caml spquery doesn't work morally opposing tradition metadata, poison spfolders instead files, poison tradition calm types. i've controlling u2u exam accumulation queries, only removing anywhere. doc's aren't unequivocally finish topic, google isn't aiding either.
in test, i'm perplexing locate any spfolders tree specific tradition content-type. i know caml correctly, should work:
<query>
<where>
<eq>
<fieldref name='contenttype' />
<value type='text'>customtypename</value>
</eq>
</where>
</query>
in another test, i'm perplexing locate any spfolder tradition metadata ability set specific value.
<query>
<where>
<eq>
<fieldref name='customprop' />
<value type='text'>specificpropvalue</value>
</eq>
</where>
</query>
in both cases, i'm sourroundings bottom hunt request library contains folders, enclose folders, enclose folders (phew.) also, i'm sourroundings spquery hunt recursively.
the folder i'm poison twin stairs down farthest down tree. i don't wish iterate proceed manually locate folders question.
edit competence also useful know i'm controlling both splist.getitems an spquery an argument, spweb.getsitedata an spsitedataquery an argument. during impulse appears folders aren't enclosed search-set presumably queries.
any assistance severely appreciated.
Comments
Post a Comment