cancel
Showing results for 
Search instead for 
Did you mean: 

Semi-Virtual: Definition OW_ObjectPath and recursive search

walle
Champ in-the-making
Champ in-the-making
The defintion of OW_ObjectPath mapping in the semi-virtual structure, creates a path definition to search only in this folder/path (semi-virtual root).

owbootstrap.xml
<VirtualFolderProperty folderproperty="OW_ObjectPath">OwSearchPath</VirtualFolderProperty>
But sometimes also the sub folder-structure should be included in the search. The documents of this sub-folders should be also part of resultlist, if the critiria matches.

Is it configurable ? How can I extend this behavior to search also in subfolders ?

best regards,
Walle
1 REPLY 1

d_evil
Champ in-the-making
Champ in-the-making
Hello Walle,

it is correct the default behavior is that only the root folder of semi-virtual structure is searched when you define it like this, the substructure is not searched.

Until the latest release of OWD 3.2.0.0, to change the behavior, you have only the possiblity to overwrite the corresponding SemiVirtual-structure implementation.
In 3.2.0.0 there is one class which needed to be still overwritten, but with less effert as before, have a look on in the
OwStandardSemiVirtualFolderAdapter.propagateRootProperties(…
OwSearchPath searchPath = new OwSearchPath(null, thePropertyValue.toString(), false, searchStore);
That false parameter have to be defined as true to trigger searches also for substructures from specified/propagated path.

Just as Information, in version 4.0 of OpenWorkdesk these behavior will be made configurable.

Hope it helps,
D.evil
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.