Need help with Template Parts based on schema...

D

des4900

I am having trouble using InfoPath template parts that are based on an
existing schema to build InfoPath forms.

The particular schema is complex, with multiiple layers of optional/
repeating elements. It is in production use with a load of filled-out form
data built using the schema, so I don't want to change it.

If I generate the InfoPath form by dropping the entire data source <schema>
onto a new template part form, and immediately save it, then it works as a
template part just fine.

However, if I build the template part form by hand to be more compact, using
repeating tables in a number of places, I cannot get the template part (after
it is installed in my controls) to drop into a form that is based on exactly
the same schema.

It appears that the use of repeating tables causes it to fail. If my
hand-built structure avoids repeating tables and uses repeating sections, I
can build further before it fails, but I still can't seem to get all the
elements on the part and have them work.

On the other hand, if I copy and paste the entire template part into a new
template form it works just fine after I rebind all 120 data elements, and
re-enter all the rules, etc.

It would really be helpful if the error message "<templateName> cannot be
bound to the selected field or group" also included some info about the point
of failure in the binding...
 

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