<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Think i'm close but cant get over the finish line (qrules)</title><link>https://www.infopathdev.com:443/forums/thread/96596.aspx</link><pubDate>Mon, 24 Mar 2014 05:13:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96596</guid><dc:creator>Ruskin11</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96596.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=96596</wfw:commentRss><description>&lt;p&gt;I think I have a similar issue, that I am trying to fix.&lt;/p&gt;&lt;p&gt;I have managed to have the list item that I want to edit as a hidden attribute in my form, so that when the user accesses the form next and any data that they enter is updated to the form.&lt;/p&gt;&lt;p&gt;The problem that I can&amp;#39;t overcome, which i think is the same problem you are having, is that I don&amp;#39;t know how to reference to the item in my list based on the ID in the form.&lt;/p&gt;&lt;p&gt;I am using the following commands to add data to the list&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;font size="2"&gt;&lt;p&gt;batch.SelectSingleNode(&lt;/p&gt;&lt;/font&gt;&lt;p&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/Batch/Method/Field[@Name=&amp;#39;Seq2ActivityClosedDate&amp;#39;]&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager).SetValue(seq2ActivityClosedDate);&lt;/font&gt;&lt;/p&gt;&lt;p&gt;but all itll do is add a new entry into the list, where as I want to add this data to the existing list/xml document.&lt;/p&gt;&lt;p&gt;Were you able to achieve this?&lt;/p&gt;</description></item><item><title>Re: Think i'm close but cant get over the finish line (qrules)</title><link>https://www.infopathdev.com:443/forums/thread/93458.aspx</link><pubDate>Fri, 04 Oct 2013 01:08:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93458</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93458.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93458</wfw:commentRss><description>&lt;p&gt;I don&amp;#39;t really understand the question, I&amp;#39;m afraid. Is this column in your list? The same one you are submitting to? If so, perhaps instead of your formula you could have a hyperlink column and submit from your form to that (but I guess that doesn&amp;#39;t handle for the situation where there isn&amp;#39;t a form for the list item - unless you had a default value - not sure offhand if hyperlink columns can have defaults.)&lt;/p&gt;</description></item><item><title>Re: Think i'm close but cant get over the finish line (qrules)</title><link>https://www.infopathdev.com:443/forums/thread/93453.aspx</link><pubDate>Thu, 03 Oct 2013 19:20:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93453</guid><dc:creator>novak84</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93453.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93453</wfw:commentRss><description>aha, i have over complicated things!  All i have done is add a field in my form called uIQ, mapped this in my mapping file to be a ID (SPID) and hey presto, it works, inserts, updates etc :-)
&lt;br /&gt;&lt;br /&gt;
One other problem that might be common...........................&lt;br /&gt;&lt;br /&gt;
I have a list that shows a list of classes. One of the columns is a calculated column and it is a  link to &amp;quot;add data&amp;quot; or &amp;quot;update data&amp;quot;. If the user is using the form for the first time it opens a blank form and the user fills it out and submits the form/data, part of the submission is the form updates a column in the classes list, this is called &amp;quot;data entered&amp;quot; the form  sets the value to &amp;quot;Yes&amp;quot;. All rows of data where data hasn&amp;#39;t been completed the &amp;quot;data entered&amp;quot; column is set to &amp;quot;&amp;quot;.&lt;br /&gt;&lt;br /&gt;
The calculation in the column looks at &amp;quot;data entered&amp;quot; and if it is a &amp;quot;yes&amp;quot; it sets the link to the form library and the filename of the form where the data has been added. If the value is &amp;quot;&amp;quot; it links to the form and passes in an ID (the ID of the Class)&lt;br /&gt;&lt;br /&gt;
** My code was stripped out i have added it as a text file&lt;br /&gt;&lt;br /&gt;
Is this a good way to do this, is there an easier way?&lt;br /&gt;&lt;br /&gt;
I also have another issue where the ID value is not getting appended to the url, is there a max length in a calculated column?&lt;br /&gt;&lt;br /&gt;
Thanks for your time.</description></item><item><title>Re: Think i'm close but cant get over the finish line (qrules)</title><link>https://www.infopathdev.com:443/forums/thread/93450.aspx</link><pubDate>Thu, 03 Oct 2013 15:28:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93450</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93450.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93450</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;So - here&amp;#39;s the thing with qRules. If you have an ID field that you have indicated will have the SharePoint List Item ID, qRules will try to update that item. That means you can use rules to set the ID field to the correct ID for the item you want to update. Let&amp;#39;s say in your SharePoint List&amp;nbsp; you want to update item 10 and in your form you have a field called my:ShPListID where you are storing the list item ID. Set my:ShPListID to 10 for the item you wish to use for the update and you are done. &lt;/p&gt;&lt;p&gt;Looking at your mapping - I see you don&amp;#39;t have anything mapped as an ID column. What is the syntax of the command you are using? When do you want to update? That is, do you save the filled out XML and want the list item to update the next time the XML is updated?&lt;/p&gt;</description></item><item><title>Re: Think i'm close but cant get over the finish line (qrules)</title><link>https://www.infopathdev.com:443/forums/thread/93449.aspx</link><pubDate>Thu, 03 Oct 2013 15:05:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93449</guid><dc:creator>novak84</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93449.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93449</wfw:commentRss><description>Yes the classID is stored in the ClassList just fine.&lt;br /&gt;&lt;br /&gt;
I just now need to update the ClassList item where CLASSID = CLASSID, how do i do this in my mapping file that submits the data to the list?</description></item><item><title>Re: Think i'm close but cant get over the finish line (qrules)</title><link>https://www.infopathdev.com:443/forums/thread/93447.aspx</link><pubDate>Thu, 03 Oct 2013 15:01:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93447</guid><dc:creator>ldkud50</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93447.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93447</wfw:commentRss><description>Did you trying mapping the ID to the other list. In mapping tool CLASSID is mapped to the CLASSID in the other list. That way the data written is the same ID. Button can have a rule CLASSID = CLASSID.</description></item><item><title>Re: Think i'm close but cant get over the finish line (qrules)</title><link>https://www.infopathdev.com:443/forums/thread/93446.aspx</link><pubDate>Thu, 03 Oct 2013 14:59:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93446</guid><dc:creator>novak84</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93446.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93446</wfw:commentRss><description>Here is a simplified version of the mapping file. (attached)&lt;br /&gt;&lt;br /&gt;
All i want it to do is update the data where my:ID = CLASSID&lt;br /&gt;&lt;br /&gt;
I think i am close but just can&amp;#39;t crack it, thanks for your help :-)</description></item><item><title>Re: Think i'm close but cant get over the finish line (qrules)</title><link>https://www.infopathdev.com:443/forums/thread/93445.aspx</link><pubDate>Thu, 03 Oct 2013 14:49:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93445</guid><dc:creator>novak84</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93445.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93445</wfw:commentRss><description>The ClassID is generated from where the user opens the form. You see the user opens it from an entry list, it is a list of classes and each one has a unique ID (ClassID). When they open the form the ClassID is already prepopulated. &lt;br /&gt;&lt;br /&gt;

When they submit their data, the data is sent to a new list CLASSDATA and a column called CLASSID stores the unique ID. I am not using the unique SP LIST ID in class data. Think of it similar to a relational database, i am using the CLASSID thoughout the site.&lt;br /&gt;&lt;br /&gt;

So when the user opens the form again and submits i want it to &lt;br /&gt;&lt;br /&gt;

UPDATE WHERE CLASSID = CLASSID&lt;br /&gt;&lt;br /&gt;

I&amp;#39;m just not sure how i do this with the mapping file.................</description></item><item><title>Re: Think i'm close but cant get over the finish line (qrules)</title><link>https://www.infopathdev.com:443/forums/thread/93444.aspx</link><pubDate>Thu, 03 Oct 2013 14:34:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93444</guid><dc:creator>ldkud50</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93444.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93444</wfw:commentRss><description>If you are re-opening the original form then the CLASSID should be the ID of the list item. Which would update the same ID in the list. If you are opening a new form then your would have to query the list using a date or something to get the ID you want to update.

Something like this ID[Title = current()/../your field in form]

Little more info. You can have a date picker. That has an action that sets the query field in the list to grab items for that date. By querying the list. Then you can have the next action set a true/false Boolean to start the next set of rules to grab the ID using the info above then mark its back to false.</description></item><item><title>Think i'm close but cant get over the finish line (qrules)</title><link>https://www.infopathdev.com:443/forums/thread/93443.aspx</link><pubDate>Thu, 03 Oct 2013 14:25:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93443</guid><dc:creator>novak84</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93443.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93443</wfw:commentRss><description>Ok i have a form that users open and enter data. On submit the data is submitted to a list CLASSDATA with an ID called CLASSID and the form saved in a form library with a unqiue filename.

I need to make the data in the form updatedable. So what i have done is when the user opens the form, i want them to click submit and this updates the data in the list, not create a new line of data in the list.

At the moment IT IS just creating a new line of data in the list.

In my list i have the unique ID called CLASSID and all i want to do when updating the data is say update the data where CLASSID = (ID stored in the form).

Do i have 2 mappings for this form, one for when the data is first submitted and one for when it is an update?

Getting really frustrated!</description></item></channel></rss>