?
Solved

InfoPath 2010 repeating table from SharePoint 2010 list

Posted on 2011-03-16
4
Medium Priority
?
834 Views
Last Modified: 2012-08-14
Hi,
I would like to change some fields after I have created a listitem with a InfoPath formular.

I used the page: http://www.infopathdev.com/forums/t/15477.aspx?PageIndex=1
to create the form and the settings

So I created in the formular a listitem.

Title: Test
Firstname: Scott
Lastname: Heim
Email: someone@hotmail.com
Phone: 555-1212

now I would change only the email field into somebody@hotmail.com
I will only update the emailfield. I dont want to delete this and create a new one.

Is that possible in the form?

I can change the emailaddress. But if I click on submit the emailaddress is still the same as before. It is someone@hotmail.com and not somebody@hotmail.com.

best regards


0
Comment
Question by:pa_gmbh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 28

Accepted Solution

by:
clayfox earned 1500 total points
ID: 35148664
You have to use the update command with the CAML.

So you need a CAML for each function, one to insert, one to delete, one to Update.

It looks like you have the insert working.

For the update you also have to reference the item that you want to update.

It has been a long time but I think I have had Update working with a CAML once before.

0
 

Author Comment

by:pa_gmbh
ID: 35148702
hi, thanks for your fast replay.

I`ve created a second xml:

<?xml version="1.0" encoding="UTF-8"?>
<Batch OnError="Continue">
    <Method ID="" Cmd="Update">
        <Field Name='Title'></Field>
        <Field Name="FirstName"></Field>
        <Field Name="LastName"></Field>
        <Field Name="Email"></Field>
        <Field Name="Phone"></Field>
      <Field Name="Test"></Field>
      <Field Name="Ampel"></Field>
      <Field Name="ID"></Field>
    </Method>
</Batch>

I named it: updateitem.xml

and added the above xml to a new dataconnection.

dataconnection -> receive -> xml -> updateitem.xml

But what is the next step?

Sorry, I´m still a newbie in InfoPath...

I have to change something at the submitbutton I guess, isnt it?

0
 

Author Comment

by:pa_gmbh
ID: 35149502
I have the power...

thanks for your help.
0
 

Author Closing Comment

by:pa_gmbh
ID: 35199046
there was no example or a link to a example.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Before you can digitally sign infopath forms, you must have a digital certificate. Microsoft Certificate Services will need to be enabled on a Windows Server 2008 to facilitate the creation and verification of the digital certifciates on the web ser…
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month12 days, 6 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question