Posts Tagged ‘WSS’

Renaming Title Column

March 26, 2009

In SharePoint, you can rename the “Title” column to something else, but now if you try to revert back to “Title” then you are not allowed. You would get following message:

“The column name that you entered is already in use or reserved. Choose another name.”

Does this make sense? In my opinion, if SharePoint uses “Title” as a reserved word then it should restrict people from changing the name of the column from “Title”. So, I consider this as a bug.

So, what is the solution?

If you notice, the restriction is coming from a client side script. So, I assume there is no restriction if you want to do this programmatically. However, I have not tried it 🙂

I wanted a faster solution. So, here’s what I did:

  1. Edited the file (<Drive>\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\FldEdit.aspx) after keeping a backup. Added “return false;” as line no. 1449
  2. Replace the original file with the file attched.
  3. Perform the field name correction.
  4. Test that everything is OK.
  5. Replace the changed file with the original one.

Happy SharePoint-ing!!!

Advertisements