Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Highlighted
Trusted Contributor.. Sam Cornett Trusted Contributor..
Trusted Contributor..
97 views

Query for empty containers with no documents 'alternatively contained'

Jump to solution

Wondering if there is a query that will return empty containers that don't have any documents alternatively contained within?

We're currently using 'has nocontents' but this doesn't filter out those with alternatively contained documents.

Thanks in advance!

0 Likes
1 Solution

Accepted Solutions
Micro Focus Expert
Micro Focus Expert

Re: Query for empty containers with no documents 'alternatively contained'

Jump to solution

The search below will return folders and boxes with no contents (including alt contained).

 

recType:[rtyBehaviour:Folder,Box] and recContainsEx:null

Blog | Samples | CM SDK Docs
**Any opinions expressed in this forum are my own personal opinion and should not be interpreted as an official statement on behalf of MicroFocus**
2 Replies
Micro Focus Expert
Micro Focus Expert

Re: Query for empty containers with no documents 'alternatively contained'

Jump to solution

The search below will return folders and boxes with no contents (including alt contained).

 

recType:[rtyBehaviour:Folder,Box] and recContainsEx:null

Blog | Samples | CM SDK Docs
**Any opinions expressed in this forum are my own personal opinion and should not be interpreted as an official statement on behalf of MicroFocus**
Trusted Contributor.. Sam Cornett Trusted Contributor..
Trusted Contributor..

Re: Query for empty containers with no documents 'alternatively contained'

Jump to solution

Thanks so much @David Churchland, you've made our day!!

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.