Kentico CMS 7.0 Developer's Guide

Document library web parts

Document library web parts

Previous topic Next topic Mail us feedback on this topic!  

Document library web parts

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

The whole functionality of the Document library module is ensured by the following two web parts:

 

Document library -> Document library - designed for general use anywhere on your website; it displays all documents from a specified location except those whose Owner is a community group

Community -> Group document library - designed for use within a context of a community group; displays documents whose Owner is the specified community group along with other documents stored under the specified path

 

The web parts have the following specific properties:

 

Library path - path to the document under which the library documents are stored, e.g. /My-document-library/My-images; only CMS.File documents from the first level under the entered path are displayed; using the Set permissions button, you can directly configure the document's permissions, as described in Security

Page size - number of documents listed by the web part on a single page

Document form - Alternative form that will be used for document properties editing (after choosing WidgetClone Properties from the context menu); if blank, the CMS.File.DocumentLibrary form will be used; if this form is not available, the CMS.File document type's default form will be used

Group name - available only with the Group document library web part; documents owned by the specified group stored under the Library path will be displayed along with other documents under the same path

Combine with default culture - if No, the web part only displays documents from the current culture that are stored under the Library path. If Yes, documents from the default culture are displayed along with documents from the current culture. In this case, the default culture documents are marked with the culture's flag and the Translate option is available in their context menu

Check permissions - if enabled, only documents for which the current user has the Read permission are displayed by the web part; if disabled, all documents are displayed

 

devguide_clip1425