
With the keepItemCountUpdated tag you can keep the item count updated. You can also display the item count for tasks, alerts, notifications and tracking in the tab heading even if the corresponding tab has not been selected. The item count is updated for the tabs which have data.
In the XML file in the NavigationNode tag, set the keepItemCountUpdated tag to "Yes" .
Example:
<NavigationNode name="Main">
<NavigationNode name="CombinedTask" view="DefaultView" referenceBundle="tasks">
..
</NavigationNode>
<NavigationNode name="alert2" view="AlertsView" referenceGroup="" visible="yes" keepItemCountUpdated="yes" referenceBundle="alerts">
…
</NavigationNode>
<NavigationNode name="notification2" view="NotificationsView" referenceGroup="" visible="yes" keepItemCountUpdated="yes" referenceBundle="notifications">
…
</NavigationNode>
<NavigationNode name="CombinedTracking" view="ComboWorkItemRequestsView" referenceGroup="" keepItemCountUpdated="yes" referenceBundle="tracking">
…
</NavigationNode>
</NavigationNode>
</NavigationNode>
The more NavigationNode indicated to keep item count updated will cause more calls to the provider, which can cause a performance delay.