<?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: App-config nto working in infopath</title><link>https://www.infopathdev.com:443/forums/thread/61402.aspx</link><pubDate>Mon, 15 Nov 2010 02:16:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61402</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61402.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61402</wfw:commentRss><description>&lt;p&gt;What are you trying to accomplish?&lt;/p&gt;
&lt;p&gt;You can create an InfoPath form from an AppConfig XML by designing a form using the XML as a reference. This will create a normalized data source which you can then create a view around. The resulting InfoPath form will save to the app config schema and you should be able to use that to change app config settings for your app. &lt;/p&gt;
&lt;p&gt;Before you just go write code and get yourself into trouble, please look for a code-free solution. InfoPath solutions should be 95% code free. That means only 1 in 20 form templates will require code.&lt;/p&gt;</description></item><item><title>App-config nto working in infopath</title><link>https://www.infopathdev.com:443/forums/thread/61317.aspx</link><pubDate>Thu, 11 Nov 2010 16:06:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61317</guid><dc:creator>sukumarsb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61317.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61317</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi i am using infopath 2010 and i tried using app-config in it.this is my app config&lt;/p&gt;&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt;&lt;br /&gt;&amp;lt;configuration&amp;gt;&lt;br /&gt;&amp;lt;applicationSettings&amp;gt;&lt;br /&gt;&amp;lt;add key=&amp;quot;spsURL&amp;quot; value=&amp;quot;http://sps17/sites/IPtest/IPformtest/Lists/Project%20Initiation/AllItems.aspx&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/applicationSettings&amp;gt;&lt;br /&gt;&amp;lt;/configuration&amp;gt;&lt;/p&gt;&lt;p&gt;I tried to access element&amp;quot;spsURL&amp;quot; in my form code by using&lt;/p&gt;&lt;p&gt;string sSPSurl = &amp;quot;&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sSPSurl = ConfigurationManager.AppSettings[&amp;quot;spsURL&amp;quot;];&amp;nbsp; &lt;/p&gt;&lt;p&gt;but i am getting null. Cant we use app config in infopath,if so how to use.&lt;/p&gt;&lt;p&gt;Thankyou in advance &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>