How to dynamically rerun a Content View query?

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 votes

0 answers

833 views

ANSWER