You are looking at documentation for an older release. Not what you want? See the current release documentation.
The Content Detail portlet allows users to view the detail of a specific content.
This is an example of the Content Detail portlet used in Content:
Packaging: This portlet is packaged in the presentation.war
file.
Portlet class name:
org.exoplatform.wcm.webui.scv.UISingleContentViewerPortlet
Preference | Type | Value | Description |
---|---|---|---|
workspace |
String
|
collaboration
| The workspace where content is stored. |
nodeIdentifier |
String
|
N/A
| The UUID or the path of content that you want to show. |
ShowTitle |
Boolean
|
true
| Shows the content title on the top of the portlet. |
ShowDate |
Boolean
|
false
| Shows the content date on the top of the portlet. |
ShowOptionBar |
Boolean
|
false
| Shows the content date on the top of the portlet. |
ContextEnable |
Boolean
|
false
| Defines if the portlet will use the parameter on URL as the path to content to display or not. |
ParameterName |
String
|
content-id
| Defines which parameter will be used to get the content's path. |
PrintParameterName |
String
|
content-id
| Defines which parameter will be used to get the content's path to print. |
PrintPage |
String
|
printviewer
| The print preview page. |
basePath |
String
|
basePath
| Shows the page in which the full content is displayed when the content title is clicked. |
showScvWith |
String
|
content-id
| The parameter name which shows the content path in URL when the content title is clicked. |
sharedCache |
Boolean
|
true
| Defines if the portlet will use the cache shared between users to display content. If you want the content
to be displayed in CLV to be got from one cache, set the value to true . In most cases, you should not
set sharedCache to false as it reduces the overall performance. See Content Visibility.
|
<portlet-preferences>
<preference>
<name>workspace</name>
<value>collaboration</value>
<read-only>false</read-only>
</preference>
<preference>
<name>nodeIdentifier</name>
<value>/myfolder/mycontent</value>
<read-only>false</read-only>
</preference>
<preference>
<name>ShowTitle</name>
<value>true</value>
<read-only>false</read-only>
</preference>
<preference>
<name>ShowDate</name>
<value>false</value>
<read-only>false</read-only>
</preference>
<preference>
<name>ShowOptionBar</name>
<value>false</value>
<read-only>false</read-only>
</preference>
<preference>
<name>ContextEnable</name>
<value>false</value>
<read-only>false</read-only>
</preference>
<preference>
<name>ParameterName</name>
<value>content-id</value>
<read-only>false</read-only>
</preference>
<preference>
<name>PrintParameterName</name>
<value>content-id</value>
<read-only>false</read-only>
</preference>
<preference>
<name>PrintPage</name>
<value>printviewer</value>
<read-only>false</read-only>
</preference>
<preference>
<name>basePath</name>
<value>detail</value>
<read-only>false</read-only>
</preference>
<preference>
<name>showScvWith</name>
<value>content-id</value>
<read-only>false</read-only>
</preference>
<preference>
<name>sharedCache</name>
<value>true</value>
<read-only>false</read-only>
</preference>
</portlet-preferences>