Configuration
The File Preview component itself does not need any specific configuration but it must be installed.
Note
The File Preview service must be up and running during the registration process since a manifest exchange is made between ShareAspace and the extension.
Space template configuration
For managed files the DigitalFile's in a SoftType need to be configured in the data section and expose ports for the file, fileLocation and fileName. Then those ports needs to be reflected in an input schema and in an output schema. After this, a read view can be configured where a file preview control can be added.
When the file preview control is added it needs to be configured.
Binding
is mandatory, select the port for the DigitalFileLocation Binding
is mandatory, select the port for the Location attribute of the DigitalFileName Binding
is mandatory, select a port for a Name of the DigitalFileMax image height
is mandatory, the maximum height of the little preview window of the read panePattern
is optional, pattern matching to filter on name when it is a list of files
Configure file preview extension
When the File Preview service is up and running a FilePreview
External Extension
needs to be configured.
Just click Create
in the External extension
part of the Administration
section and fill
in the values for a FilePreview
extension.
Name
is mandatory, the name to identify this extensionExtension type
is mandatory, selectFilePreview
in the drop downExtension URI
is mandatory, the uri to the installed file preview component