AnsweredAssumed Answered

troubles with checking subfolder ID

Question asked by foxtrot1213 on Aug 24, 2011
Latest reply on Aug 25, 2011 by foxtrot1213
Hi,
here is my query. Obviously, I am mistake somewhere. Basially, I am trying to check whether folder exists or not (the name of folder is in a variable)

"<cmis:query xmlns:cmis=\"http://docs.oasis-open.org/ns/cmis/core/200908/\">
<cmis:statement>SELECT cmis:objectId FROM cmis:folder "+result.html_dirname+"WHERE IN_TREE("+result.html_dirname+",'workspace://SpacesStore/"+globalMap.get("translation.id")+"')</cmis:statement>
<cmis:searchAllVersions>true</cmis:searchAllVersions>
        <cmis:includeAllowableActions>false</cmis:includeAllowableActions>
        <cmis:includeRelationships>none</cmis:includeRelationships>
        <cmis:renditionFilter>*</cmis:renditionFilter>
<cmis:maxItems>50</cmis:maxItems>
<cmis:skipCount>0</cmis:skipCount>
</cmis:query>"

Any help?

Outcomes