FieldInternalName of Field DisplayName

Oct 17, 2008 at 9:47 PM
Edited Oct 19, 2008 at 10:54 AM
Hi again Rafet,

I had a little trouble with one of my colleags deleting one of the fields i used in my DCL lookup.
This resaulted in me not beeing able to access the DCL to reconfigure it to another field.

The error i received was: 
Object reference not set to an instance of an object.   at KCD.SharePoint.EditorControl.InitializeWithField(SPField field)
   at Microsoft.SharePoint.ApplicationPages.FieldCustomizationPage.OnLoad(EventArgs e)
   at Microsoft.SharePoint.ApplicationPages.FieldEditPage.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  

To be able to access the field configuration i had to readd a field with the same DisplayName as the old one.

It  looks to me as if there is an issue with FieldInternalName vs DisplayName. If i change the DisplayName of one of my souce colums, accessing the DCL-configuratin throws an error simular to the one above (when column is deleted) - could you possibly bind the FieldInternalName and not the DisplayName to the configuration?

Alexander Bautz