N.B. This article refers to the legacy application Publish, used in versions below 8.1.
In modern versions, the Pages application has effectively replaced the need for Publish.
Continue reading if you are using Publish and wish to implement this smart object.
The DMSV component allows you to embed the DMS application into a Publish template, where you can browse files, folders, and upload documents.
Please note that the image above is a generic representation of the component, and may not necessarily reflect the final product on your own intranet.
If you wish to use the DMSV component, please contact the Claromentis Support team, who will need to install the required files on your server.
Using the Component
Insert the below line of code into a Publish template:
<component class="DmsvComponent" root_folder="0" view="list" action="download" detailed_upload="0" new_window="1">
The following parameters can be adjusted to suit your requirements:
'root_folder' = Enter the ID of the folder you wish to diplay - if set to '0', this will display the DMS top level root folder, and documents will not be able to be uploaded here.
'action' = 'download' or 'preview' - this will determine the action that is performed when clicking a document (those which are not images. The default is 'download'.
'detailed_upload' = (Optional) If this is set to '1', this will force the component to always use the "detailed upload" function when uploading a document.
'new_window' = (Optional) Set this to '1' for documents to open in a new window.
'view' = If set to 'list', documents will be displayed in list view by default.