From SharePoint Creat field UI, How to provide InterName for the field?

A friend/colleague asked me this question. In the create field UI of SharePoint there is no Internal field input. How to assign internal field name?

So here is the trick.

1. First create the field as you want for your internal name e.g. “Gender”
2. Once field is created edit the field and change the name back to what you want user to see e.g “What is your Gender?”.

In summary never create the field name as “What is your Gender?” This will create a nasty internal name with escape characters.

Some additional behind the scene workings of the create field UI. When you first time create a new field SharePoint assigns the InternalName and DisplayName as whatever you types. In this case “Gender”. Later you go and edit this field SharePoint only edits the DisplayName and InternalName remains the same.

About Pankaj

I am a Developer and my linked profile is https://www.linkedin.com/in/pankajsurti/
This entry was posted in MOSS 2007, SharePoint 2010, Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s