Note that there are some explanatory texts on larger screens.

plurals
  1. POSharePoint 2010 Custom InfoPath task form error: The specified form cannot be found
    primarykey
    data
    text
    <p>I am using custom InfoPath task form in my project. All works fine, but I can't add new one. When I add it and click on task associated with it I get error: "The specified form cannot be found". After it I tryed using first working task form, save it with another name, change it FormURN to new, add it to my Forms module, but it doesn't work too. When after it I saved it with the first used name and changed FormURN back it works fine again. I can't understand why it happens. May be I have to clear cache or something else? Yesterday I encountered with similar problem, for which I found <a href="https://stackoverflow.com/questions/9636017/how-to-republish-custom-task-forms-infopath-to-sharepoint-2010-state-machine-w">work-around</a>, but now I haven't any ideas.</p> <p>When it doesn't work:</p> <p><strong>Forms/Elements.xml:</strong></p> <pre><code>... &lt;File Path="Forms\ApprovalFormNew.xsn" Url="Forms/ApprovalFormNew.xsn" /&gt; ... </code></pre> <p><strong>Forms/SharePointProjectItem.spdata</strong></p> <pre><code>... &lt;ProjectItemFile Source="ApprovalFormNew.xsn" Target="Forms\" Type="ElementFile" /&gt; ... </code></pre> <p><strong>Workflow/Elements.xml</strong></p> <pre><code>... &lt;Task2_FormURN&gt;urn:schemas-microsoft-com:office:infopath:ApprovalFormNew:-myXSD-2012-03-09T14-11-55&lt;/Task2_FormURN&gt; ... </code></pre> <p>When it works in shown above places there are ApprovalForm instead of ApprovalFormNew.</p> <p><strong>Feature.Template.xml:</strong></p> <pre><code>&lt;Property Key="RegisterForms" Value="Forms\*.xsn"/&gt; </code></pre> <p>Is there a way to see more detail information about this error? There is no details about it in logs.</p> <p>What I've tryed: IISReset, clear IE cache, reboot.</p> <p>Any help is very appreciated.</p> <p>PS: Sorry for my writing, English is not my native language.</p> <p>PPS: Also I can't use default (not InfoPath view) for Tasks when I don't change default TaskType. Is it normal and I have to use either default view or InfoPath views, but not both?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload