cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Search for epmDocuments in nested subfolders

RobertM
1-Newbie

Search for epmDocuments in nested subfolders

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?

1 REPLY 1
BhushanNehe
14-Alexandrite
(To:RobertM)

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

Announcements