If I do an call to find() via the OKMSearch web service with the path /okm:root, it does a search recursively across all nested folders in the directory... If I change the path to /okm:root/ then it only searches the immediate directory only... Now if I search any path other than root such as /okm:root/Books it will search for items directly in the path /okm:root/Books but not in nested the directories under/okm:root/Books such as items in the directory /okm:root/Books/Electronics. What am I doing wrong... are their additional parameters I need to pass to do a recursive search from a subdirectory or should I format the path differently to do a recursive search from a nested subdirectory? Below are some sample soap requests to demonstrate.
---------------------------- Works for doing a recursive search across nested directories under /okm:root --------------------------------------
---------------------------- Works for doing a recursive search across nested directories under /okm:root --------------------------------------
Code: Select all
------------------ Does not work for doing a recursive search across nested directories under /okm:root/Books --------------------------------------<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.openkm.com">
<soapenv:Header/>
<soapenv:Body>
<ws:find>
<!--Optional:-->
<token>7886925e-a1e4-4c96-a829-ed0790079c19</token>
<!--Optional:-->
<params>
<path>/okm:root</path>
<domain>3</domain>
<!--Optional:-->
<name>sensors</name>
</params>
</ws:find>
</soapenv:Body>
</soapenv:Envelope>
Code: Select all
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.openkm.com">
<soapenv:Header/>
<soapenv:Body>
<ws:find>
<!--Optional:-->
<token>7886925e-a1e4-4c96-a829-ed0790079c19</token>
<!--Optional:-->
<params>
<path>/okm:root/Books</path>
<domain>3</domain>
<!--Optional:-->
<name>sensors</name>
</params>
</ws:find>
</soapenv:Body>
</soapenv:Envelope>