SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 0 down vote accepted

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

share|improve this answer
string bdcIdentity = "__bg40003300";
int id = Convert.ToInt32((EntityInstanceIdEncoder.DecodeEntityInstanceId(bdcIdentity)[0]));
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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