问题描述
大家好
我创建了一个PowerShell脚本,用于下载SharePoint Designer 2010工作流的.XOML文件. (下面是下载.XOML文件的代码段)
I have created a PowerShell script for downloading .XOML file for SharePoint Designer 2010 Workflows. (Below is the snippet for downloading .XOML file)
我可以使用PowerShell为SharePoint Designer 2010工作流导入.XOML文件吗?
Can I use PowerShell to import .XOML file for SharePoint Designer 2010 Workflows?
Prateek Vijay Vashistha
Prateek Vijay Vashistha
推荐答案
导入工作流时,这不可能仅在SharePoint Designer中为工作流导入XOML文件.
When importing workflow, this is not possible to import only XOML file for a workflow in SharePoint Designer.
当使用从Visio导入"导入工作流时,在SharePoint Designer Visio中,它将需要一个.vwi文件,此文件是这些工作流文件的软件包,不仅是.xoml文件,还将包含.xml和.rules文件:
When import workflow with "Import from Visio" in SharePoint Designer Visio, it will require a .vwi file, this file is a package of these file of workflow, not only .xoml file, it will contain .xml and .rules file:
因此,我建议您可以使用从Visio导入"直接将该.vwi文件导入SharePoint Designer.在功能区菜单中.
So I would suggest you can directly import this .vwi file into SharePoint Designer using "Import From Visio" in the Ribbon Menu.
并没有找到这样的PowerShell脚本来为工作流导入.xoml文件.
And not found such PowerShell script to import .xoml file for a workflow.
更多信息:
导出和导入SharePoint Designer 2010列表工作流
谢谢
最好的问候
这篇关于我可以使用PowerShell导入SharePoint Designer 2010工作流的.XOML文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!