cancel
Showing results for 
Search instead for 
Did you mean: 

How to dynamically rerun a Content View query?

karl_harris_
Star Collaborator
Star Collaborator

I have a content view with the following query

ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' and ecm:parentId=? AND ecm:primaryType =?

and as query parameters

#{currentDocument.id}

#{currentDocument.currentLifeCycleState}

I idea is to reveal documents that are in the parent folder based on the lifecycle state of the parent. Yeah, I know the document types (strings in this case) contained in the parent have to match the lifecyclestate. I have them matched in the lifecycles and document creations.

It all seems to work, however, I can't determine how to "prod" the database to re-run the query with the new values.

Logout/login works but is unacceptable, also changing to a different root works but is also unacceptable.

I've tried a reset action based on the a lifecycle change event for the container resetting the container parent and it's children but that doesn't seem to do anything?

Any ideas?

0 REPLIES 0
Getting started

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.