<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Submit attachment to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/107832.aspx</link><pubDate>Wed, 31 Aug 2016 16:25:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107832</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107832.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107832</wfw:commentRss><description>It was my pleasure to help you - I know qRules can be a pretty steep learning curve, and you&amp;#39;ve done a great job grokking it thus far! Again, if you need more time on your trial, just let me know - I can always re-inject your form with an extension, or when we put up a new trial in a week or so you can download, install &amp;amp; re-inject. Thanks for giving qRules a try! :)</description></item><item><title>Re: Submit attachment to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/107831.aspx</link><pubDate>Wed, 31 Aug 2016 15:59:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107831</guid><dc:creator>B02002</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107831.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107831</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Hilary,&lt;/p&gt;&lt;p&gt;I would say your explanation was spot on. I have now been able to successfully retrieve data from a SharePoint list, modify&amp;nbsp;certain fields&amp;nbsp;in InfoPath and then write&amp;nbsp;the records&amp;nbsp;back to SharePoint. In other words - success! I&amp;#39;m sold on qRules and I haven&amp;#39;t even looked at the other things it can do yet. Now I just need to smarten up my form and demonstrate it in action, but I&amp;#39;m pretty confident we are going to purchase this product. :-)&lt;/p&gt;&lt;p&gt;Thanks for being so patient and taking the time to answer questions you&amp;#39;ve probably heard a million times before. It&amp;#39;s very rare these days to receive such high quality support (and for free). Respect!&lt;/p&gt;</description></item><item><title>Re: Submit attachment to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/107812.aspx</link><pubDate>Wed, 31 Aug 2016 00:50:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107812</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107812.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107812</wfw:commentRss><description>In your qRules mapping, when you use the InfoPath to SharePoint list tool, you can indicate a field is an ID - have you done that? Maybe attach your mapping file to a reply so I can take a look at it. If we have the ID mapped, qRules will update when you use SubmitToSharePointList if the ID has a valid value. :) As to setting the department field for each record - will you need to change all of them to the same thing? If so, if you put the rule on something outside of the repeating table / section (so the context is OUTSIDE of the repeating node) you can use set a fields value to set all of them to the same thing. If not, you&amp;#39;ll need to use qRules SetValue command so you can indicate which you want to set using an XPath filter, OR you can just change each one by displaying your repeating data on the form.... make sense?</description></item><item><title>Re: Submit attachment to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/107805.aspx</link><pubDate>Tue, 30 Aug 2016 09:17:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107805</guid><dc:creator>B02002</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107805.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107805</wfw:commentRss><description>&lt;p&gt;OK, after a short break I&amp;#39;m back to the task at hand. I&amp;#39;ve been able to successfully use the CopyTable command to get data from my SharePoint list into InfoPath (a query to&amp;nbsp;my list produced 3 records which were then successfully copied to InfoPath with the CopyTable command). Yay!&lt;/p&gt;&lt;p&gt;I now want to change&amp;nbsp;the value of the Department field for each record using InfoPath&amp;#39;s &amp;quot;set a fields value&amp;quot; but I&amp;#39;m not sure how to do that. I guess I need some way of recording the number of records returned and then using it in a formula? Could you point me in the right direction there?&lt;/p&gt;&lt;p&gt;Finally I need to write the modified records back to SharePoint but I&amp;#39;m a bit confused here.&amp;nbsp;I have the ID of the SharePoint list item in my table in InfoPath but I thought I would have to create a mapping file so that this field would map to the ID field in SharePoint. This doesn&amp;#39;t seem to be possible, but how does qRules know that I want to update an existing record rather than create a new one?&lt;/p&gt;&lt;p&gt;As always, thanks very much for your help.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Submit attachment to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/107791.aspx</link><pubDate>Fri, 26 Aug 2016 22:03:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107791</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107791.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107791</wfw:commentRss><description>A little head&amp;#39;s up - if you are using Office 365 browser forms, this product won&amp;#39;t work for you since Sandbox has been deprecated &amp;amp; you may want to check out FormsViewer instead: http://www.qdabra.com/en/products/FormsViewer.aspx</description></item><item><title>Re: Submit attachment to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/107790.aspx</link><pubDate>Fri, 26 Aug 2016 21:47:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107790</guid><dc:creator>ttrotman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107790.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107790</wfw:commentRss><description>Nice! Checking it out now. thanks</description></item><item><title>Re: Submit attachment to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/107788.aspx</link><pubDate>Fri, 26 Aug 2016 21:29:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107788</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107788.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107788</wfw:commentRss><description>We are talking about qRules (a product that I work on for Qdabra) that can be added to a form to do things that you&amp;#39;d usually have to write code for. One of the things it can do is copy files out of a form and off to a library or list - more here: http://www.qdabra.com/en/products/qRules.aspx</description></item><item><title>Re: Submit attachment to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/107787.aspx</link><pubDate>Fri, 26 Aug 2016 21:23:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107787</guid><dc:creator>ttrotman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107787.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107787</wfw:commentRss><description>Are you guys talking about a tool that allows you to attach files to an InfoPath form, but then automatically moves those files to a SharePoint list?</description></item><item><title>Re: Submit attachment to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/107783.aspx</link><pubDate>Fri, 26 Aug 2016 15:21:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107783</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107783.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107783</wfw:commentRss><description>You&amp;#39;ll need to copy the data from the secondary data source into the main data source to update the existing list items - but all you need to copy in is the list item ID &amp;amp; the field you need to change (department). So, CopyTable or Transform, or Insert with some logic to set values will probably be needed too...</description></item><item><title>Re: Submit attachment to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/107774.aspx</link><pubDate>Thu, 25 Aug 2016 09:19:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107774</guid><dc:creator>B02002</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107774.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107774</wfw:commentRss><description>OK, great. That&amp;#39;s good to know.

I have various lists in SharePoint which we use to keep track of hardware and who has it, so, for example, I have a PC &amp;amp; Laptop list, a Monitor list, a Cell Phone list etc. All these lists have a field called Current User. With InfoPath I create front-end interfaces to interact with this data and present them as a web page using the form web-part. Once such page is a &amp;quot;show assets by user&amp;quot; report. I can enter a user name and receive a report of what assets are currently assigned to them. One problem I would like to solve is to better handle what happens when a user leaves. We currently change the Current User field to a &amp;quot;dummy&amp;quot; user account which identifies the department the leaving user worked for. This is because the department is still liable for the cost of the asset until such time as a new user takes over ownership. Unfortunately, at the moment I have to go to each individual list, search for the user and then amend each record manually to change the Current User field.

I&amp;#39;d like to inject qRules into my &amp;quot;show assets by user&amp;quot; form and add a button called &amp;quot;Reassign assets to department&amp;quot; which when clicked would change the Current User field of each of the user&amp;#39;s assets to the dummy &amp;quot;department&amp;quot; user. I&amp;#39;ve attached a screen dump of a sample asset report so you can see what that looks like.

I think the SubmitToSharePointList qRule command might be all I need in this scenario but I&amp;#39;ll need to work with it in my form to see how this works out.

Thanks again for taking the time to help out a newbie.</description></item><item><title>Re: Submit attachment to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/107770.aspx</link><pubDate>Wed, 24 Aug 2016 15:15:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107770</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107770.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107770</wfw:commentRss><description>Don&amp;#39;t worry about the trial expiration (if that is the 30-day learning countdown you are referring to?) - you can always download another trial and re-inject, or email me via the forum, and I&amp;#39;ll update your trial in your form, okay? qRules has a LOT of different features - maybe you can outline what you are trying to achieve and I can point you to specific commands? We also have some qRules training vids up on YouTube. :)</description></item><item><title>Re: Submit attachment to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/107764.aspx</link><pubDate>Wed, 24 Aug 2016 09:36:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107764</guid><dc:creator>B02002</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107764.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107764</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Yes, that has worked. Thanks for the explanation. Initially I thought that a good place to start learning would be the qRules v7.1 User Guide but I would say that this is really a guide for existing users of the product who want to see what&amp;#39;s new - hence the investigation of some of the older documents (which over time have become misleading). Is there a recommended reading route for newbie&amp;#39;s? I&amp;#39;m very aware that I&amp;#39;m on a 30-day learning countdown during which time I need to understand the basics of the product and then implement it in some way into our existing environment so I can build a business case for purchase and demonstrate it in action. I use InfoPath to provide web front-ends to our data in SharePoint. We have a general rule not to use code in these solutions so it looks like qRules will provide the functionality we need. The demise of InfoPath is a worry though particularly as Microsoft have been less than forthcoming about what will replace it. I just hope I&amp;#39;m not building solutions which will only have a short shelf-life.&lt;/p&gt;&lt;p&gt;Thanks again for your help. :-)&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Submit attachment to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/107755.aspx</link><pubDate>Tue, 23 Aug 2016 16:45:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107755</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107755.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107755</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;ve asked a colleague of mine to review the document you mention so we can either update it or clarify it. &lt;/p&gt;&lt;p&gt;But could you try this for your command and let&amp;#39;s see if that gets you any further: SubmitToSharePointList /submit=ShPSubmit /dsname=AddAttachment&lt;/p&gt;&lt;p&gt;Your mapping file includes the attachment field, so you shouldn&amp;#39;t&amp;nbsp;need to include the /xpath parameter. In the /xpath parameter, you had: /xpath=my:attachments/my:attachmentFile but the XPath is case sensitive - and your attachments field XPath is /my:myFields/my:group1/my:group2/my:Attachments&lt;/p&gt;&lt;p&gt;You have already added a field in your form to store the SharePoint&amp;nbsp;list item ID and mapped that in your mapping file, so you are good there.&amp;nbsp;When we create a list item with an attachment in SharePoint using qRules, the code creates the list item (getting back the ID) then adds the&amp;nbsp;attachment. Since in the code we populate your form&amp;#39;s ID&amp;nbsp;field, we need your&amp;nbsp;mapping to contain that XPath. In&amp;nbsp;older versions of qRules (before 4.2), many&amp;nbsp;of these things were NOT mapped, but instead added as command parameters. So - sometimes the&amp;nbsp;documentation has little crufty leftovers. &amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Submit attachment to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/107752.aspx</link><pubDate>Tue, 23 Aug 2016 15:27:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107752</guid><dc:creator>B02002</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107752.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107752</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Hilary,&lt;/p&gt;&lt;p&gt;Another fast reply - this support board is awesome! :-) I&amp;#39;ve attached the form.&amp;nbsp;Hopefully I haven&amp;#39;t done something dumb.&lt;/p&gt;</description></item><item><title>Re: Submit attachment to SharePoint list</title><link>https://www.infopathdev.com:443/forums/thread/107751.aspx</link><pubDate>Tue, 23 Aug 2016 15:10:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107751</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107751.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107751</wfw:commentRss><description>Can I see a copy of your form? You can attach it under the Options tab in a reply. It is way more likely that the instructions are the issue &amp;amp; you are not. :)</description></item></channel></rss>