简体   繁体   English

如果项目在使用Sitecore的初始工作流程步骤中部分发布,该怎么可能?

[英]How is it possible that an item is partial published while it is in a initial workflow step using Sitecore?

For a project i'm using Sitecore workflows. 对于我正在使用Sitecore工作流程的项目。 I have a strange issue with a new created comment functionality with workflows. 我对使用工作流程创建的新评论功能有一个奇怪的问题。 All new comments (submitted from a form on the website by a visitor) are linked to a workflow. 所有新评论(由访问者在网站上提交的表单)都链接到工作流程。 There are 3 workflow states: 有3种工作流程状态:

  1. Waiting for approval 等待批准
  2. Approved 批准
  3. Rejected 被拒绝

Three fields are defined in the comment template: 注释模板中定义了三个字段:

  1. Name 名称
  2. Email 电子邮件
  3. Message 信息

The comment is linked to the workflow in the Comment templates standard values. 注释链接到“注释”模板标准值中的工作流程。 However when I run a publish or full publish the comment template field "Name" and "Email" are published to the Live website while the comment is in review state "Waiting for approval". 但是,当我运行发布或完整发布时,评论模板字段“名称”和“电子邮件”将发布到Live网站,而评论处于审阅状态“等待批准”。 Did anyone know how this is possible and how i can fix this? 有谁知道这是如何可能的以及我如何解决这个问题?

Thanks a lot. 非常感谢。

Jordy 约迪

My guess would be, that your "Name" and "Email" fields are marked "shared". 我的猜测是,您的“姓名”和“电子邮件”字段标记为“共享”。 If so, they would not be versioned and therefore not parttake in your workflow. 如果是这样,它们将不会被版本化,因此不会参与您的工作流程。

Untick "shared", and mark them "Versionable". 取消“共享”,并将其标记为“可版本化”。

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

相关问题 Sitecore:以编程方式将工作流分配给项目 - Sitecore: Assign workflow to an item programmatically 如何将项目从1个工作流程移动到另一个工作流程,然后又移回到Sitecore中的第一个工作流程? - How to move a item from 1 workflow to another workflow and then back to the 1st workflow in Sitecore? 如何使用Sitecore添加具有预定义语言的项目? - How to add an item with a predefined language using Sitecore? 如何使用项目Web API在SiteCore 6.5中创建媒体项目 - How to create a media item in sitecore 6.5 using item web api Sitecore 7 MVC使用项目的呈现详细信息从控制器创建部分渲染 - Sitecore 7 MVC create partial rendering from controller using presentation details of the item 如何从工作流程中排除Sitecore用户角色? - How to exclude Sitecore user roles from workflow? 如何使用Sitecore Api ..更改项目的模板ID? 注意-仅使用sitecore api - How to change Template ID of item Using Sitecore Api..?? Note- Only Using sitecore api 如何使用sitecore Xpath查询访问项目中的字段值 - how to access field values in a Item using sitecore Xpath Query 如何使用C#编码更改特定项目的Sitecore模板? - How to change sitecore template of particular item using c# coding? 返回单个项目时将Sitecore内容搜索与Lucene结合使用时出错 - Getting error while using Sitecore Content Search with Lucene while returning single item
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM