<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Need to 1) create a folder based on a field on the and 2) submit to that folder</title><link>https://www.infopathdev.com:443/forums/thread/90168.aspx</link><pubDate>Tue, 28 May 2013 11:46:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90168</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90168.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=90168</wfw:commentRss><description>&lt;p&gt;Hello Ron,&lt;br /&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I conferred with some of the people here and another of our developers, Hilary Stoupa, suggested using the Lists.asmx service, which seems to work great with form libraries. Here is what it involves:&lt;br /&gt;&lt;br /&gt;1.&amp;nbsp;&amp;nbsp; &amp;nbsp;Add the attached CreateFolder.xml file to your form as a resource file.&lt;br /&gt;2.&amp;nbsp;&amp;nbsp; &amp;nbsp;Create a Receive XML File data connection using the resource file added in step 1. I will call this data connection CreateFolderXml for the rest of these instructions.&lt;br /&gt;3.&amp;nbsp;&amp;nbsp; &amp;nbsp;Create a Submit data connection to the Lists.asmx service for the SharePoint site you want to use (e.g. http://sharepointsite/sub/site/_vti_bin/Lists.asmx).&lt;br /&gt;4.&amp;nbsp;&amp;nbsp; &amp;nbsp;Select the UpdateListItems web method&lt;br /&gt;5.&amp;nbsp;&amp;nbsp; &amp;nbsp;Set up the parameters&lt;br /&gt;a.&amp;nbsp;&amp;nbsp; &amp;nbsp;For listName, use the ListName field in the CreateFolderXml data connection, and keep the default options.&lt;br /&gt;b.&amp;nbsp;&amp;nbsp; &amp;nbsp;For updates, use the Batch group from the CreateFolderXml data connection, and from the Include: dropdown, select XML subtree, including selected element.&lt;br /&gt;6.&amp;nbsp;&amp;nbsp; &amp;nbsp;Finish creating the data connection, accepting the default options&lt;br /&gt;7.&amp;nbsp;&amp;nbsp; &amp;nbsp;In the Fields taskpane of the designer, select the CreateFolderXml data connection, and expand the groups and fields until you can see the BaseNameSet field.&lt;br /&gt;8.&amp;nbsp;&amp;nbsp; &amp;nbsp;Add a rule to the BaseNameSet field that sets the value of the Field field to the value of BaseNameSet.&lt;br /&gt;&lt;br /&gt;Those are all the set-up steps. Now, when you want to create a folder, you would:&lt;br /&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp; Set the value of the ListName field in the CreateFolderXml data connection to the name of the library where you want to add a folder (these fall under Form Load of the Data tab).&lt;br /&gt;2.&amp;nbsp;&amp;nbsp; &amp;nbsp;Set the value of the BaseNameSet field to the name of the folder you want to create (relative to the form library).&lt;br /&gt;3.&amp;nbsp;&amp;nbsp; &amp;nbsp;Use a rule to perform a submit on the data connection created in step 6 above.&lt;br /&gt;&lt;br /&gt;This works for creating folders that are multiple levels deep, e.g. Sub/Folder/Tree, but from what I can tell, will only work if the parent folders of the folder you want to create have already been created (e.g. Tree in the example above will only be created if&amp;nbsp; Sub and Folder have already been created.&lt;br /&gt;&lt;br /&gt;For the actual submit of the InfoPath form, you can use the &lt;a href="http://www.infopathdev.com/files/folders/qrules/entry52999.aspx" target="_blank" title="ChangeSubmitUrl"&gt;qRules ChangeSubmitUrl&lt;/a&gt; command to modify the location of your SharePoint submit data connection.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;We&amp;#39;ve also attached a sample form and an XML File which you can use for the qRules Injector.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Please give that a try and let us know how it goes.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-Don&lt;/p&gt;</description></item><item><title>Re: Need to 1) create a folder based on a field on the and 2) submit to that folder</title><link>https://www.infopathdev.com:443/forums/thread/90080.aspx</link><pubDate>Thu, 23 May 2013 16:38:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90080</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90080.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=90080</wfw:commentRss><description>&lt;p&gt;You&amp;#39;ll have to use a workflow.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;This should help you &lt;a href="http://mylittlesharepoint.blogspot.co.uk/2012/05/create-folders-using-spd-workflow.html"&gt;http://mylittlesharepoint.blogspot.co.uk/2012/05/create-folders-using-spd-workflow.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Although MS SP best practice is not to create folders.&lt;/p&gt;</description></item><item><title>Need to 1) create a folder based on a field on the and 2) submit to that folder</title><link>https://www.infopathdev.com:443/forums/thread/89951.aspx</link><pubDate>Mon, 20 May 2013 18:52:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89951</guid><dc:creator>ronsorrell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89951.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=89951</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;SharePoint 2010, InfoPath 2010, browser based form&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have a requirement that when the user creates a form that it will 1) create a folder in the sharepoint library based on a field say:&amp;nbsp; Client Name (yes I will strip out any special characters) and then be able to submit the form to that library.&lt;/p&gt;&lt;p&gt;Would love to be able to do this without any hard core coding and not have to publish the form via central admin&lt;/p&gt;&lt;p&gt;thanks &lt;/p&gt;</description></item></channel></rss>