I'm trying to add a relatively simple search via powershell, see code below:

Add-PWSavedSearch -SearchName "NTC Test" -Attributes @{DocumentType = "NTC"} -Environment Wave_Documents -OwnerProject "3803" -SearchFolder "Yolk Property Group\3803\" -SearchSubFolders

Instead of creating it where it is supposed to (i.e. in Work Area with the name 3803) it is creating it in the datasource level global searches area. Note the the WA above is within another work area ('s level 2 in the tree): If I run the same command to create a search in work area that is in the root then it works fine.

Parents Reply Children
No Data