<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Is it possible to store attachments in a new folder everytime a form is submitted?</title><link>https://www.infopathdev.com:443/forums/thread/67796.aspx</link><pubDate>Mon, 27 Jun 2011 16:35:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67796</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67796.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=67796</wfw:commentRss><description>&lt;p&gt;You can use the CreateFolder method of the SharePoint Lists web service to create your new folders. Then use qRules ChangeSubmitUrl to point the SharePoint Library submit data connection to your newly created folder. Finally, submit and you&amp;#39;re done!&lt;/p&gt;</description></item><item><title>Re: Is it possible to store attachments in a new folder everytime a form is submitted?</title><link>https://www.infopathdev.com:443/forums/thread/67760.aspx</link><pubDate>Sun, 26 Jun 2011 23:07:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67760</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67760.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=67760</wfw:commentRss><description>&lt;p&gt;Hi Antarcticas!&lt;/p&gt;
&lt;p&gt;Wikipedia says there are no permanent human residents of Antarctica. Good luck with that as winter clamps down on your light supply. Replying to you during the summer in Seattle where we have &amp;gt;16 hours a daylight now... I love mother Sun!&lt;/p&gt;
&lt;p&gt;Your request is not an uncommon one. And, we have developed a solution for it in the past (I think a year ago). After building that solution (which required a little codin&amp;#39;), we decided to add the functionality to our qRules plugin, which you can download for free &lt;a title="qRules plugin" href="http://www.qdabra.com/en/products/qRules_new.aspx"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to remember the sequence of commands, but it&amp;#39;s Sunday and Pink Floyd is playing Momentary Lapse of Reason, so I&amp;#39;m a bit distracted, but I think you need to do a SaveToSharePoint:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;&lt;font face="Calibri"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="FONT-SIZE:11.5pt;"&gt;SaveToSharePoint &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style="FONT-SIZE:11.5pt;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Calibri"&gt;Saves a file, a set of files, an image or a set of images to a SharePoint Document Library. &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Calibri"&gt; &lt;b&gt;Arguments&lt;/b&gt;: &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:10pt;"&gt;o &lt;/span&gt;&lt;font face="Calibri"&gt;&lt;b&gt;&lt;span style="FONT-SIZE:10pt;"&gt;url&lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE:10pt;"&gt;: URL to SharePoint document library &lt;/span&gt;&lt;/font&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:10pt;"&gt;o &lt;/span&gt;&lt;font face="Calibri"&gt;&lt;b&gt;&lt;span style="FONT-SIZE:10pt;"&gt;dsname: &lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE:10pt;"&gt;data source (optional): only needs to be specified if the xpath to attach is not located in the Main data source. &lt;/span&gt;&lt;/font&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:10pt;"&gt;o &lt;/span&gt;&lt;font face="Calibri"&gt;&lt;b&gt;&lt;span style="FONT-SIZE:10pt;"&gt;xpath&lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE:10pt;"&gt;: XPath to file/image attachment &lt;/span&gt;&lt;/font&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Calibri"&gt; &lt;b&gt;Examples&lt;/b&gt;: &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:10pt;"&gt;o &lt;/span&gt;&lt;font face="Calibri"&gt;&lt;i&gt;&lt;span style="FONT-SIZE:10pt;"&gt;SaveToSharePoint /url=http://&amp;lt;servername&amp;gt;/MyDocLib /xpath=/my:myFields/my:File &lt;/span&gt;&lt;/i&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:10pt;"&gt;o &lt;/span&gt;&lt;font face="Calibri"&gt;&lt;i&gt;&lt;span style="FONT-SIZE:10pt;"&gt;SaveToSharePoint /url=http://&amp;lt;servername&amp;gt;/MyDocLib /xpath=/my:myFields/my:Images/my:Image &lt;/span&gt;&lt;/i&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Calibri"&gt; &lt;b&gt;Additional observations&lt;/b&gt;: &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:10pt;"&gt;o &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Calibri"&gt;Source field must have &lt;b&gt;&lt;i&gt;qRulesLink &lt;/i&gt;&lt;/b&gt;and &lt;b&gt;&lt;i&gt;qRulesFilename &lt;/i&gt;&lt;/b&gt;attributes (&lt;i&gt;see Appendix C&lt;/i&gt;). &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:10pt;"&gt;o &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Calibri"&gt;If uploading more than one file/image, the source field must be repeating (not a repeating field in a repeating group (&lt;i&gt;see Appendix C&lt;/i&gt;). &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:10pt;"&gt;o &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Calibri"&gt;This command can work without SharePoint, by saving files to an ordinary IIS website. Click here for instructions. &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:10pt;"&gt;o &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Calibri"&gt;qRules will perform no action if the user calls the rule with no image/file attached. When designing your InfoPath solution, you can design your form such that the rule only executes when the image/file attachment is not empty (blank). &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:10pt;"&gt;o &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Calibri"&gt;The InfoPath form and the SharePoint Document Library must live on the same machine. &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:10pt;"&gt;o &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;"&gt;&lt;font face="Calibri"&gt;This command works with file attachments saved in the browser. &lt;/font&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;note: you can also use DeleteFromSharePoint to delete those images...&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I know there is a way to create the folder too but I&amp;#39;m having a hard time finding that in the User Guide so I&amp;#39;m going to send email to Hilary and ask her to reply.&lt;/p&gt;
&lt;p&gt;Best of luck!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Is it possible to store attachments in a new folder everytime a form is submitted?</title><link>https://www.infopathdev.com:443/forums/thread/67532.aspx</link><pubDate>Mon, 20 Jun 2011 08:48:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67532</guid><dc:creator>Antarcticas</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67532.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=67532</wfw:commentRss><description>&lt;p&gt;I have an Infopath form which will be submitted to a Sharepoint library. The user can add a maximum of 5 attachments. I would like to see that everytime when a form will be submitted that there will be a new folder with the xml and the attachments.&lt;/p&gt;
&lt;p&gt;At this moment the XML are stored in 1 folder but I would like to see that every submit generates a new folder, for example with the same name.&lt;/p&gt;
&lt;p&gt;Now I have a Sharepoint folder with all the forms stored like: &lt;/p&gt;
&lt;p&gt;form1&lt;br /&gt;form2 etc&lt;/p&gt;
&lt;p&gt;But I prefer to have&lt;/p&gt;
&lt;p&gt;newfolder1/form1&lt;br /&gt;newfolder2/form2&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Is that possible? &lt;/p&gt;
&lt;p&gt;At this moment the filename is set with a concat of the name who fills in the form and the time (now). So every submit has an unique name.&lt;/p&gt;</description></item></channel></rss>