Thanks Clayton.

> "Luckily you can use the same form for your association and
> initialisation. Change the workflow.xml Association_FormURN  and
> Instantiation_FormURN  to use the same urn id."


If I use the same form, what is the best approach to hide and show the
relevant fields? ie. If it's the Association state, show the first two text
entry boxes, if it's the Instation state show the other.

IF I use seperate InfoPath forms, but want the same namespace...how do I
change the namespace? The Workflow.xml looks like this:


>      <MetaData>
>
> <Association_FormURN>urn:schemas-microsoft-com:office:infopath:AssocForm:-myXSD-2007-12-05T08-18-26</Association_FormURN>
>
> <Instantiation_FormURN>urn:schemas-microsoft-com:office:infopath:InitForm:-myXSD-2007-12-05T08-18-26</Instantiation_FormURN>
>
> <Task0_FormURN>urn:schemas-microsoft-com:office:infopath:ActionForm:-myXSD-2007-12-05T08-43-01</Task0_FormURN>
>     </MetaData>


 e.g. "-myXSD-2007-12-05T08-18-26" is same on InitForm and AssocForm but
when I look at datasource the namespace stays as the old XSD. How do I
change this?

More importantly, can you recommend any steps for stepping into this code to
get it to stop at breakpoints?

Thanks again,
Jeremy

On Dec 19, 2007 8:59 PM, Clayton James <[EMAIL PROTECTED]> wrote:

>  Hi J
>
>
>
> Good to see you in moss land J
>
>
>
> Could not find schema information for element...sounds like your schemas *
> are* different.
>
>
>
> http://msdn2.microsoft.com/en-us/library/bb629921.aspx
>
> The line below (which was copied from the above article) is probably
> related to your problem.
>
> "Both the association and the initiation form must work with a main data
> source that is defined within the same namespace."
>
>
>
> This basically means that you need to use the same xml schema in your
> association form and your initialisation form. You have different forms and
> I bet they have different schemas. Luckily you can use the same form for
> your association and initialisation. Change the workflow.xml
> Association_FormURN  and Instantiation_FormURN  to use the same urn id.
>
>
>
> Try using the same form for both and see how you go.
>
>
>
> Cheers
>
> *Clayton James*
>
> Consultant/Trainer
>
> Data Cogs Information Technology
>
> Blog:  http://claytonj.wordpress.com
>
>
>
>
>
>
>
> *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf
> Of *Jeremy Thake
> *Sent:* Wednesday, 19 December 2007 05:12 PM
> *To:* listserver@ozmoss.com
> *Subject:* [OzMOSS] Debugging a Workflow with InfoPath forms
>
>
>
>  I'm having some grief with debugging a workflow that has infopath forms.
>
> The error is coming up in the Event Log:
>
> The form template failed to load. (User: ALPHAWEST\spservice, Form Name:
> InitForm, IP: , Request:
> http://sp001:1111/_layouts/IniWrkflIP.aspx?List=ae980b65-13b9-440a-98ad-8a0882f7c77b&ID=2&TemplateID={d52cd4b0-92ed-4415-afa0-0f9da553a216}&Source=http://sp001:1111/Leave%2520Request/Forms/AllItems.aspx<http://sp001:1111/_layouts/IniWrkflIP.aspx?List=ae980b65-13b9-440a-98ad-8a0882f7c77b&ID=2&TemplateID=%7bd52cd4b0-92ed-4415-afa0-0f9da553a216%7d&Source=http://sp001:1111/Leave%2520Request/Forms/AllItems.aspx>,
> Form ID:
> urn:schemas-microsoft-com:office:infopath:InitForm:-myXSD-2007-12-05T08-38-09,
> Type: SchemaValidationException, Exception Message: Could not find schema
> information for the element '
> http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-12-05T08:18:26:flowFields'.
> )
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp.
>
> I'm using three forms an Association, Instatiation and a Action form based
> on a sample file I've been given. I want to break into the code. I've tried
> attaching to the process and followed the 
> steps<http://blog.spsclerics.com/Lists/Posts/Post.aspx?ID=18>to adjust the
> web.config and reset IIS but it still doesn't break in! I'm deploying the
> workflow as a feature using the standard batch job that deactivates,
> uninstalls, installs and reactives the feature.
>
> Can anyone point me in the right direction to resolve this issue? Google
> has a flood of posts listed but nothing seems to help me past it to then try
> and resolve the actual issue of seeing why the error message is occuring.
> The schemas in the Assoc. and Inst. are both the same.
>
> Thanks very much and Merry Xmas!
>
> Jeremy Thake
> http://wss.made4the.net/
> -------------------------------------------------------------------
> OzMOSS.com - to unsubscribe from this list, send a message back to the
> list with 'unsubscribe' as the subject.
> Powered by mailenable.com - List managed by www.readify.net
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.17.4/1188 - Release Date:
> 17/12/2007 02:13 PM
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.17.4/1188 - Release Date:
> 17/12/2007 02:13 PM
> -------------------------------------------------------------------
> OzMOSS.com - to unsubscribe from this list, send a message back to the
> list with 'unsubscribe' as the subject.
> Powered by mailenable.com - List managed by www.readify.net



------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net

Reply via email to