<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Saving a secondary datasource</title><link>https://www.infopathdev.com:443/forums/thread/23545.aspx</link><pubDate>Tue, 09 Oct 2007 08:54:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23545</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23545.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23545</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The simplest way to achieve what you want is to make the third-party data source your main data source (as you are not utilising any other databases), that way the third party data can publish into the form.&amp;nbsp; Then do not submit the data back to the database but rather on email as an XML file.&amp;nbsp; It will sit in their outbox until networked at which point the .XML file is submitted via email.&lt;/p&gt;
&lt;p&gt;If you choose not to do this then the user could click &amp;#39;Save&amp;#39; or &amp;#39;Save As&amp;#39; to create an output .XML file, this however would contain no routing.&amp;nbsp; Furthermore, you can write code before the save operation and after the save operation by going into Form Options, &amp;#39;Open and Save&amp;#39; and then tick &amp;#39;save using custom code&amp;#39;&lt;/p&gt;
&lt;p&gt;I hope this helps&lt;/p&gt;
&lt;p&gt;Adam (Cardiff)&lt;/p&gt;</description></item><item><title>Re: Saving a secondary datasource</title><link>https://www.infopathdev.com:443/forums/thread/23529.aspx</link><pubDate>Mon, 08 Oct 2007 13:52:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23529</guid><dc:creator>spudy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23529.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23529</wfw:commentRss><description>&lt;p&gt;Thanks Adam. Unfortunately I will not have access to web services as the machine collecting the information will be a tablet PC in an offline mode. I suppose the next question is if it is possible to create a new xml file with a schema defined by secondary datasource?&lt;/p&gt;
&lt;p&gt;Regards Paul&lt;/p&gt;</description></item><item><title>Re: Saving a secondary datasource</title><link>https://www.infopathdev.com:443/forums/thread/23514.aspx</link><pubDate>Mon, 08 Oct 2007 11:14:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23514</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23514.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23514</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I think the simplest way to achieve this would be to add a data connection to a web service that then connects to the output XML file.&amp;nbsp; Natively InfoPath does not allow amendment of secondary data connections unless it is via a web service.&amp;nbsp; Then link the button to the web service data connection and there you are.&lt;/p&gt;
&lt;p&gt;Job done&lt;/p&gt;
&lt;p&gt;Adam&lt;/p&gt;</description></item><item><title>Saving a secondary datasource</title><link>https://www.infopathdev.com:443/forums/thread/23504.aspx</link><pubDate>Mon, 08 Oct 2007 07:43:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23504</guid><dc:creator>spudy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23504.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23504</wfw:commentRss><description>&lt;p&gt;Is there a simple way of creating an XML output file from a secondary datasource. My form has much functionality and does not connect to any other datasources for information. What I want to do is add at third party XML schema as a secondary datasource and add values to this datasource&amp;nbsp;from my main form and then produce an XML output file.&lt;/p&gt;
&lt;p&gt;The third party schema is quite complex and I don&amp;#39;t need much of it populated - just a few fields which I can do as rules during functionality&amp;nbsp;on the main form. I want to have a button that creates the ouput XML.&lt;/p&gt;
&lt;p&gt;I know this has to be possible. Any guidance here will be appreciated.....&lt;/p&gt;
&lt;p&gt;Thanks Spudy.&lt;/p&gt;</description></item></channel></rss>