我想弄清楚如何使用Sharepoint 2010工作流程自定义Infopath表单。我已经阅读了大约100万个关于如何执行此操作的教程,但最终我总是收到“工作流模板没有为此页指定FormURN”。错误。Sharepoint 2010工作流程与定制infopath表格
我使用Visual Studio项目来部署解决方案。我有一个包含“Forms”文件夹中的.XSN窗体的模块,当然还有Workflow本身。
之后万吨谷歌搜索,我认为这些设置应该是正确的:
我的窗体模块DEF:
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Module Name="OPF" Url="FormServerTemplates" RootWebOnly="TRUE" xmlns="http://schemas.microsoft.com/sharepoint/">
<File Path="Travel.xsn" Url="Travel.xsn" Type="GhostableInLibrary" />
</Module>
</Elements>
我的工作流高清:
<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Workflow
Name="Godkjenning av timelister"
Description="My SharePoint Workflow"
Id="d92ce465-4fbd-46ee-9e44-ff0320d2bb75"
TaskListContentTypeId="0x01080100C9C9515DE4E24001905074F980F93160"
CodeBesideClass="OPFWorkflowTest2.Godkjenning_av_timelister.Godkjenning_av_timelister"
InstantiationUrl="_layouts/IniWrkflIP.aspx"
CodeBesideAssembly="$assemblyname$">
<Categories/>
<MetaData>
<AssociationCategories>List</AssociationCategories>
<MetaData>
<Instantiation_FormURN>urn:schemas-microsoft-com:office:infopath:Travel:-myXSD-2005-10-21T21-12-27</Instantiation_FormURN>
</MetaData>
<StatusPageUrl>_layouts/WrkStat.aspx</StatusPageUrl>
</MetaData>
</Workflow>
</Elements>
我的特点高清:
<?xml version="1.0" encoding="utf-8" ?>
<Feature xmlns="http://schemas.microsoft.com/sharepoint/"
ReceiverAssembly="Microsoft.Office.Workflow.Feature, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
ReceiverClass="Microsoft.Office.Workflow.Feature.WorkflowFeatureReceiver">
<Properties>
<Property Key="GloballyAvailable" Value="true" />
<Property Key="RegisterForms" Value="Forms\*.xsn" />
</Properties>
</Feature>
我已经发布了来自Infopath的表单,作为“管理员批准的表单模板”。部署Visual Studio解决方案后,表单将显示在“管理中心 - >管理表单模板”列表中,并标记为“工作流程已启用=是”。无论我如何在工作流程中使用表格,我都会得到无FORMURN错误。例如,如果我尝试使用它与任务。
其他的事情我已经尝试:
- 用于2007年两个InfoPath中和2010年
- 安全InfoPath表单上的“域”
- 使用两个完全 - 发布形式
时的备用访问路径留空独立的环境
- XML文件中不同设置的无尽组合
看起来好像有些人设法让这个工作,但不管我做什么都不适合我。
下面是讨论这个问题的各种解决方案(对我来说,这并不工作)的链接:
http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010programming/thread/fac26787-1729-46c8-9021-80652b3734c8
可以在堆栈溢出...的第一篇文章仅列出1个链接。典型...
因此,如果有任何SharePoint专家在那里,请帮我解决这个问题!这是让我质疑整个产品的事情!