<?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: ?SAVE a form getting filename from a field?</title><link>https://www.infopathdev.com:443/forums/thread/2004.aspx</link><pubDate>Wed, 28 Jun 2006 16:47:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2004</guid><dc:creator>lotusvball</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2004.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2004</wfw:commentRss><description>divFileName = XDocument.DOM.selectSingleNode&lt;br /&gt;	("/my:myFields/my:datafields/my:PromoCalendar/my:Division");&lt;br /&gt;&lt;br /&gt;I am having great difficulty with this line.  divFileName is always Null.  I can not get it to take the value of Division.&lt;br /&gt;&lt;br /&gt;Help</description></item><item><title>Re: ?SAVE a form getting filename from a field?</title><link>https://www.infopathdev.com:443/forums/thread/2003.aspx</link><pubDate>Tue, 07 Mar 2006 21:59:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2003</guid><dc:creator>K.Ramana Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2003.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2003</wfw:commentRss><description>Hi,&lt;br /&gt;I think your code is in jscript, iam not perfect in jscript,&lt;br /&gt;I use c# code to submit the form to sharepoint,&lt;br /&gt;For my knowledge in jscript,  your code should work(iam not sure).&lt;br /&gt;&lt;br /&gt;Thanks.</description></item><item><title>Re: ?SAVE a form getting filename from a field?</title><link>https://www.infopathdev.com:443/forums/thread/2002.aspx</link><pubDate>Tue, 07 Mar 2006 20:22:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2002</guid><dc:creator>SALMEIDA</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2002.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2002</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Here it is. What do you think?&lt;br /&gt;&lt;br /&gt;function XDocument::OnSaveRequest(eventObj)&lt;br /&gt;{&lt;br /&gt;  var ARTIGO = XDocument.DOM.selectSingleNode("/my:myFields/my:TradeMarketing/my:codigo");&lt;br /&gt;&lt;br /&gt;  //XDocument.UI.Alert(ARTIGO.text);&lt;br /&gt;  //XDocument.UI.Alert(ARTIGO.text.replace(" ","0"));&lt;br /&gt;&lt;br /&gt;  if (XDocument.IsNew == true || eventObj.IsSaveAs == false)&lt;br /&gt;  {&lt;br /&gt;     if (eventObj.IsSaveAs == true)&lt;br /&gt;     {&lt;br /&gt;       XDocument.UI.SetSaveAsDialogFileName(ARTIGO.text.replace(" ","") + ".xml");&lt;br /&gt;     }&lt;br /&gt;     eventObj.IsCancelled = eventObj.PerformSaveOperation();&lt;br /&gt;    }&lt;br /&gt;  eventObj.ReturnStatus = true;&lt;br /&gt;}</description></item><item><title>Re: ?SAVE a form getting filename from a field?</title><link>https://www.infopathdev.com:443/forums/thread/2001.aspx</link><pubDate>Tue, 07 Mar 2006 17:34:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2001</guid><dc:creator>K.Ramana Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2001.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2001</wfw:commentRss><description>Hi SALMEIDA, Welcome to the forum,&lt;br /&gt;we can save infopath form using its fields as filename in sharepoint.&lt;br /&gt;Using Xpath retrieve the field , you want save as filename,&lt;br /&gt;and send as parameter for sharepoint submit code(use DAVAdapter to submit&lt;br /&gt; the form).&lt;br /&gt;&lt;br /&gt;Thanks.</description></item><item><title>?SAVE a form getting filename from a field?</title><link>https://www.infopathdev.com:443/forums/thread/1188.aspx</link><pubDate>Tue, 07 Mar 2006 17:09:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1188</guid><dc:creator>SALMEIDA</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1188.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1188</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;is it possible to have InfoPath form use fields from itself to create the name that the form is saved as?&lt;br /&gt;&lt;br /&gt;Example, we are using an InfoPath form to create new products in our ERP. After someone fills out the form, we want to use the product's name field to create the name of their saved form in our Sharepoint Portal.&lt;br /&gt;&lt;br /&gt;Please let me know if this can be done and how to do it. (couldn't find anything in SDK)&lt;br /&gt;&lt;br /&gt;Thanks.</description></item></channel></rss>