“创建列表项”工作流操作在包含文档模板的文档库中不起作用 [英] The Create List Item workflow action does not work in document library with document template

查看:84
本文介绍了“创建列表项”工作流操作在包含文档模板的文档库中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的最终目标更复杂,但下面是我遇到的问题的一个基本示例,只是根本不起作用。

My end goal is more complex but below is a basic example of the issue I’m having that just simply does not work.

我正在尝试使用网站工作流程在文档库中创建一个项目,该项目已应用了文档模板,但工作流程创建的文件是腐败,无法打开。

I'm trying to use a site workflow to create an item in a document library that has a document template applied to it but the file that gets created by the workflow is corrupt and cannot be opened.

我创建了一个文档库并通过在标题中添加一些文本并将其更改为Word docx文件而不是Word dotx文件来编辑文档模板。我通过单击功能区中的"文件"选项卡测试文档模板,然后单击新的
文档,该文档在Word中打开文档模板,并允许我编辑文档并将其保存回SharePoint。然后,我在SharePoint Designer中创建了一个包含单个"创建列表项"操作的SharePoint 2013站点工作流,该操作在文档库中创建了
项,并且静态定义了名称字段。我发布了工作流程,然后在网站上手动启动它。工作流成功完成,当我导航到文档库时,工作流已创建文档。
当我单击文档在Word Web App中打开它时,它会抛出下面的错误,如果我在Word客户端应用程序中打开它,它只会打开一个空白文档,而不是正确的文档模板。

I created a document library and edited the document template by adding some text to the header and changing it to a Word docx file instead of a Word dotx file. I tested the document template by clicking the files tab in the ribbon and then clicking new document which opens the document template in Word and allows me to edit and save the document back to SharePoint. Then I created a SharePoint 2013 site workflow in SharePoint Designer that contains a single Create List Item action, and that action creates an item in the document library with the name field statically defined. I published the workflow and then manually start it on the site. The workflow completes successfully and when I navigate to the document library the document has been created by the workflow. When I click on the document to open it in the Word Web App it throws the error pictured below and if I open it in the Word client application it just opens a blank document and not the correct document template.

我还尝试使用SharePoint 2010工作流程,结果几乎相同。在Word Web App中打开文档会出现与上面相同的错误,在Word客户端应用程序中打开文档会出现如下错误。

I also tried using a SharePoint 2010 workflow with pretty much the same results. Opening the document in Word Web App gives the same error as above and opening the document in the Word client application gives the error pictured below.

来自Microsoft SharePoint Workflow的SharePoint文档库中创建Word文档应该只是工作!这是一个错误还是有人对导致此问题的原因有任何想法?

Come on Microsoft creating a Word Document in a SharePoint Document Library from a SharePoint Workflow should just work! Is this a bug or does anyone have any ideas on what is causing the this issue?

推荐答案

我有同样的问题,研究发现很多其他人都有同样的问题。看起来我需要用完一个有限的电话来查看这个基本功能是否有解决方法或修复。
I have the same issue and researching found many others with this same problem. Looks like I will need to use up one of my limited calls to find out if this basic functionality has a work around or a fix.


这篇关于“创建列表项”工作流操作在包含文档模板的文档库中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆