.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 2010 - Column Validation (List Level) User Message Missing

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#

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.

View Complete Post

More Related Resource Links

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)

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

formula validation setting on column sharepoint 2010

Hi, Hi,  I have a two fields(mailid,cost,mailid2), i need a list validation of mailIds if already existing  mails three time I need a validation for new request , i need a formula for column in validation setting ->formula in SP2010  if mail is already existing validation  i need formula for validation setting for list it's new feature in sharepoint 2010 Regards

Create Lookup Site Column based on External List (SharePoint 2010)


I've got an External List and I want to create a Site Column, which is Lookup to a column in my external list. If I tick any of the columns in 'Add a column to show each of these additional fields' and click OK i get the following error message:

[NullReferenceException: Object reference not set to an instance of an object.]
  Microsoft.SharePoint.SPBusinessDataField.IsInDefaultView() +58
  Microsoft.SharePoint.SPBusinessDataField.CreateSpFieldForBdcType(String bdcName, Boolean hidden, Boolean readOnly, Boolean idField, SPAddFieldOptions op) +809
  Microsoft.SharePoint.SPBusinessDataField.AddNeededSecondaryFields(String wssNames, String[] oldNames, String[] newNames, SPAddFieldOptions op) +315
  Microsoft.SharePoint.SPBusinessDataField.OnAdded(SPAddFieldOptions op) +240
  Microsoft.SharePoint.SPFieldCollection.AddFieldAsXmlInternal(String schemaXml, Boolean addToDefaultView, SPAddFieldOptions op, Boolean isMigration, Boolean fResetCTCol) +759
  Microsoft.SharePoint.SPFieldCollection.Add(SPField field) +61
  Microsoft.SharePoint.ApplicationPages.FieldNewPage.Save() +513
  Microsoft.SharePoint.ApplicationPages.FieldNewPage.BtnOk_Click(Object sender, EventArgs e) +46
  System.Web.UI.WebControls.Button.OnClick(EventArgs e) +114
  System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +139

sharepoint 2010 task list added new column


Hi everyone,

I've created a task list on sharepoint 2010 by default it has set of columns i.e title, priority, status, %complete etc...... then I added a new column called 'task group' but when I put information on a newly added column and click on save, the information that I entered on the new column does not save.

Any idea???


Thanks in advance.

SharePoint User tracking and PeoplePicker binding to SharePoint 2010 List



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

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.




How to hide the list column based on user login in SharePoint 2007

Hi, I have two different SharePoint group named 'Sales' group and 'HR' group. In a SharePoint list i have 10 columns. out of it i want to display 8 column for 'Sales' group and to show all the column for 'HR' group. I want to do this base on the user login. How can i achieve this?. Am using SharePoint 2007.

How to add a auto genterated column in a sharepoint list of type number in SharePoint 2010


am try to generate a auto increment column for my SharePoint list of type number type?

=TEXT(1000+ID,0) , when i use this formula it works some time and some time it doesn`t increment?


do you know any out of box way to do this?

Thanks in Advance

Share Knowledge and Spread Love!

Creating a column in the List using SharePoint 2010


It is possible to create a column in a List in SharePoint by the following ways.

1.Creating a column directly in the server  2.Creating it by using Object Model  (While creating a list in the sharepoint, webservices for the list will create the list. In the same way upon addition of columns,fileds, updation,deletion will be handled by webservices)

Is there any other way creating column by using XML or any method which will be called to create a column in the list without calling webservices or using Object model?

Cheers! Maruthu | MCP - Microsoft Certified Technology Specialist | http://twitter.com/Marutha_Chalam

Default Value for 'Person or Group' column in a Sharepoint 2010 Custom List



In Sharepoint 2010 I have a Custom List with a column of the type 'Person or Group'.
I would like to have a default name for this 'Person or group' column.
So when a user creates a new list entry and leves the 'Person or Group' column value blank the list entry should be created with the default value für the 'Person or Group' column.

Is there a way to schieve this?

Many thanks in advance.

Roberto Rocco.



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).

Content Query Web Part missing in SharePoint 2010

If you don't see content query web part listed in the web parts list, this is because you have not enabled "Search Server Web Parts" feature in site collection features. Enable this feature and content query web part will show in the list of web parts.

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

Sharepoint list group by column data ,display in webcontrol like panel or label


I  have a sharepoint list[Managers] with groupby sector column. like below




Each Sector group by column data i want to display in label or panel control.

How to do that ? how to write the logic?



Regards, Mansoor

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.
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