<?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: new record in infopath</title><link>https://www.infopathdev.com:443/forums/thread/13229.aspx</link><pubDate>Sun, 12 Jun 2005 11:28:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13229</guid><dc:creator>Shanthi Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13229.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13229</wfw:commentRss><description>Add a button to the your form and the following code behind will help you access the Web service adapter and do actiosn with it&lt;br /&gt;var oXml = XDocument.DataObjects["GetSurveyVersion"];&lt;br /&gt;		oXml.DOM.setProperty("SelectionNamespaces", 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution" xmlns:s0="http://autonomysystems.com/webservices/"');&lt;br /&gt;&lt;br /&gt;Then you do various actions like&lt;br /&gt;oXml.Query();&lt;br /&gt;&lt;br /&gt;Shanthi&lt;br /&gt;InfoPathDev India</description></item><item><title>new record in infopath</title><link>https://www.infopathdev.com:443/forums/thread/12457.aspx</link><pubDate>Sat, 04 Jun 2005 09:30:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12457</guid><dc:creator>jojinek</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12457.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12457</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I want to make similar button as new record button in infopath but by Jscript code because I need make some action after create new record. I did not find how to solve it. Can you gime me any advice ?&lt;br /&gt;&lt;br /&gt;Thank&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RM</description></item></channel></rss>