<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Launching InfoPath from Web Application</title><link>https://www.infopathdev.com:443/forums/thread/13247.aspx</link><pubDate>Thu, 16 Jun 2005 22:37:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13247</guid><dc:creator>Shanthi Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13247.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13247</wfw:commentRss><description>No you haven't misunderstood. That is what i meant. If you want pre-create forms for your team to use then this is a good way of doing it and you can also set some base data for them. &lt;br /&gt;&lt;br /&gt;You can use either template.xml or a new form created using the OALPrescriptionForm.xsn as you base from which you create the new forms.&lt;br /&gt;&lt;br /&gt;Shanthi&lt;br /&gt;InfoPathDev India</description></item><item><title>Re: Launching InfoPath from Web Application</title><link>https://www.infopathdev.com:443/forums/thread/13246.aspx</link><pubDate>Mon, 13 Jun 2005 20:09:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13246</guid><dc:creator>dpinkerton</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13246.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13246</wfw:commentRss><description>Shanthi - &lt;br /&gt;&lt;br /&gt;Thanks so much for your reply - let me make sure I understand. &lt;br /&gt;&lt;br /&gt;Do you mean instead of using NewFromSolution method, which requires I open infopath on the server, I could basically make a copy of the template.xml that belongs to the template (xsn) I want - and just edit that copy with the prepopulated data.  This makes sense (I think) because the template.xml file is the same as the newform.xml would be when created from the NewFromSolution.  :) That is I think a grand idea ... I will look into it further.  Let me know if I misunderstood.&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;&lt;br /&gt;Donna</description></item><item><title>Re: Launching InfoPath from Web Application</title><link>https://www.infopathdev.com:443/forums/thread/13245.aspx</link><pubDate>Sun, 12 Jun 2005 13:40:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13245</guid><dc:creator>Shanthi Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13245.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13245</wfw:commentRss><description>The Only way that i can think of is have the template.xml file of OALPrescriptionForm.xsn as a base file and make changes to it as required before you save it as newForm.xml. This way InfoPath will not open, and these new files are InfoPath files and when the user tries to open them they will open using InfoPath&lt;br /&gt;&lt;br /&gt;Shanthi&lt;br /&gt;InfoPathDev India</description></item><item><title>Re: Launching InfoPath from Web Application</title><link>https://www.infopathdev.com:443/forums/thread/13244.aspx</link><pubDate>Fri, 10 Jun 2005 14:10:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13244</guid><dc:creator>dpinkerton</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13244.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13244</wfw:commentRss><description>I've been working on a way to create a form on the server from a template and i've got this working:&lt;br /&gt;&lt;br /&gt;&lt;font color="blue"&gt;Dim ipApp As Microsoft.Office.Interop.InfoPath.ApplicationClass&lt;br /&gt;            ipApp = New Microsoft.Office.Interop.InfoPath.ApplicationClass&lt;br /&gt;&lt;br /&gt;            newXMLForm = ipApp.XDocuments.NewFromSolution("D:\Inetpub\wwwroot\MMDS\OALPrescriptionForm.xsn")&lt;br /&gt;            ipApp.Quit()&lt;br /&gt;&lt;br /&gt;            newXMLForm.SaveAs("D:\newForm.xml")&lt;/font id="blue"&gt;&lt;br /&gt;However, is there a way to do this without opening infopath on the server?  can i use the api's without launching the UI?&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;&lt;br /&gt;Donna</description></item><item><title>Re: Launching InfoPath from Web Application</title><link>https://www.infopathdev.com:443/forums/thread/13243.aspx</link><pubDate>Thu, 09 Jun 2005 21:00:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13243</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13243.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13243</wfw:commentRss><description>Hi this code might help you in launching an xml file from your webserver, or probably you can write similar code&lt;br /&gt;&lt;br /&gt;Response.AddHeader("Content-Disposition", "attachment; filename=filename.xml");&lt;br /&gt;Response.AddHeader("Content-Length", xmlstring);&lt;br /&gt;Response.ContentType = "text/xml";&lt;br /&gt;Response.Write(content);&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPathDev India</description></item><item><title>Re: Launching InfoPath from Web Application</title><link>https://www.infopathdev.com:443/forums/thread/13242.aspx</link><pubDate>Thu, 09 Jun 2005 16:14:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13242</guid><dc:creator>dpinkerton</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13242.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13242</wfw:commentRss><description>Okay I did get infopath to launch on the client machine with a link to the xsn.  But as this is not using the xml, but the template I'm not sure I can prepopulate it by passing in a parm.  I'm sure there is a solution that I'm just not getting to in my brain.  :) &lt;br /&gt;&lt;br /&gt;I figured I could create a form on the server and actually have the form open on the users PC with my prepopulated values already in the xml.  Or i could have my webservice on load look in the db maybe ... &lt;br /&gt;&lt;br /&gt;Is there other ideas I'm ignoring?  Maybe a cookie? I'm not too familiar with those.  &lt;br /&gt;&lt;br /&gt;Advice would be great ...&lt;br /&gt;&lt;br /&gt;Thanks!</description></item><item><title>Re: Launching InfoPath from Web Application</title><link>https://www.infopathdev.com:443/forums/thread/13241.aspx</link><pubDate>Wed, 08 Jun 2005 15:20:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13241</guid><dc:creator>dpinkerton</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13241.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13241</wfw:commentRss><description>Thanks for the feedback.  &lt;br /&gt;&lt;br /&gt;Patrick - I googled xdlaunch and did not get much back - I've never heard of it - can you point me towards some documentation/examples?&lt;br /&gt;&lt;br /&gt;Agni - I was trying yesterday to 'throw' the xml as you said.  I was not 100% sure this would work, but since you've suggested it too I will continue to work on getting this working. &lt;br /&gt;Thanks!&lt;br /&gt;&lt;br /&gt;Donna</description></item><item><title>Re: Launching InfoPath from Web Application</title><link>https://www.infopathdev.com:443/forums/thread/13240.aspx</link><pubDate>Wed, 08 Jun 2005 07:53:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13240</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13240.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13240</wfw:commentRss><description>you can use xdlaunch to launch infopath and pass parameters es part of the xml file or via cmd line (i believe)&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Launching InfoPath from Web Application</title><link>https://www.infopathdev.com:443/forums/thread/13239.aspx</link><pubDate>Tue, 07 Jun 2005 23:05:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13239</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13239.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13239</wfw:commentRss><description>Hi, &lt;br /&gt;1. &lt;br /&gt;a. You need to get the xml from the source and throw as an attachment to the user, then the user will be prompted to either save or open the form. This works if you have an xml ready to throw. &lt;br /&gt;b. If you donot have any xml you want to open the form then you need to redirect your page to the location where your temkplate.xsn is located.&lt;br /&gt;&lt;br /&gt;2. You can set default values if you are using solution "a" because what you have in an xml file, so you can edit the xml file and throw it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPathDev India</description></item><item><title>Launching InfoPath from Web Application</title><link>https://www.infopathdev.com:443/forums/thread/12459.aspx</link><pubDate>Tue, 07 Jun 2005 16:42:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12459</guid><dc:creator>dpinkerton</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12459.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12459</wfw:commentRss><description>Hi guys - &lt;br /&gt;&lt;br /&gt;I'm very new to Infopath and I'm trying to crank out a prototype for us to make a decision to use Infopath or not.  We need to launch infopath files from our existing web application.  I need quick advice on two things:&lt;br /&gt;&lt;br /&gt;1.  how to launch infopath on the client's machine from within our webapp.  I don't really have to launch infopath, I guess the user needs to be prompted to do so.  It is fine if the user is prompted with an open/save option that does the actual launching of infopath.  We do this with word, but not with infopath currently...&lt;br /&gt;&lt;br /&gt;2.  how do I pass some key values to the infopath document to use in the on_load event of my form for prepopulation?  (i.e. the application user will be viewing a certain patient's chart and the form needs to prepopulate with the patient's data) I have the form prepopulating from the on_load with hardcoded values, but now I need to actually get these two key values from our web application.&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;Donna</description></item></channel></rss>