Home > SharePoint, SharePoint 2010, SP2010 > Why can’t I access the column in my SharePoint list programatically?

Why can’t I access the column in my SharePoint list programatically?

The answer might be simple. The first time a column is created and you title it “Column1″ the database records that. If you (or someone else) later changes the column title to “Column2″ your application will break. Why? Because behind the scenes that column is still “Column1″

About these ads
  1. alesissi
    October 26, 2012 at 21:43 | #1

    SP consider “internal name” and “name” of a column in a different way.
    The internal name cannot be changed by the user interface, while the name can.
    You should always use the “GetFieldByInternalName” method.
    Cheers

  1. November 19, 2012 at 13:59 | #1

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 )

Twitter picture

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

Facebook photo

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

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 236 other followers

%d bloggers like this: