Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
I would like to search for documents inside of a nested subfolder tree. I tried using the List-FolderContent webject but you have to enter a specific folder path. I want all document in all subfolders under a starting folder. Does anyone have any experience with this?
Hi Robert,
It should be possible to query folder within a folder using Query-Objects , refer below example and then execute List-FolderContents for every folder returned and you can then call the entire thing recursively.
<ie:webject name="Query-Objects" type="OBJ">
<ie:param name="INSTANCE" data="$(properties[0]wt.federation.ie.VMName[0])" />
<ie:param name="TYPE" data="wt.folder.SubFolder"/>
<ie:param name="ATTRIBUTE" data="name"/>
<ie:param name="WHERE" data="folderingInfo.parentFolder='wt.folder.SubFolder:<<IDA2A2>>'"/>
<ie:param name="GROUP_OUT" data="folderList"/>
</ie:webject>
Regards,
Bhushan