Issue
- After activating the option Enable View Count Increment in System Settings → Web Content → Web Content Display, the counter remains at 0.
Environment
- Liferay DXP 7.2+
Resolution
- In Liferay DXP 7.2 the following properties in portal-ext.properties should be enabled:
view.count.enabled
view.count.enabled[AssetEntry]
- In Liferay DXP 7.3 and 7.4 these properties have been moved to System Settings → Infrastructure → View Count.
- By default all entities (asset entries, etc) are enabled when View Count is enabled.
Additional Information
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In