Call me Razor#

我每天重新打造一条秘密小路, 在蜿蜒奇诡的归途中尽情冒险.
  博客园  :: 首页  :: 新随笔  :: 订阅 订阅  :: 管理

VS2008发布Sharepoint工作流时Infopath模板问题

Posted on 2008-07-08 13:55  Razor#  阅读(941)  评论(0编辑  收藏  举报

<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...复制粘贴惹的祸