I have a requirement where I need to display two different menu items in the left navigation panel based on certain conditions.
The conditions however, may change even when a user is logged in. So in this case we need to periodically check for the conditions and display the items accordingly.
I have already added the when rules on the items and tried refreshing the section using "setInterval" in an non auto-generated section but it hasn't fixed the issue. Until and unless I log off and log back in the item's when are not being evaluated. I have also tried the refresh condition on the section but that too didn't seem to be working.
Can anyone please suggest me something regarding this?