<Feature Id="{AD90FEBE-0902-4633-B968-2F45D7420F3E}"
Title="Approval State Machine Edition Feature"
Description="多级审批工作流."
Version="12.0.0.0"
Scope="Site"
ReceiverAssembly="Microsoft.Office.Workflow.Feature, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
ReceiverClass="Microsoft.Office.Workflow.Feature.WorkflowFeatureReceiver"
xmlns="http://schemas.microsoft.com/sharepoint/">
<ElementManifests>
<ElementManifest Location="workflow.xml" />
<ElementFile Location="Init.xsn" />
<ElementFile Location="Task0.xsn" />
<ElementFile Location="Task1.xsn" />
<ElementFile Location="Task2.xsn" />
<ElementFile Location="Task3.xsn" />
</ElementManifests>
<Properties>
<Property Key="GloballyAvailable" Value="true" />
<!-- Value for RegisterForms key indicates the path to the forms relative to feature file location -->
<!-- if you don't have forms, use *.xsn -->
<Property Key="RegisterForms" Value="*.xsn" />
</Properties>
</Feature>
好久没做SP开发,今天在布署sharepoint顺序工作流的时候突然发现Infopath模板发布路径老是不对,vs ErrorList 提示C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\ApprovalSequentialEditionII下找不到Init.xsn文件,而且.xsn模板都没有发布成功,后来才发现是把ElementFile写成ElementManifest...复制粘贴惹的祸