<?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: qRules SaveToSharePoint Help (file name)</title><link>https://www.infopathdev.com:443/forums/thread/121964.aspx</link><pubDate>Thu, 14 Nov 2019 23:53:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121964</guid><dc:creator>sharepointing.and.lost</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121964.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=121964</wfw:commentRss><description>Just tested and it worked! Thanks a lot for this, Hilary :D&lt;br /&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Hilary Stoupa:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Looking at the documentation, I think you&amp;#39;ll need to use namexpath instead. Is AttachSection your repeating group? I&amp;#39;d probably add a field there with a default calculated value that concats the system generated code with the file name - or whatever you wish to use. Then you can use namexpath=my:NewField (whatever the name of your field is). Does that make sense?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;</description></item><item><title>Re: qRules SaveToSharePoint Help (file name)</title><link>https://www.infopathdev.com:443/forums/thread/121887.aspx</link><pubDate>Fri, 01 Nov 2019 14:08:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121887</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121887.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=121887</wfw:commentRss><description>Looking at the documentation, I think you&amp;#39;ll need to use namexpath instead. Is AttachSection your repeating group? I&amp;#39;d probably add a field there with a default calculated value that concats the system generated code with the file name - or whatever you wish to use. Then you can use namexpath=my:NewField (whatever the name of your field is). Does that make sense?</description></item><item><title>Re: qRules SaveToSharePoint Help (file name)</title><link>https://www.infopathdev.com:443/forums/thread/121886.aspx</link><pubDate>Fri, 01 Nov 2019 00:22:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121886</guid><dc:creator>sharepointing.and.lost</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121886.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=121886</wfw:commentRss><description>&lt;p&gt;Hi Hilary! &lt;/p&gt;

&lt;p&gt;I tried adding a concat function in the QRulesFilename part but it doesn&amp;#39;t generate the filename. &lt;/p&gt;
&lt;p&gt;My formula is: concat(&amp;quot;SaveToSharePoint /url=http://server/site/docLibrary /xpath=/my:Form/my:group36/my:group37/my:group38/my:AttachSection /name=&amp;quot;, concat(SystemGeneratedCode,&amp;quot;_&amp;quot;,@qRulesNewFileName))&lt;/p&gt;

&lt;p&gt;Checking the document library, it returns &amp;quot;SystemGeneratedCode_&amp;quot;. Even if I upload multiple items, it just returns one &amp;quot;SystemGeneratedCode_&amp;quot; file.&lt;/p&gt;

&lt;p&gt;I&amp;#39;m using this on a repeating table and can confirm that concat(&amp;quot;SaveToSharePoint /url=http://server/site/docLibrary /xpath=/my:Form/my:group36/my:group37/my:group38/my:AttachSection /name=&amp;quot;,@qRulesNewFileName) works even on multiple files uploaded at the same time.&lt;/p&gt;</description></item><item><title>Re: qRules SaveToSharePoint Help (file name)</title><link>https://www.infopathdev.com:443/forums/thread/106571.aspx</link><pubDate>Fri, 13 May 2016 13:43:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106571</guid><dc:creator>Praveen Manne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106571.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=106571</wfw:commentRss><description>Hi Hilary,&lt;br /&gt;

&lt;br /&gt;How can I add overwrite parameter in below formula?&lt;br /&gt;

&lt;br /&gt;concat(&amp;quot;SaveToSharePoint /url=http://server/site/docLibrary /xpath=/my:myFields/my:Images/my:Image /name=&amp;quot;, Result)&lt;br /&gt;

&lt;br /&gt;Thanks In Advance</description></item><item><title>Re: qRules SaveToSharePoint Help (file name)</title><link>https://www.infopathdev.com:443/forums/thread/94377.aspx</link><pubDate>Tue, 19 Nov 2013 16:11:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94377</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94377.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=94377</wfw:commentRss><description>&lt;p&gt;Yes, there is a way to do this.&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;div&gt;In a rule before your SaveToSharePoint rule, execute the GetAttachmentAttribute command with /attr=name. This will return the name of the attachment to the Qdabra Rules result node.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;In your SaveToSharePoint rule, you&amp;#39;ll need to use a formula instead of just setting the value to a string in your rule to set the Command field - formula will look something like this:&lt;br /&gt;concat(&amp;quot;SaveToSharePoint /url=http://server/site/docLibrary /xpath=/my:myFields/my:Images/my:Image /name=&amp;quot;, &lt;em&gt;&lt;u&gt;Result&lt;/u&gt;&lt;/em&gt;)&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;So, basically, you use qRules to get the name of the attachment, then you add the &amp;quot;name&amp;quot; param to your SaveToSharePoint command. You may also want to add the /overwrite param to your SaveToSharePoint command so that you can control what happens if there are multiple attachments saved to the same library that have the same name (which is why we add the date and time info to files by default).&lt;/p&gt;</description></item><item><title>qRules SaveToSharePoint Help (file name)</title><link>https://www.infopathdev.com:443/forums/thread/94376.aspx</link><pubDate>Tue, 19 Nov 2013 15:55:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94376</guid><dc:creator>explosive0</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94376.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=94376</wfw:commentRss><description>I&amp;#39;ve installed a trial version of qRules and have the SaveToSharePoint command working. 

When the file is saved to the SharePoint library, it prepends the date, time and an underscore to the file name. I do not want this; I want just the file name as it is attached. 

Is there a way of achieving this?

Thanks</description></item></channel></rss>