<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: pass parameters (form data) to template</title><link>https://www.infopathdev.com:443/forums/thread/3037.aspx</link><pubDate>Wed, 23 Aug 2006 08:18:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3037</guid><dc:creator>larniel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3037.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3037</wfw:commentRss><description>Hi Agni,&lt;br /&gt;&lt;br /&gt;Yes, I read this post before.&lt;br /&gt;One thing I forgot to mention in my question is that the technic I am adopting has no capability to write file on server/client machines. And what's more, sharepoint is not available...&lt;br /&gt;&lt;br /&gt;However, I've got that JS codes working.:)&lt;br /&gt;&lt;br /&gt;Many thanks!&lt;br /&gt;&lt;br /&gt;&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;i&gt;Originally posted by Agni Jonnalagadda&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;I am not much aware of the stuff that you are doing.&lt;br /&gt;But there is a HowTo that is written by Jim on how to pass parameters, hope this Helps.&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/howto/tutorials/default.aspx?i=af9e48a6e43c41f4be62296a7fa0e494&gt;http://www.infopathdev.com/howto/tutorials/default.aspx?i=af9e48a6e43c41f4be62296a7fa0e494&lt;/a&gt;&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;</description></item><item><title>Re: pass parameters (form data) to template</title><link>https://www.infopathdev.com:443/forums/thread/3036.aspx</link><pubDate>Tue, 22 Aug 2006 18:47:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3036</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3036.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3036</wfw:commentRss><description>I am not much aware of the stuff that you are doing.&lt;br /&gt;But there is a HowTo that is written by Jim on how to pass parameters, hope this Helps.&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/howto/tutorials/default.aspx?i=af9e48a6e43c41f4be62296a7fa0e494&gt;http://www.infopathdev.com/howto/tutorials/default.aspx?i=af9e48a6e43c41f4be62296a7fa0e494&lt;/a&gt;</description></item><item><title>Re: pass parameters (form data) to template</title><link>https://www.infopathdev.com:443/forums/thread/3035.aspx</link><pubDate>Tue, 22 Aug 2006 08:41:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3035</guid><dc:creator>larniel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3035.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3035</wfw:commentRss><description>Hi Agni,&lt;br /&gt;&lt;br /&gt;Actually I have implemented what you said before posting this topic.&lt;br /&gt;&lt;br /&gt;What I am doing now is to open the template directly.&lt;br /&gt;I found some sample JS codes which is said that can manage this. However, it has some problem on my machine. That is, JS code "&lt;b&gt;var oApp = new ActiveXObject("InfoPath.Application");&lt;/b&gt;" just returns a &lt;b&gt;null&lt;/b&gt; reference.&lt;br /&gt;Can you help me on this?&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;&lt;br /&gt;&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;i&gt;Originally posted by Agni Jonnalagadda&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Hi,&lt;br /&gt;You can take a default XML file of your template and set ID value in that and throw that XML to the user. As the XML file will have the reference to template it will open direclty with your template.&lt;br /&gt;&lt;br /&gt;For code to throw XML files from webpage, please search in old forums.&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;</description></item><item><title>Re: pass parameters (form data) to template</title><link>https://www.infopathdev.com:443/forums/thread/3034.aspx</link><pubDate>Mon, 21 Aug 2006 19:05:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3034</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3034.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3034</wfw:commentRss><description>Please do not post the same question twice, it causes confsion. Your other Post is deleted.&lt;br /&gt;&lt;br /&gt;Thanks</description></item><item><title>Re: pass parameters (form data) to template</title><link>https://www.infopathdev.com:443/forums/thread/3033.aspx</link><pubDate>Mon, 21 Aug 2006 18:47:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3033</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3033.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3033</wfw:commentRss><description>Hi,&lt;br /&gt;You can take a default XML file of your template and set ID value in that and throw that XML to the user. As the XML file will have the reference to template it will open direclty with your template.&lt;br /&gt;&lt;br /&gt;For code to throw XML files from webpage, please search in old forums.</description></item><item><title>pass parameters (form data) to template</title><link>https://www.infopathdev.com:443/forums/thread/1501.aspx</link><pubDate>Fri, 18 Aug 2006 13:52:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1501</guid><dc:creator>larniel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1501.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1501</wfw:commentRss><description>(Sorry for this repeated topic, but I don't know in which board I can post my question....)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I plan to do in such a way:&lt;br /&gt;&lt;br /&gt;User selects an ID (e.g. other user's ID, to see his public information) on a web page, and then this web page will be redirected to the URL of a template. After the user chooses to open this template, data corresponding to the ID he selected will be displayed in the form.&lt;br /&gt;We can't run InfoPath to open the template from the web page. InfoPath will only be executed when the user click the "open" button when explorer prompts to download the template.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The puzzle here I believe is how to pass the ID to the template so that when the template is opened, it can get the correct data from the database.&lt;br /&gt;&lt;br /&gt;Can anyone tell me whether it is practical?&lt;br /&gt;If yes, how to pass the parameter to the template?&lt;br /&gt;If no, any other solution?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks!</description></item></channel></rss>