<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Need To Prepend data to filename BEFORE it is saved to SharePoint library</title><link>https://www.infopathdev.com:443/forums/thread/94583.aspx</link><pubDate>Mon, 02 Dec 2013 18:23:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94583</guid><dc:creator>Deeayrian</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94583.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=94583</wfw:commentRss><description>&lt;p&gt;Is this solution to rename an attachment before saving it, possible for saving attachments to list items (rather than in a library as this example shows)?&lt;/p&gt;
&lt;p&gt;Here is my issue.&amp;nbsp; I am saving attachments from a form to a list.&amp;nbsp; Thanks to your forums, I have figured out how to check for invalid characters in the file name and then notify the person the file has invalid characters.&amp;nbsp; But is it possible for me to automatically change the file name so that it saves the file without the invalid characters?&amp;nbsp;&amp;nbsp; In this example, you assign /nameXPath to the SaveToSharePoint command. but I am not sure there is a way to do that for the SubmitToSharePointList command with dsname=/AddAttachment at the end.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Need To Prepend data to filename BEFORE it is saved to SharePoint library</title><link>https://www.infopathdev.com:443/forums/thread/82808.aspx</link><pubDate>Tue, 18 Sep 2012 19:52:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82808</guid><dc:creator>NICK1081</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82808.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=82808</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;no problem. I&amp;#39;m so glad you caught that.&lt;/p&gt;&lt;p&gt;BINGO !! &amp;nbsp; EUREKA!!&amp;nbsp; &amp;quot;I love it when a plan comes together&amp;quot;...&amp;nbsp; and all those other things people say when success is achieved.&lt;/p&gt;&lt;p&gt;This is exactly what I need. I love it. It works whether the user attaches a file and hits Submit or adds 2 or more attachments and then hits submit.&lt;/p&gt;&lt;p&gt;I tested creation of a new form and updating an existing. WORKS GREAT !!!!!!!!! &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks so much for hanging in there with me and putting up with my badgering. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Need To Prepend data to filename BEFORE it is saved to SharePoint library</title><link>https://www.infopathdev.com:443/forums/thread/82806.aspx</link><pubDate>Tue, 18 Sep 2012 19:30:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82806</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82806.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=82806</wfw:commentRss><description>&lt;p&gt;The problem is you are using a full path to the name field. My apologies - I didn&amp;#39;t bother changing the save command in the form. Should be: &lt;a&gt;/nameXPath=@my:customFileName&lt;/a&gt; instead of using the absolute XPath.&lt;/p&gt;</description></item><item><title>Re: Need To Prepend data to filename BEFORE it is saved to SharePoint library</title><link>https://www.infopathdev.com:443/forums/thread/82805.aspx</link><pubDate>Tue, 18 Sep 2012 19:25:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82805</guid><dc:creator>NICK1081</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82805.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=82805</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;POST 2 of 2 ... to get the rest of the images uploaded (reference previous post)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Need To Prepend data to filename BEFORE it is saved to SharePoint library</title><link>https://www.infopathdev.com:443/forums/thread/82804.aspx</link><pubDate>Tue, 18 Sep 2012 19:24:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82804</guid><dc:creator>NICK1081</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82804.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=82804</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;thanks Hilary. I always forget to click that edit xpath to check the formula.&lt;/p&gt;&lt;p&gt;I used your XSN and modified it to point to my attachments library. Otherwise, it&amp;#39;s the same.&lt;/p&gt;&lt;p&gt; &lt;span style="font-weight:bold;"&gt;Did you get the same results?&lt;/span&gt; &lt;/p&gt;&lt;p&gt;The end results that show up in the Attachments library are 2 documents with the same name. I didn&amp;#39;t make any changes other than the SaveToSharePoint to point to my library. I had to make 2 posts so I could get all the screen captures. This post show the forms input screen capture and an insert to show the Attachments library results. &lt;/p&gt;&lt;p&gt;The next post breaks out all the rules you created. I copy/pasted the formulas after checking the Edit XPath (advanced) option so you can verify what I have in those values.&lt;/p&gt;&lt;p&gt;Still not working quite right. The customFileName is getting updated as I would hope, but it is not getting into the file name that is sent via the SaveToSharePoint command.&lt;/p&gt;&lt;p&gt;I&amp;#39;ve executed it two ways as pointed out in the image attached to this post. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Need To Prepend data to filename BEFORE it is saved to SharePoint library</title><link>https://www.infopathdev.com:443/forums/thread/82792.aspx</link><pubDate>Tue, 18 Sep 2012 16:22:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82792</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82792.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=82792</wfw:commentRss><description>&lt;p&gt;Before you copy/paste the formula, select the edit XPath check box. In my form, the formula is actually: count(preceding-sibling::my:FileAttachment)&lt;/p&gt;</description></item><item><title>Re: Need To Prepend data to filename BEFORE it is saved to SharePoint library</title><link>https://www.infopathdev.com:443/forums/thread/82791.aspx</link><pubDate>Tue, 18 Sep 2012 16:17:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82791</guid><dc:creator>NICK1081</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82791.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=82791</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hilary, I&amp;#39;m working on it now. When I try to build the concat function, I get the error:&lt;/p&gt;&lt;p&gt;&amp;quot;preceding-sibling::FileAttachment&amp;quot; does not point to a valid location path of a field or group.&lt;/p&gt;&lt;p&gt;Here is a copy/paste of my formula:&lt;/p&gt;&lt;p&gt;concat(&amp;quot;GetAttachmentAttribute /xpath=/my:myFields/my:Attachments/my:Attachment/my:FileAttachment[&amp;quot;, count(preceding-sibling::FileAttachment) + 1, &amp;quot;] /attr=Name&amp;quot;)&lt;/p&gt;&lt;p&gt;Admittedly I have never used the &amp;#39;preceding-sibling&amp;#39; attribute of the count function, so it quite likely I am not building that part of the formula correctly.&lt;/p&gt;&lt;p&gt;I just typed it in to replicate what you had. I&amp;#39;m thinking that is where I am going wrong ??&lt;br /&gt;&lt;/p&gt;&lt;p&gt;thanks. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Need To Prepend data to filename BEFORE it is saved to SharePoint library</title><link>https://www.infopathdev.com:443/forums/thread/82774.aspx</link><pubDate>Tue, 18 Sep 2012 14:38:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82774</guid><dc:creator>NICK1081</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82774.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=82774</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;thanks Hilary !&lt;/p&gt;&lt;p&gt;I&amp;#39;ll check it out this morning and get back to you. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Need To Prepend data to filename BEFORE it is saved to SharePoint library</title><link>https://www.infopathdev.com:443/forums/thread/82773.aspx</link><pubDate>Tue, 18 Sep 2012 14:33:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82773</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82773.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=82773</wfw:commentRss><description>&lt;p&gt;I modified Jo-Anne&amp;#39;s sample for a repeating file attachment field. Please see attached. The file name is now generated by rules on the file attachment node.&lt;/p&gt;</description></item><item><title>Re: Need To Prepend data to filename BEFORE it is saved to SharePoint library</title><link>https://www.infopathdev.com:443/forums/thread/82760.aspx</link><pubDate>Tue, 18 Sep 2012 04:21:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82760</guid><dc:creator>NICK1081</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82760.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=82760</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks Hilary. I appreciate your effort. I got your email. The file was not attached (probably got stripped) so thanks for placing it here.&lt;br /&gt;&lt;br /&gt;I see you ran into the same problem I did. Your sample xsn allows for ONE file to be attached and, yes the ICMNO is concatenated - so that part was good.&lt;br /&gt;&lt;br /&gt;If you attach another file you lose the reference from the first.&lt;br /&gt;&lt;br /&gt;My objective was to allow for multiple file attachments and each would be concatenated with the ICMNO, preferable with one click of the submit. &lt;br /&gt;&lt;br /&gt;I even tried to give up that idea and just tell the user to click the submit button each time a file was attached. That did not work out either. &lt;br /&gt;&lt;br /&gt;I then tried to take your example and make the Attachment a repeating field. As I pointed out in the previous posts, that did not work because the GetAttachmentAttribute only works ONCE.&lt;br /&gt;&lt;br /&gt;The second and subsequent executions grab the first /name value.I tried putting the GetAttachmentAttribute inside the repeating Attachment group and outside. Outside, it grabs the first results every time, inside, the 2nd and subsequent submits... it draws a blank - as you can see in the illustration.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Need To Prepend data to filename BEFORE it is saved to SharePoint library</title><link>https://www.infopathdev.com:443/forums/thread/82755.aspx</link><pubDate>Mon, 17 Sep 2012 23:15:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82755</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82755.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=82755</wfw:commentRss><description>&lt;p&gt;Did you get the email I sent you with it attached? Perhaps the file type is blocked- attaching here.&lt;/p&gt;</description></item><item><title>Re: Need To Prepend data to filename BEFORE it is saved to SharePoint library</title><link>https://www.infopathdev.com:443/forums/thread/82754.aspx</link><pubDate>Mon, 17 Sep 2012 23:03:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82754</guid><dc:creator>NICK1081</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82754.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=82754</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;well, I&amp;#39;ve checked my company email and my personal email - I&amp;#39;m sorry but I do not have any emails from Jo-Anne other than one from Sept. 10&lt;/p&gt;</description></item><item><title>Re: Need To Prepend data to filename BEFORE it is saved to SharePoint library</title><link>https://www.infopathdev.com:443/forums/thread/82751.aspx</link><pubDate>Mon, 17 Sep 2012 21:50:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82751</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82751.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=82751</wfw:commentRss><description>&lt;p&gt;I replied to your email - this was in an email Jo-Anne sent directly to you.&lt;/p&gt;</description></item><item><title>Re: Need To Prepend data to filename BEFORE it is saved to SharePoint library</title><link>https://www.infopathdev.com:443/forums/thread/82749.aspx</link><pubDate>Mon, 17 Sep 2012 21:23:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82749</guid><dc:creator>NICK1081</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82749.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=82749</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m not finding any sample form. Where would that have been sent ?&lt;/p&gt;&lt;p&gt;thanks! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Need To Prepend data to filename BEFORE it is saved to SharePoint library</title><link>https://www.infopathdev.com:443/forums/thread/82733.aspx</link><pubDate>Mon, 17 Sep 2012 15:40:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82733</guid><dc:creator>NICK1081</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82733.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=82733</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;sorry, I did not get that. Either that or I just don&amp;#39;t know here to look... which is altogether likely.&lt;/p&gt;&lt;p&gt;Where would it have been sent? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;thanks!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>