Skip to main content

CMIS repository browser for Plone

Project description

Presentation

collective.cmisbrowser is a Plone 3.2+ extension that lets you connect to a CMIS document repository and browse its content from Plone.

It provides a content type called CMIS Browser that after being added lets you browse the content of the repository like if it was Plone content (modulo the fact that it is not).

Installation

Update buildout profile

Update your buildout profile to include the following eggs and zcml:

eggs +=
    ...
    collective.cmisbrowser
zcml +=
    ...
    collective.cmisbrowser

Important:

When using python 2.4.x you will also need to add httpsproxy_urllib2 as an egg.

Run the buildout

Run the buildout to reflect the changes you made to the profile:

$ bin/buildout -v

Install the extension

The extension can be installed through the ZMI or Plone control panel.

Through the ZMI

  • Go to the portal quickinstaller in the ZMI.

  • Check the extension collective.cmisbrowser.

  • Click the install button.

Through the Plone control panel

  • Go to Site Setup.

  • Choose Add-on products.

  • Check the extension collective.cmisbrowser.

  • Click the Install button.

Add a CMIS Browser

After installing you will be able to add a CMIS Browser in your Plone site from the Add new… drop-down menu. Configuration can be done on the CMIS Browser itself and/or you can set a site wide configuration.

Configuration

The side wide configuration can be set in the CMIS settings in the Add-on Product Configuration section of Site Setup. Non site wide configuration can be set on the CMIS Browser.

CMIS Browser

A CMIS Browser provides the following options:

  • browser_description: A description of the browser.

  • browser_text: Additional WYSIWYG text field for the browser.

  • repository_url: URL to the connected CMIS repository.

  • title_from_plone: Use the title from Plone and not the one from the repository.

  • repository_name: Name of the repository to use at the connected URL. Required if more than one repository is available.

  • repository_path: Path in the repository to use as root for the Browser. If it is not specified, the root of the repository will be used.

  • repository_user: Username used to authenticate to the repository. If specified, password is required.

  • repository_password: Password used to authenticate to the repository. If specified, username is required.

  • repository_connector: The type of connection that needs to be used SOAP or REST.

  • repository_cache: How long the CMIS content should be cached.

  • folder_view: Choice that lets you choose how CMIS folders are rendered in Plone. This let you select which Plone folder template to use.

  • proxy: Proxy URL to use to connect to the CMIS repository.

In the Plone control panel, you have access to a CMIS settings control panel. It lets you define default settings to use for all newly created CMIS Browser. Those defaults are stored in the Plone properties, and are easily exportable with the help of GenericSetup.

As well, you can provide Zope defaults in the Zope configuration file, zope.conf:

<product-config collective.cmisbrowser>
    repository_url http://orange:8080/alfresco/cmis
    repository_user admin
    repository_password admin
</product-config>

This can be added into zope.conf by buildout, with the help of the directive `zope-conf-additional of plone.recipe.zope2instance.

Configure RAM Cache

Go to: http://[plone–site]/ramcache–controlpanel

RAM Cache Statistics

Gives an overview of the cached items.

Clear RAM cache

Click on the Clear cache button to clear all cached content.

RAM Cache Settings

This configuration overview gives you the possibility to alter the default values of the following parameters:

  • A maximum number of cached values.

  • Maximum age for cached values in seconds.

  • An interval between cache cleanups in seconds.

Change the values and click the Save button.

Compatibility

This product has been tested with Alfresco, but is intended to be generic and usable with any CMIS content repository.

Changes

1.0 (2013/05/27)

  • Initial release.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.cmisbrowser-1.0.tar.gz (35.5 kB view details)

Uploaded Source

File details

Details for the file collective.cmisbrowser-1.0.tar.gz.

File metadata

File hashes

Hashes for collective.cmisbrowser-1.0.tar.gz
Algorithm Hash digest
SHA256 1f7aa71c93e90fbbd727c22cc291e90518fbdd6cb92836c2d80467b2edf620c9
MD5 df9fc446847ba45b0d761dbaf84cec26
BLAKE2b-256 cd9ef5ef014e1d304b2fbe77706fbf1e988fc380da2462cdf2c52f5747654df5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page