Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Tips / Content Rules

Content Rules

先認識 Content Rule 基本概念,再依照範例練習。

相依關係和變數資訊: plone.stringinterp plone.contentrules plone.app.contentrules

1. Workflow Rule exception in https://github.com/plone/plone.contentrules 2.Naming Convention Error for Var(format) in line 80 of https://github.com/plone/Products.CMFPlone/blob/master/Products/CMFPlone/DublinCore.py as ".format" is itself a property in python.

Create Email Notifications for Custom Dexterity Content Types

Disable Content Rules Through Debug Prompt

Error When Unassign Content Rule

Send Email based on Roles

Notify multiple times custom event to send Emails

from plone.app.contentrules.handlers import close

for email in emails:
    evt = SendNotificationEvent(obj, email)
    notify(evt)
    close(evt)  # make sure it will work for multiple notify