Wednesday, March 31, 2010

BDC in list schema: Attention with order !

Recently was looking on a bizarre behavior in BDC fields in the list.

Situation:
The related BDC fields don't show an expecting value. Seems that a mapping between a name of BDC field and a value is corrupted.

Resolution:
I took a look at the list schema and discovered that BDC fields order in the following attributes are not identical:
SecondaryFieldBdcNames
SecondaryFieldWssNames
SecondaryFieldsWssStaticNames.

You must be sure that BDC fields order in these attributes are the same.