I used SharePoint 2010's BCS to create an external content type. I added a list column of the type "External Data" to a custom list.
1. When I add an Item through the SharePoint interface, the external data field is displayed correctly in the view.
2. I add the item using the following code:
SPListItem newItem = customList.Items.Add();
] = "Test"
] = "1111"
Now, When i go to the list, i can see the new item, but the External Data Column is empty in the view.
When I use the ECB action "View Item", i can see that the primary key of my external data type item was saved.
When I use the ECB action "Edit Item", the external data column field is empty.
When I compare the item I added with the one I added through code in the VS2010 debugger, they hold exactly the same value ("1111" in example above).
Any advice would be greatly appreciated.
View Complete Post