Question

anilreddyindia on Thu, 27 Dec 2012 07:07:40


Hi Friends,

Greetings !!

I hope, i can get a better solution here for my requirement.

I'm creating a project in infopath and SharePoint.

My requirement is like this, Looking up values from the SharePoint list to the infopath form.

So for that i created a data connection and added a repeating table.

In future i have to edit the values in infopath forms.

It should change  the original values  which is in SharePoint list.

Requesting some one can help me to get rid out of it with full details and steps

Many thanks in advance

Regards

Anil


Sponsored



Replies

Hemendra Agrawal on Thu, 27 Dec 2012 07:36:09


Hi,

You need to write code to update data from infopath form to list. Here is few steps which can help you to do this:

1. Show data in repeating table and allow user to edit field if check box is selected (you need to add one check box field in repeating table for edit). OR else you can read all the repeating table rows and update data in list.

2.  Then write code and get all the selected checkbox values like:

if (chkbox  == true)
{
//here you can write the code to update data in list as mention in below link
}

http://www.bizsupportonline.net/browserforms/update-sharepoint-list-items-object-model-infopath-browser-form.htm

Let us know if you have any doubt

anilreddyindia on Thu, 27 Dec 2012 09:39:17


hi Hemendra,

Thanks for the help.

But ,can't we achieve the functionality  with out code....i,e using any web service..

Thanks  

Anil