My problem is as follows:
-
We have a custom content type called eForm that inherits from Form.
-
I have a browser based InfoPath form with code behind that needs to be deployed as a feature AND needs to inherit from eForm
The content type deploys properly and inherits as expected when I try to launch the form in the browser the client opens and eventually says it can't find the tempalte.
I know this must be something simple but I can't find any documentation is related specifically to this scenario (code behind, feature, inheritence).
Thanks so much for any help!
Jason
My feature.xml file looks like this:
<?xml version="1.0" encoding="utf-8" ?>
<
Feature xmlns="http://schemas.microsoft.com/sharepoint/"
Id="2143d033-8aa5-41be-8c62-75f94be6d9b1"
Title="ROW.InfoPath.PublishingRequisition"
Description="Deploys the Corporate Publishing Requisition Content Type and InfoPath form template"
Version="1.0.0.0"
Scope="Site"
DefaultResourceFile="ipfscore"
ReceiverClass="Microsoft.Office.InfoPath.Server.Administration.XsnFeatureReceiver"
ReceiverAssembly="Microsoft.Office.InfoPath.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
>
<ActivationDependencies>
<
ActivationDependency FeatureId="C88C4FF1-DBF5-4649-AD9F-C6C426EBCBF5"/></ActivationDependencies>
<
ElementManifests><ElementManifest Location="manifest.xml"/>
<
ElementFile Location="Publishing Quotation Request.xsn"/><ElementFile Location="Publishing Quotation Request.dll"/>
</
ElementManifests></Feature>
and my manifest.xml file looks like this:
<?
xml version="1.0" encoding="utf-8" ?><Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<
Module Name="PopulateDocTemplates"
Url="_cts/Publishing Quotation Request"
RootWebOnly="TRUE"
Path="templates"SetupPath="Features\ROW.InfoPath.PublishingRequisition">
<
File Url="Publishing Quotation Request.xsn" /></Module>
<
ContentType
ID="0x01010100C3E9BF7CD175498eBD59C93086C895DD01"
Name="Publishing Requisition"
Description="Infopath form template and Content Type for CP Requisition"Group="Regional Content Types">
<
FieldRefs /><DocumentTemplate TargetName="Publishing Quotation Request.xsn" />
</
ContentType></Elements>