<?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: Help Reg Infopath 2007 Form published as Content type</title><link>https://www.infopathdev.com:443/forums/thread/57179.aspx</link><pubDate>Thu, 22 Jul 2010 06:32:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57179</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57179.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57179</wfw:commentRss><description>&lt;p&gt;Hi Niranjan,&lt;/p&gt;
&lt;p&gt;You could use SharePoint Designer to remove the New button and replace it with a special button that opens a template.xml with default data specific to the Form Library. That might be easiest since it wouldn&amp;#39;t require input parameters. Otherwise, I suggest input parameters. &lt;/p&gt;
&lt;p&gt;Have you used SharePoint Designer to modify the default view in a form library?&lt;/p&gt;</description></item><item><title>Re: Help Reg Infopath 2007 Form published as Content type</title><link>https://www.infopathdev.com:443/forums/thread/57178.aspx</link><pubDate>Thu, 22 Jul 2010 00:42:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57178</guid><dc:creator>Niranjan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57178.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57178</wfw:commentRss><description>&lt;p&gt;Thanks Patrick for ur quick reply&lt;/p&gt;
&lt;p&gt;yes form is saving to correct form library... by default&lt;/p&gt;
&lt;p&gt;My req is i have a label field in infopath form.. so when the user open form&amp;nbsp;&amp;nbsp;&amp;nbsp; from&amp;nbsp;&amp;nbsp; 101 (&lt;strong&gt;Form Library Name&lt;/strong&gt;)&amp;nbsp;that label&amp;nbsp;value shuld be filled with 101 on form loading event&lt;/p&gt;
&lt;p&gt;if the user open form from 102 tht label value shuld be filled with 102&lt;/p&gt;
&lt;p&gt;My infopath form template is published as content type and added to all form libraries (101,102,103..).. so i can u suggest me how to do.. initially i thought i can read Form URL and get form lib nane and assign to it during form loading event.. but it didnt work&lt;/p&gt;
&lt;p&gt;I&amp;nbsp; appreciate ur help&lt;/p&gt;</description></item><item><title>Re: Help Reg Infopath 2007 Form published as Content type</title><link>https://www.infopathdev.com:443/forums/thread/57172.aspx</link><pubDate>Thu, 22 Jul 2010 00:08:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57172</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57172.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57172</wfw:commentRss><description>&lt;p&gt;Hi Niranjan,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;First check that when you create a new form from 101 or 102 and try File-&amp;gt;Save, does it default to the correct library? If so, you can get that value using code in an OnSave event handler. If not, read on...&lt;/p&gt;
&lt;p&gt;With a content type, if you get the URL for the published template, it will indeed be the same for all form libraries.&amp;nbsp;If you had separate template.xml files (start templates) you could change the default value&amp;nbsp;in each. Using SharePoint Designer&amp;nbsp;(SPD) you can customize the New button. Take a look at what it is doing for your form in question. Viewing source on the page is another way to do this. If the template.xml that New uses is different for each library, you can just edit it to have a default value for the location (could require adding a field that holds the URL). If that doesn&amp;#39;t work, you could customize the New button to pass a parameter to InfoPath on load. Using an input parameter you can set the field in the same way. Qdabra&amp;#39;s qRules supports getting input parameters via rules so you don&amp;#39;t have to write code. &lt;/p&gt;
&lt;p&gt;There may be another way to do this, but that&amp;#39;s what I can think of for now.&lt;/p&gt;
&lt;p&gt;Best of luck!&lt;/p&gt;</description></item><item><title>Help Reg Infopath 2007 Form published as Content type</title><link>https://www.infopathdev.com:443/forums/thread/57164.aspx</link><pubDate>Wed, 21 Jul 2010 19:57:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57164</guid><dc:creator>Niranjan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57164.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57164</wfw:commentRss><description>&lt;p&gt;Hello All,&lt;/p&gt;
&lt;p&gt;I need help regarding finding out the form location URL&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;published a infopath form template &amp;nbsp;as Site content type to use in multiple form libraries, i have three form libraries 101, 102, 103 &lt;/p&gt;
&lt;p&gt;Users fill the forms in their respective form libraries, so when they click on save button , &amp;nbsp;infopath client will automatically allows them to save the form in their respective form library ..where they opened. How does infopath client know tht location by default ? can i get tht URL location .. i am trying to get the form library name from tht URL..so can anyone suggest How to find&amp;nbsp;?&lt;/p&gt;
&lt;p&gt;i tried adding code in form Event loading &amp;nbsp;to&amp;nbsp;get the URL&lt;/p&gt;
&lt;p&gt;string[] tempuri = this.Template.Uri.AbsoluteUri.Split(&amp;#39;/&amp;#39;);&lt;/p&gt;
&lt;p&gt;As all form libraries are using same template iam getting the same tempuri value&lt;/p&gt;</description></item></channel></rss>