Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

This function is available in version 4.4 and later.

Instructions

Usage is that function must be turned on using below profile.config. Also, on the node which has the document which shall have a preview, mode “InhertitPresentationInfo” must be checked.

...

Note that when painting images on nodes, web viewer will first look at the node to see if it has an image and select that image to be shown. If node does not have an image, and mode “InhertitPresentationInfo” is checked, web viewer will look at the presentation (in this case the document) for an image. Now if this function is turned on, the preview will be fetched and displayed.

Version 4.4 and 4.5

Function has two settings in profile.config.

Code Block
languagexml
<!-- Turns on preview of pdf -->
<DocumentNodeInheritImageEnabled>true</DocumentNodeInheritImageEnabled>
<!-- If node already has a node image, this setting will force the preview to display 
     instead -->
<ForceDocumentNodeInheritImageEnabled>true</ForceDocumentNodeInheritImageEnabled>

Version 5.0 and later

Code Block
languagexml
<!-- If node already has a node image, this setting will force the preview to display 
     instead -->
<ForceDocumentNodeInheritImageEnabled>true</ForceDocumentNodeInheritImageEnabled>

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@1ecd09
sortmodified
showSpacefalse
reversetrue
typepage
cqllabel in ( "document" , "pdf" , "preview" , "node" ) and type = "page" and space = "ASKB"
labelspdf document preview node

...