.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

SharePoint User tracking and PeoplePicker binding to SharePoint 2010 List

Posted By:      Posted Date: October 19, 2010    Points: 0   Category :SharePoint


First, apologies as I'm not sure if this is best forum for these questions. I'm pretty new to both SharePoint and Infopath, but am now having to learn both ASAP.
The enviroment is Windows Server 2008 Standard SP2, SharePoint 2010 Foundation, SharePoint Designer 2010, InfoPath 2010 (but targeting InfoPath 2007 client as this is what is rolled out in the company) and VS 2010.

My first question has to do with how the PeoplePicker control interacts with a User field (Person or Group column) in a SharePoint 2010 list; I don't quite get how to bind the control to the field (which I move into MainDataSource after retrieving the list item in XML via OWSSVR web service). If I create the 2 groups and 3 fields manually (or programtically) in the MainDataSource, how do I populate them from the XML data and which are the bits that need to be written back when I update?

Next question: what is the easiest way to lookup extended information about a named user, e.g., to make sure that the person being selected for a field is a member of group ZYXXY. Remember I'm using InfoPath 2007 client.

My last question is a bit more general with respect to how/where SharePoint caches User information. The company keeps AD updated for current employees and other users, but obviously there is turnover and policy is to remove them. What happens to list ite

View Complete Post

More Related Resource Links

SharePoint 2010 email enabled list with workflow has incorrect User ID when items are emailed to the

I have set up an approval workflow for a document library that has email enabled. Emails come into the document library fine, however, if an item is emailed to the library the workflow kicks off with the initiator as "System Account" rather than the person who submitted the email. This makes the error of "The e-mail message cannot be sent. Make sure the e-mail has a valid recipient." come up. If someone submits a document directly to the library (by logging into sharepoint and submitting) everything works fine. The person submitting by email is a valid sharepoint user and the profile shows the correct email address. The Created by and Modified by fields show the correct person (rather than System Account), it's only the workflow User ID that shows incorrectly if document is emailed to library. Any help or ideas would be appreciated. Thanks

sharepoint 2010 user information list custom property



i added a custom property to the user list and wish to display it. when i go to "user info list" > "list settings" > "edit view" i see 39 properties to choose from. how can i remove these default values and add my own properties to the view.




SharePoint 2010 - Column Validation (List Level) User Message Missing


I first saw this issue being discussed in January 2010 here, but there has not been any response in some time. 

What basically happens is when you set column validation for the list level (not per column) the message that alerts the user that the column does not meet the validation requirements is completely missing.   Both the default message or a custom message do not show up. 

Does anyone know if there is a hotfix for this issue yet?  I would expect more than a year later there would be one, but if so I can't seem to find it.  I would really like to correct this issue as column validation is a nice enhancement over SharePoint 2007.  Thanks in advance for any help.

Creating Sites/Lists/List Items under Current User Context in SharePoint By Using SPUserToken

Usually we do this by performing the action under RunWithElevatedPrivileges method and updating the listitem using SPListItem.SystemUpdate() method (see here). but this approach has its own flaws like (RunWithElevatedPrivileges will run under system account, we cannot use SystemUpdate for SPSite,SPWeb,SPList, since it runs under system we will "CreatedBy" by as SystemAccount).

Configuring User Profiles in SharePoint Server 2010

Note: I've added the necessary links relating to SharePoint Server 2010 prerequisites, along with instructions for configuring the user profile synchronization service, at the end of this

Unable to search Custom User Property Created in User Profiles in SharePoint 2010


Hi ,

I have created a custom user property,and created metadata property and added mapping to it, still i m not able to Search in People,Please advise

Developer Training: User Interfaces and Lists in SharePoint 2010

Learn about the new user experience in SharePoint 2010 and how you can use the new UI in your customizations. This training module also discusses improvements in list handling, including list relationships and new form-rending options.

Quick Note: Create Custom List Definitions in SharePoint 2010

In this exercise, you create a custom list definition in Microsoft SharePoint 2010 and then create an event receiver that is triggered when the list is used.

Quick Note: Working with the SharePoint 2010 Ribbon User Interface

Learn to extend the Microsoft SharePoint 2010 ribbon by adding a custom button that executes server-side code.

Video: Developing with the New User Interface Features in SharePoint 2010

This SharePoint Conference video shows how to customize the Ribbon without taking your users out of the look and feel of Microsoft SharePoint 2010. (Length: 01:02:38)

Creating Tracking Applications in Microsoft Office 2010 and Publishing Them to Microsoft SharePoint

Resources to help you develop manageable solutions for your organization to create, share, and collaborate on team databases; be more productive with Microsoft Access 2010 developer enhancements, and get started faster with one-click community templates.

Video: The SharePoint 2010 Fluent User Interface

Learn how your applications can extend the ribbon interface, which is now integrated into the SharePoint 2010 user experience, to include new menu items and options both on a global level and based on the context of the user. (Length: 9:04)

Video: List Relationships and Joins in SharePoint 2010

The SharePoint lookup field allows you to connect an identifier of one list and to display a different, friendlier field - such as name - for users to select. SharePoint 2010 adds the ability to create additional columns that display other fields from another list. (Length: 10:46)

Video: Large List Support in SharePoint 2010

SharePoint 2010 has support for very large lists of up to 50 million items. With this expanded list size comes the ability to throttle and control how much data is returned to the user and prevent large queries from compromising the SharePoint farm. (Length: 15:36)

Video: Field and List Item Validation in SharePoint 2010

SharePoint supports the ability to create Excel-like field validation formulas to validate field data in a list, which greatly reduces the amount of custom code that a developer must create and deploy. (Length: 1:44)

Video: Accessing SharePoint 2010 List Data

In this video you will learn how to create strongly typed classes using a tool called SPMetal to do LINQ programming against a SharePoint 2010 list. (Length: 15:22)

Video: Enhancing the SharePoint 2010 Search User Interface

SharePoint has opened the search UI so that you are now able to extend the out-of-the-box search Web parts. Search also provides many places for you to create custom code to produce a rich search experience for your users. (Length: 2:04)
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend