where is my 2nd, 3rd... Xml Schema Datasource?

T

thomas

When designing a form, from Xml Schema, using the wizard, you are asked if
you want to add another Xml Schema or Xml document. I say yes, and browse to
the 2nd and 3rd Xml Schema.

However, I don't see any evidence of the 2nd, 3rd.. schemas in the form
designer. The drop down for 'Data Source' is locked on 'Main'.
Where are they? Is this a design flaw in InfoPath, or is InfoPath protected
me from making a design flaw?

The reason i am investigating this course: Possibly designing web methods
with multiple parameters of type XmlDocument.
 
F

Franck Dauché

Hi Thomas,

Are you trying from one or your existing form, or did you try opening up
InfoPath, creating a new blank from from scratch and add a xml as a secondary
data source there? If you try that, does it work?
Are you using VS?

Regards,

Franck Dauché
 
T

thomas

hey. New form from InfoPath designer, not VS. I have the shemas already
built. I choose to 'Design from XmlSchema or ....".

thanks
 
F

Franck Dauché

Hi Thomas,

Why don't you create a new Blank form and add all xml documents as secondary
data sources (1 at a time) to see if that works?

Regards,

Franck Dauché
 
T

thomas

one cannot add schemas as datasources. the form must be created new with the
wizard.
 
F

Franck Dauché

Hi Thomas,

As stated in my previous post, you can add xml documents (.xml). This is
actually your top choice in the wizard when adding a secondary data
connections (Receive data).

Regards,

Franck Dauché
 
T

thomas

Let me be clear, I am trying to add SCHEMAS (.xsd). You cannot add SCHEMAS
(.xsd) as secondary datasources unless using the New from XML Document or
Schema wizard. That is, you can't arbitrarily add a SCHEMA (.xsd) from Tools
| Data Connections or anything. On that, perhaps hopefully you will prove me
wrong.

The whole of my problem is that I can't use/see the schemas i have added
with the (New from XML Document or Schema) wizard. Again, InfoPath allows
them to be "added" but where are they and why can't i see or use them?

thanks for sticking with me
 
F

Franck Dauché

Hi Thomas,

Indeed, you can't add xsd directly. Instead, you can create a new IP
project from your xsd file and generate a "blank" xml output from it. Then,
you can use that xml as a secondary data source in you main IP project. It
is one extra step, but it works fine.

Hope that it helps.

Regards,

Franck Dauché
 

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