Need help?

Contact SCC

Email scicomp
Join #scicomp on Slack

Help us help you

Follow these guidelines when submitting a help request.

DOCUMENTVIEWER -- Embed a presentation, spreadsheet, PDF or other document in a viewer

28 Apr 2022 - 11:54 | Version 1 |
The %DOCUMENTVIEWER% variable is handled by the DocumentViewerPlugin

Parameters

ParameterSorted descending Description Default
width width of the embedded viewer 724
web Web the current web
topic Topic, or Web.Topic the current topic
height height of the embedded viewer 1024
format predefined height and width  
"attachment" Name of attachment to embed  

You can either specify the parameters height and width, or alternatively choose one of the predefined formats portrait, landscape or screen (4:3).

Examples

  • %DOCUMENTVIEWER{"presentation.odp"}%

  • %DOCUMENTVIEWER{"presentation.odp" height="600" width="800"}%

  • %DOCUMENTVIEWER{"specification.pdf" web="Projects" topic="SomeProduct" format="portrait"}%
Copyright © Simons Foundation. All material on this collaboration platform is the property of the Simons Foundation.
This website is using cookies. More info. That's Fine