resource files - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

resource files

Last post 11-17-2005 01:39 PM by franck. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 11-17-2005 10:41 AM

    resource files

    Quick question:

    I want to add an xml file as a secondary datasource...no problem there, but how do I include that xml file's corresponding schema as well?
  • 11-17-2005 11:01 AM In reply to

    You asking just to put the .xsd file into InfoPath? Tools >> Resources >> Add.
    Jason
    http://www.k2distillery.com/
  • 11-17-2005 11:35 AM In reply to

    But, if you go to Tools \ Data Connections \ Add \ Receive Data \ XML (let's say Form1.xml)
    When you extract your files, your should see your Form1.xsd (which is already embedded in the form).
    You should be able to look at the schema through the data source drop-down.

    Am I missing something here?

    Regards,

    Franck Dauché
    InfoPathDev
  • 11-17-2005 01:16 PM In reply to

    Franck,

    Maybe an example will help explain my question:

    If I wanted to include a file called "states.xml" that list all the states and their postal abbreviations, I can easily add that file as a resource file and use it as a datasource, but how would I include the schema for the states.xml file...it appears Infopath automatically generates schemas for xml resource files, but I would like to include the schema I created for the files.
  • 11-17-2005 01:33 PM In reply to

    If the XSD files perform exactly the same you might be able to save your XSD file over the one created by InfoPath. However, I don't know how InfoPath would respond to this (might not like it).

    ---------------
    Matt Faus
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 11-17-2005 01:39 PM In reply to

    Yes, I would do as Matt explained. Make sure the Namespaces are the same, it would fail for sure otherwise.

    Regards,

    Franck Dauché
    InfoPathDev
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.