-
Type:
Spike
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Content Performance
-
Labels:
-
Epic Link:
-
Sprint:TANGO | SP_25 | Nov27-Dec11
Display Page Templates can affect this kind of assets:
- Web Content Article
- Document
- Blogs Entry
When the page is rendering, the type of the layout is "asset_display". We can see it in the debugger in com/liferay/portal/events/ServicePreAction.java:1490
layout.getType() => “asset_display”
The constant is here: LayoutConstants.java
public static final String TYPE_ASSET_DISPLAY = "asset_display";
If the page returns other type, we don't want to show the Performance panel.