<?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: SaveToSharePoint giving error: "Failed while checking for existing file...."</title><link>https://www.infopathdev.com:443/forums/thread/103176.aspx</link><pubDate>Wed, 08 Jul 2015 18:32:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103176</guid><dc:creator>Deeayrian</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103176.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=103176</wfw:commentRss><description>Yes I think I understand what you are saying with setting the attachment name.&amp;nbsp; I am trying it out now.&amp;nbsp; I will give you an udpate.&amp;nbsp; Thank you!</description></item><item><title>Re: SaveToSharePoint giving error: "Failed while checking for existing file...."</title><link>https://www.infopathdev.com:443/forums/thread/103171.aspx</link><pubDate>Wed, 08 Jul 2015 17:05:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103171</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103171.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=103171</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Oh, fascinating. Thanks for the update. Did the info on setting the attachment name make sense?&lt;/p&gt;</description></item><item><title>Re: SaveToSharePoint giving error: "Failed while checking for existing file...."</title><link>https://www.infopathdev.com:443/forums/thread/103170.aspx</link><pubDate>Wed, 08 Jul 2015 17:01:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103170</guid><dc:creator>Deeayrian</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103170.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=103170</wfw:commentRss><description>Interesting.&amp;nbsp; I don&amp;#39;t shut my computer down every day so when I start to experience inconsistent odd occurances such as this, I do a reboot and try again.&amp;nbsp; And what do you know, after I rebooted, I was able to upload the same large attachment I tried to upload yesterday.&amp;nbsp;</description></item><item><title>Re: SaveToSharePoint giving error: "Failed while checking for existing file...."</title><link>https://www.infopathdev.com:443/forums/thread/103169.aspx</link><pubDate>Wed, 08 Jul 2015 15:56:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103169</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103169.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=103169</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I wonder if this error may be machine related - I just tried SaveToSharePoint with a 30 mb file and had no issues - our tester had an issue with at 17 mb file, however.....&lt;/p&gt;</description></item><item><title>Re: SaveToSharePoint giving error: "Failed while checking for existing file...."</title><link>https://www.infopathdev.com:443/forums/thread/103156.aspx</link><pubDate>Tue, 07 Jul 2015 22:34:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103156</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103156.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=103156</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;So - you are definitely going to have an issue with your rule on finishedLoading that is running the GetAttachmentAttribute command - that command is not going to loop through all the instances of your attachment group. When you set the attribute for the new attachment name (@my:newAttachmentName) from any rule outside of the repeating group, you&amp;#39;ll end up setting all of them to the same value.&lt;/p&gt;&lt;p&gt;&amp;nbsp;It would probably be easiest at this point to add a helper field here /my:myFields/my:group7/my:group10/my:Attachments&amp;nbsp;called &amp;quot;SetAttachmentName&amp;quot; or something and copy your rules that are currently on the Attachment field to the new helper field..... Then, on form load, you could set SetAttachmentName to true, which would set all instances, and if the attachment name hasn&amp;#39;t been populated yet, you could run the logic to generate each unique attachment name. Does that make sense?&lt;/p&gt;&lt;p&gt;Then when you run the SaveToSharePoint command you won&amp;#39;t be overwriting the same file&amp;nbsp;when there are multiple attachments already in the form.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: SaveToSharePoint giving error: "Failed while checking for existing file...."</title><link>https://www.infopathdev.com:443/forums/thread/103154.aspx</link><pubDate>Tue, 07 Jul 2015 21:44:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103154</guid><dc:creator>Deeayrian</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103154.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=103154</wfw:commentRss><description>Sending form in an email now.&amp;nbsp; Thank you.</description></item><item><title>Re: SaveToSharePoint giving error: "Failed while checking for existing file...."</title><link>https://www.infopathdev.com:443/forums/thread/103153.aspx</link><pubDate>Tue, 07 Jul 2015 21:06:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103153</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103153.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=103153</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Okay - first, qRules SaveToSharePoint handles attachments in repeating sections or groups, so I would be interested to hear more about how it is messing up. I would like to look at your form if possible - you can attach it under the Options tab in a reply, or sent to support AT qdabra DOT com and please reference this thread.&lt;/p&gt;&lt;p&gt;I&amp;#39;m going to ask one of our testers to reproduce the issue with a large attachment&amp;nbsp;&amp;amp; I&amp;#39;ll let you know what we learn.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: SaveToSharePoint giving error: "Failed while checking for existing file...."</title><link>https://www.infopathdev.com:443/forums/thread/103152.aspx</link><pubDate>Tue, 07 Jul 2015 20:58:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103152</guid><dc:creator>Deeayrian</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103152.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=103152</wfw:commentRss><description>&lt;p&gt;Thank you for the finishedLoading idea. I did it and it kinda works.&amp;nbsp; But because the attachment is in a repeating section, it seems to keep messing up.&amp;nbsp; but I am not so worried about that.&lt;/p&gt;&lt;p&gt;Now when I try to upload an attachment that is fairly large in size (24MB), I am getting this error: . &lt;/p&gt;&lt;p&gt;Details: Exception of type &amp;#39;System.OutOfMemoryException&amp;#39; was thrown.. Stack:   
 at System.Convert.FromBase64String(String s)&lt;br /&gt;   at 
Qdabra.Tools.RulesLibrary.Commands.GetBase64Values(String base64Value, 
String&amp;amp; fileName, String&amp;amp; fileExtension, Int32&amp;amp; fileSize, 
Byte[]&amp;amp; file)&lt;br /&gt;   at 
Qdabra.Tools.RulesLibrary.Commands.SaveFileToSharepoint_Client(XPathNavigator 
fileNode, String&amp;amp; url, String requestedFileName, String fileNameXPath, 
String overwriteExisting, String dsnameprog, String xpathprog, String 
copyServiceName, String copyServiceUrl)&lt;br /&gt;   at 
Qdabra.Tools.RulesLibrary.Commands.SaveToSharePoint_Client(String url, String 
domName, String nodeXPath, String fileName, String fileNameXPath, String 
overwriteExisting, String async, String dsnameprog, String xpathprog, String 
copyServiceName, String copyServiceUrl, Boolean clear)&lt;br /&gt;   at 
Qdabra.Tools.RulesLibrary.Commands.SaveToSharePoint()&lt;br /&gt;   at 
Qdabra.Tools.RulesLibrary.Commands.RunCommand(String commandName)&lt;br /&gt;   at 
Qdabra.Tools.RulesLibrary.Commands.ExecuteCommand()&lt;/p&gt;&lt;p&gt;&amp;nbsp;Do you know what could be causing a OutofMemoryException error?&amp;nbsp; Does this mean the file is too large?&amp;nbsp;&amp;nbsp; Is there a workaround? &lt;/p&gt;&lt;p&gt;Thank you! &lt;/p&gt;</description></item><item><title>Re: SaveToSharePoint giving error: "Failed while checking for existing file...."</title><link>https://www.infopathdev.com:443/forums/thread/103132.aspx</link><pubDate>Mon, 06 Jul 2015 22:01:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103132</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103132.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=103132</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;No - the command won&amp;#39;t run automatically. You could add a rule to the Qdabra Rules finishedLoading node and if that node = true, you could execute your SaveToSharePoint command - that would have the same general effect.&lt;/p&gt;</description></item><item><title>Re: SaveToSharePoint giving error: "Failed while checking for existing file...."</title><link>https://www.infopathdev.com:443/forums/thread/103131.aspx</link><pubDate>Mon, 06 Jul 2015 21:39:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103131</guid><dc:creator>Deeayrian</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103131.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=103131</wfw:commentRss><description>&lt;p&gt;I pinpointed when the error is occuring exactly.&amp;nbsp; &lt;br /&gt;I implemented the SaveToSharePoint command to a form that has been in use for a few years now.&amp;nbsp; We were having problems opening some of the forms due to the large attachments attached to them.&amp;nbsp; Therefore, I am implementing the SaveToSharePoint feature to remove the attachments from the form and save them into a library instead.&amp;nbsp; &lt;/p&gt;&lt;p&gt;I found that I get the error only when I open an existing form that has an attachment already attached and I try to attach a new attachment.&amp;nbsp; &lt;/p&gt;&lt;p&gt;I was hoping that the SaveToSharePoint command would automatically run when I open the form, but it doesn&amp;#39;t.&amp;nbsp;&amp;nbsp; I was testing the command by adding a 2nd attachment (the attachment field is in a repeating section) and that&amp;#39;s when I got the error.&amp;nbsp; However,&amp;nbsp; I found that if I removed the original attachments, then reattached them, it worked correctly.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Thank you for your time! &lt;/p&gt;</description></item><item><title>Re: SaveToSharePoint giving error: "Failed while checking for existing file...."</title><link>https://www.infopathdev.com:443/forums/thread/103130.aspx</link><pubDate>Mon, 06 Jul 2015 21:02:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103130</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103130.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=103130</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks - it is odd to me that you are getting an error about checking for existing - that should only be happening if the overwrite param is included. It is even odder that you get the error and other users don&amp;#39;t. I&amp;#39;d like to take a look at your form - could you either attach it under the Options tab here in a reply or email it to support AT qdabra DOT com and reference this thread? I want to look at the qRules DLL. :)&lt;/p&gt;</description></item><item><title>Re: SaveToSharePoint giving error: "Failed while checking for existing file...."</title><link>https://www.infopathdev.com:443/forums/thread/103128.aspx</link><pubDate>Mon, 06 Jul 2015 19:52:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103128</guid><dc:creator>Deeayrian</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103128.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=103128</wfw:commentRss><description>&lt;p&gt;SaveToSharePoint /url=siteURL/CCF Attachments /xpath=/my:myFields/my:group7/my:group10/my:Attachments/my:attachments &lt;a&gt;/namexpath=@my:newAttachmentName&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I have the name being applied from the&amp;nbsp;newAttachmentName field because I&amp;nbsp;run a command to remove any odd characters from the name path first and the &amp;quot;cleaned&amp;quot; file name is then placed into the newAttachmentName field. &amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: SaveToSharePoint giving error: "Failed while checking for existing file...."</title><link>https://www.infopathdev.com:443/forums/thread/103127.aspx</link><pubDate>Mon, 06 Jul 2015 19:40:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103127</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103127.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=103127</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;What is the command you are using? The full syntax (I realize you are using SaveToSharePoint, but want to know what parameters you are using).&lt;/p&gt;</description></item><item><title>Re: SaveToSharePoint giving error: "Failed while checking for existing file...."</title><link>https://www.infopathdev.com:443/forums/thread/103126.aspx</link><pubDate>Mon, 06 Jul 2015 19:35:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103126</guid><dc:creator>Deeayrian</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103126.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=103126</wfw:commentRss><description>Filler.&amp;nbsp; I have verified this under the Form Options as well.</description></item><item><title>Re: SaveToSharePoint giving error: "Failed while checking for existing file...."</title><link>https://www.infopathdev.com:443/forums/thread/103125.aspx</link><pubDate>Mon, 06 Jul 2015 19:29:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103125</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103125.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=103125</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Is this form being used in the browser or the filler?&lt;/p&gt;</description></item></channel></rss>