I create external list for display external items from my wcf service and add custom action on that list EditForm through ClientObjectModel with this url:


And add it on edit form.

But when i click on created button i recieve in my service non item ID field(that was defined as entity identifier in sharepoint designer), but i recieve "BDC Identity" value for item. Are there ways to retrieve my original Id field by "BDC Identity" or something else?

2 Answers 2


I think it's a bad way. I decide to use Javascript object model.

string bdcIdentity = "__bg40003300";
int id = Convert.ToInt32((EntityInstanceIdEncoder.DecodeEntityInstanceId(bdcIdentity)[0]));

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.