Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

Fetch a column value from list 2 on the basis of list 1

$
0
0

Hi,

I have a listA of user data in which the columns are:

UserID   Name    Email

E01        Ali        ali@yahoo.com

E02        John     john@yahoo.com

In another listB there are multiple columns but one column is same that is "Name" and another column like UserID.

So on the basis of Name if the name is available in ListA then get UserID of that particular name and show in listB UserID column.

In both lists user detail is coming from active directory.

Using List web service I fetched details in the form to show in listB UserID.

I tried to matched the Name column of ListA with ListB all occurances then I got nothing but when matched the Name column of ListA with ListB any occunces then every time got E01 if I search Ali or John.

I know a little tuning is required but lost so much time and couldn't figured it out.

Please guide me using the same technique as most of the work has been done.

If any other simple idea is available then that also would be appreciated.

One more thing that I used a people picker to populate user detail in ListB. So when I search user details all the fields gets populated and the ListB UserId field should also populate.

Thanks in Advance

Ziauddin



Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>