Help me with a Basic Point/Repeating Groups

R

RickM

I dont understand how to implement a repeating group. I have created
a web service with a section that I want to be a repeating group. The
XML looks like

<Funding>
<item1>XXX</item1>
<item2>XXXX</item2>
<item3>XXX</item3>
</Funding>

I want Funding to be a repeating group/table where we can enter
multiple rows of funding data.

Problem is I cant bind Funding to a repeating section or table.
From reaserching I assume I need to change the schema to conform to an
xCollection. What is the best way to do this? Do I manually edit the
schema or is there a way within the webservice to define these
elements with the correct attributes to enable the correct binding.

I have really been struggling with this are there any examples.

Thanks
Rick
 
B

Brian Teutsch [MSFT]

Everything begins from what the schema allows. The web service returns a
schema, so you'll need to modify that first, and then make sure the InfoPath
form is updated via Change Main Data Source. Then you will have the option
to drop that section into the form as a repeating table.

Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top