Document library web parts

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! 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, only documents from the current culture that are stored under the Library path will be displayed; if Yes, documents from the default culture will be displayed along with documents from the current culture, while default culture documents will be marked with the culture's flag (as can be seen in the screenshot below) and the Translate option will be 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

 

Page url: http://devnet.kentico.com/docs/5_5r2/devguide/index.html?document_library_web_parts.htm