简体   繁体   English

适用于营销人员和工作流程的Sitecore Web表单

[英]Sitecore webforms for marketers and workflow

I'm creating a Sitecore item with the web forms for marketers module. 我正在使用营销人员网络表单模块创建一个Sitecore项目。 The item has a default workflow defined on the standard values. 该项目具有在标准值上定义的默认工作流程。 The expected behavior when I save the form is the item being automatically inserted in the default workflow, instead the new item is created but not inserted in any workflow. 我保存表单时的预期行为是将项目自动插入默认工作流程中,而是创建了新项目,但未将其插入任何工作流程中。

Is there a way I can include the item in the workflow automatically, or to create a custom action that will detect the item being saved and sets its workflow up? 有什么方法可以自动将项目包括在工作流程中,或者可以创建自定义操作来检测要保存的项目并设置其工作流程?

I would like to avoid creating a custom action myself to duplicate the create item plus workflow. 我想避免自己创建自定义操作来复制创建项以及工作流。 I really like the fact that the advanced users can create their save actions and field mapping themselves, and I will lose that feature if I had to create a custom action for every new template needing an entry form. 我真的很喜欢高级用户可以自己创建保存操作和字段映射的事实,如果我必须为每个需要输入表单的新模板创建自定义操作,我将失去该功能。

Sorry for being a bit late to the party. 对不起,聚会晚了。 We've encountered this error and managed to resolve it for a sitecore 7.1 site 我们遇到此错误,并设法解决了Sitecore 7.1网站的问题

We found that the item created by WFFM would have a workflow assigned to it if the website had the LiveMode.config included in the website. 我们发现,如果网站中包含LiveMode.config,则WFFM创建的项目将分配有工作流程。 Live mode for 7.1 sets "enableWorkflow" to true for the site "website". 7.1的实时模式将网站“网站”的“ enableWorkflow”设置为true。

Adding this setting into the site node eg 将此设置添加到站点节点中,例如

<site name="website" enableworkflow="true" etc etc etc/>

Hopefully when you try this it should work (make sure you exclude the LiveMode.config) 希望当您尝试此操作时,它应该可以工作(确保排除 LiveMode.config)

My colleague tried to add workflow to WFFM forms recently, and discovered that you cannot. 我的同事最近尝试将工作流程添加到WFFM表单,但发现您不能。 We filed this with Sitecore support and we've been told it has been forwarded to the product team. 我们在Sitecore支持下提交了此文件,并被告知已转发给产品团队。

Unfortunately, this means that advanced users that edit a form are directly editing the approved version of a form, and there is no way to create a 'draft' version. 不幸的是,这意味着编辑表单的高级用户正在直接编辑表单的批准版本,而无法创建“草稿”版本。

The support portal seems to be down right now, so I can't extract the ticket number, but I'll update this once I can. 支持门户现在似乎已关闭,因此我无法提取故障单编号,但是我将在可能的情况下进行更新。

Update: This issue is logged from us as ticket #405553. 更新:此问题从我们作为票务记录在#405553中。 It's currently 'closed' due to inactivity, but if you reference it Sitecore should be able to track down the current status with the product team. 由于不活动,它目前已“关闭”,但如果您引用它,Sitecore应该能够跟踪产品团队的当前状态。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM