<?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>Qdabra Database Accelerator</title><link>https://www.infopathdev.com:443/forums/61.aspx</link><description>Qdabra Database Accelerator (DBXL) simplifies connecting InfoPath to SQL Server and SharePoint for codeless storage, permissions, workflow, and reporting on InfoPath forms. This forum also supports users of Qdabra's WSSP.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Sending Infopath XML using SQL Stored Prod</title><link>https://www.infopathdev.com:443/forums/thread/58573.aspx</link><pubDate>Thu, 02 Sep 2010 11:46:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58573</guid><dc:creator>HongYip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58573.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=58573</wfw:commentRss><description>&lt;p&gt;Hi Patrick,&lt;/p&gt;
&lt;p&gt;Wow, thanks for the details explanation and pointing me to the right direction where I can explore further on.&lt;/p&gt;
&lt;p&gt;I was looking at&amp;nbsp;sending the form as&amp;nbsp;InfoPath editable form. It looks so much better than receiving an infopath form in the form of an&amp;nbsp;XML attachment.&lt;/p&gt;
&lt;p&gt;Will do more digging.&lt;/p&gt;
&lt;p&gt;Thank You.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;Hong Yip&lt;/p&gt;</description></item><item><title>Re: Sending Infopath XML using SQL Stored Prod</title><link>https://www.infopathdev.com:443/forums/thread/58131.aspx</link><pubDate>Wed, 18 Aug 2010 21:11:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58131</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58131.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=58131</wfw:commentRss><description>&lt;p&gt;Hi HongYip,&lt;/p&gt;
&lt;p&gt;Not sure if you are talking about sending the view or editing the file.&amp;nbsp;See below for both scenarios and some ideas.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;If you are talking about sending the form&amp;#39;s view&amp;nbsp;as the body:&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;When you send email from InfoPath using an Email Data Connection, InfoPath creates an HTML body for the email.&lt;/p&gt;
&lt;p&gt;When you send email from a Stored Proc, you are not creating that HTML body. You will need to change your SPROC to create this HTML body using a view of the form (one of the XSLs in the XSN package) and the XML that you want to send. This process of creating an HTML body is not perfect because InfoPath has special controls for buttons, datepickers, etc. and those cannot be easily converted to HTML. InfoPath has special logic to make the HTML look better by replacing those controls or modifying the XSLT to make the HTML look better. Obviously, that will be hard for your SPROC to do, so I recommend just creating an Email view that you use which is a read-only view which has the data in it so your recipients can read it. &lt;/p&gt;
&lt;p&gt;You will need to extract the XSL from the XSN and use that to create the HTML. We have tools that can help you do this and Microsoft also provides a batch tool as part of IP2003/2007 that will do the same.&lt;/p&gt;&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;If you are talking about sending the form as an InfoPath editable form (InfoPath running inside of Outlook)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;You will need to tell Outlook that the content type is an InfoPath form so that it&amp;nbsp;knows to open InfoPath instead of&amp;nbsp;Word or the default Outlook canvas&amp;nbsp;to render the form. I&amp;#39;m guessing there is an option when you create the envelope to specify content type, but we don&amp;#39;t have much experience doing this. Please look at what Outlook provides here. It&amp;#39;s probably documented somewhere. If not, you may be able to save an MSG file that does open in InfoPath and see the header of the email to identify the correct values.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;Hope this helps in some way. Sorry I don&amp;#39;t have a silver bullet. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Sending Infopath XML using SQL Stored Prod</title><link>https://www.infopathdev.com:443/forums/thread/57914.aspx</link><pubDate>Thu, 12 Aug 2010 10:11:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57914</guid><dc:creator>HongYip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57914.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=57914</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am able to send an infopath form (pre-populated with data from SQL) to the user via SQL stored proc. And it looks something like this:&lt;/p&gt;
&lt;p&gt;&lt;img style="WIDTH:502px;HEIGHT:241px;" height="241" src="http://i37.tinypic.com/2j2up83.gif" width="502" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;It works perfectly fine when I click on the xml file and it open up in my infopath client.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I was wondering if there was a way to make it show like the form below. (i.e not as an xml attachment but as an infopath form)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="http://i38.tinypic.com/14myu5t.gif" alt="" /&gt;&lt;/p&gt;</description></item></channel></rss>