diff --git a/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/TextDocument_setTextContent.xml b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/TextDocument_setTextContent.xml new file mode 100644 index 0000000000000000000000000000000000000000..e9c982f85bd8b36e6c09b6d3de49cba76669cf80 --- /dev/null +++ b/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/TextDocument_setTextContent.xml @@ -0,0 +1,95 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="InteractionDefinition" module="Products.ERP5.Interaction"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>actbox_category</string> </key> + <value> <string>workflow</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>activate_script_name</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> + <list> + <string>clearCacheUponUpload</string> + </list> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>This interaction clears the conversion cache of Text Document each time the text content is changed.</string> </value> + </item> + <item> + <key> <string>guard</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>TextDocument_setTextContent</string> </value> + </item> + <item> + <key> <string>method_id</string> </key> + <value> + <list> + <string>_setTextContent</string> + </list> + </value> + </item> + <item> + <key> <string>once_per_transaction</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>portal_type_filter</string> </key> + <value> + <list> + <string>Web Page</string> + </list> + </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Update Text Content</string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>2</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision index 3ea66354ca42ca53b1c7bf964cab9c4cab52279d..0bd049a9634083bb649713736462c9db8aeb8228 100644 --- a/bt5/erp5_dms/bt/revision +++ b/bt5/erp5_dms/bt/revision @@ -1 +1 @@ -679 \ No newline at end of file +682 \ No newline at end of file diff --git a/bt5/erp5_dms/bt/template_portal_type_workflow_chain_list b/bt5/erp5_dms/bt/template_portal_type_workflow_chain_list index d2ae409d701e0918a0eddeca719aa628de3e5c43..c101b85a13b356c155d787968622e8b8a1e028c6 100644 --- a/bt5/erp5_dms/bt/template_portal_type_workflow_chain_list +++ b/bt5/erp5_dms/bt/template_portal_type_workflow_chain_list @@ -37,5 +37,6 @@ URL Crawler | document_publication_workflow URL Crawler | edit_workflow URL Crawler | local_permission_interaction_workflow Web Page | -publication_workflow +Web Page | document_interaction_workflow Web Page | document_publication_workflow Web Page | local_permission_interaction_workflow \ No newline at end of file