<?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: SubmitToSharepointList with attachment</title><link>https://www.infopathdev.com:443/forums/thread/86137.aspx</link><pubDate>Thu, 17 Jan 2013 07:34:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86137</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86137.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=86137</wfw:commentRss><description>Glad to help! :)</description></item><item><title>Re: SubmitToSharepointList with attachment</title><link>https://www.infopathdev.com:443/forums/thread/86136.aspx</link><pubDate>Thu, 17 Jan 2013 07:33:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86136</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86136.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=86136</wfw:commentRss><description>Thanks so much Mel - that worked a treat!</description></item><item><title>Re: SubmitToSharepointList with attachment</title><link>https://www.infopathdev.com:443/forums/thread/86134.aspx</link><pubDate>Thu, 17 Jan 2013 07:15:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86134</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86134.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=86134</wfw:commentRss><description>I looked at your form&amp;#39;s data connection and noticed that the AddAttach ShP list web service data connection is set to &amp;quot;submit data&amp;quot;. It should be &amp;quot;receive&amp;quot; instead. Give it a try and post back if it still doesn&amp;#39;t work. This &lt;a href="http://www.infopathdev.com/blogs/hilary/archive/2012/06/25/qrules-submittosharepointlist-walkthrough-for-v4-2-adding-attachments.aspx"&gt;step-by-step walkthrough&lt;/a&gt; should be able to help as well.</description></item><item><title>SubmitToSharepointList with attachment</title><link>https://www.infopathdev.com:443/forums/thread/86131.aspx</link><pubDate>Thu, 17 Jan 2013 00:40:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86131</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86131.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=86131</wfw:commentRss><description>Hi there.&lt;br /&gt;&lt;br /&gt;

I&amp;#39;m using qRules 4.3 and trying to get a form setup for users to be able to interact with an &amp;#39;Issue Tracker&amp;#39; list, in the hopes of being able to setup a basic help desk.&lt;br /&gt;&lt;br /&gt;

I have been able to get the form to write to the list no problem, however I also want to provide the ability to add an attachment, such as a screenshot, and have it come across.&lt;br /&gt;&lt;br /&gt;

When I specify the /dsname attribute and submit, I receive the following error. It appears as though it&amp;#39;s saying that the data connection doesn&amp;#39;t exist, even though it does. If I don&amp;#39;t specify this attribute, the form will submit to the library and populate the list just fine.&lt;br /&gt;&lt;br /&gt;

Action: SubmitToSharePointList. Arguments: submit: WriteList mapping: TrackListMap4 dsname: AddAttach . Details: An item with the following index does not exist in the collection: AddAttach. Stack: at Microsoft.Office.Interop.InfoPath.SemiTrust.DataObjects.get_Item(Object varIndex) at Microsoft.Office.Interop.InfoPath.SemiTrust.DataObjectsCollectionWrapper.get_Item(Object varIndex) at Microsoft.Office.InfoPath.Internal.DataSourcesHost.get_Item(String name) at Qdabra.Tools.RulesLibrary.Commands.SetQueryFields(String dsname, String guid, String id, String attName, Byte[] file) at Qdabra.Tools.RulesLibrary.Commands.AttachToSharePointList_Client(String dsname, String url, String guid, String id, XPathNodeIterator attachmentNodes, String name, String namexpath, String nameFormat) at Qdabra.Tools.RulesLibrary.Commands.AttachToSharePointList_Client(String dsname, String url, String guid, String id, String xpath, String name, String namexpath, String nameFormat) at Qdabra.Tools.RulesLibrary.Commands.AddAttachments(String listGuid, String id, String dsname, String xpath, Uri submitUri, String name, String namexpath, String nameFormat) at Qdabra.Tools.RulesLibrary.Commands.SubmitToSharePointList_Client(String submitDs, XPathNavigator mappingNode, String id, String attchDsname, String attchXpath, String attchName, String attchNameXPath, String attchNameFormat) at Qdabra.Tools.RulesLibrary.Commands.SubmitToSharePointList() at Qdabra.Tools.RulesLibrary.Commands.RunCommand(String commandName) at Qdabra.Tools.RulesLibrary.Commands.ExecuteCommand()&lt;br /&gt;&lt;br /&gt;

I have attached my mapping and form template.&lt;br /&gt;&lt;br /&gt;

What am I don&amp;#39;t wrong?&lt;br /&gt;&lt;br /&gt;

Cheers,&lt;br /&gt;
Tom</description></item></channel></rss>