This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description


A “view document” action implementation for collective.powertoken

How to use

Add this product to your Plone installation, then you will be able to register Power Tokens that “view” document.

>>> from collective.powertoken.core.interfaces import IPowerTokenUtility
>>> utility = getUtility(IPowerTokenUtility)
>>> token = utility.enablePowerToken(document, 'view.viewDocument')
>>> results = utility.consumeAction(document, token)
>>> print results
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ...

You will get the view output as result.


Call a different Zope view on the context, not the current or default ones.
Call a CMF Template/skins resource on the context
A dict with additional values to set in the request. For example you can set disable_border, or (only for Plone 4) disable_plone.leftcolumn and disable_plone.rightcolumn.

Both parameter are not mandatory. Providing none of theme will call the content default view.

Use case

  • You can view a document, regardless of it’s review state and your roles in the site.
  • You can call a view on a context, overriding the user security permission.


This product was developed by RedTurtle Technology team.


0.1.0 (2012-01-11)

  • Initial release
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.powertoken.view-0.1.0.tar.gz (13.1 kB) Copy SHA256 Checksum SHA256 Source Jan 11, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting