W
Wozza
I have tried to create an InfoPath 2007 template part using Visual Studio
2005 and VSTO 2005 SE to display data from the following XML ...(based on
BOOKDATA.xml)
<?xml version="1.0" encoding="utf-8"?>
<BOOKS>
<BOOK isbn="88-99-00-1028-1230" publicationDate="01/01/2007">
<TITLE>InfoPath 2007 end-to-end!</TITLE>
<SUMMARY>Developers guide to everything InfoPath. Includes full .Net 2.0
source code in C# and VB.</SUMMARY>
</BOOK>
<BOOK isbn="77-99-00-1028-1230" publicationDate="01/02/2007">
<TITLE>Office System 2007 end-to-end!</TITLE>
<SUMMARY>Complete description of all server and client components of
Microsoft's new Office suite.</SUMMARY>
</BOOK>
</BOOKS>
When trying to add the part into another InfoPath template form, I get an
error:
"InfoPathFormTemplatePart cannot be bound to the selected field or
group."
I created EXACTLY the same template part in Office InfoPath 2007 and this
works ...??? Has anyone encountered this behaviour?
My template part uses a datasource from the xml above, with a repeating
section which has a layout table, and a textbox (for title) and richtextbox
(for summary).
I would like to keep my whole solution in VS 2005 if possible. Any help
would be useful.
2005 and VSTO 2005 SE to display data from the following XML ...(based on
BOOKDATA.xml)
<?xml version="1.0" encoding="utf-8"?>
<BOOKS>
<BOOK isbn="88-99-00-1028-1230" publicationDate="01/01/2007">
<TITLE>InfoPath 2007 end-to-end!</TITLE>
<SUMMARY>Developers guide to everything InfoPath. Includes full .Net 2.0
source code in C# and VB.</SUMMARY>
</BOOK>
<BOOK isbn="77-99-00-1028-1230" publicationDate="01/02/2007">
<TITLE>Office System 2007 end-to-end!</TITLE>
<SUMMARY>Complete description of all server and client components of
Microsoft's new Office suite.</SUMMARY>
</BOOK>
</BOOKS>
When trying to add the part into another InfoPath template form, I get an
error:
"InfoPathFormTemplatePart cannot be bound to the selected field or
group."
I created EXACTLY the same template part in Office InfoPath 2007 and this
works ...??? Has anyone encountered this behaviour?
My template part uses a datasource from the xml above, with a repeating
section which has a layout table, and a textbox (for title) and richtextbox
(for summary).
I would like to keep my whole solution in VS 2005 if possible. Any help
would be useful.