I am running MS CRM 4.0 Online version. I want to get the unique id for each instance of the various entities but these are not displayed or accessible in the default interface. It is acceptable to me to create a new "shadow" field that will hold the GUID for, say, a specific lead record.
Ideally, I could achieve two things.
1. This value would be set at the time the record is created
2. I could find a way to set this value for already extant contacts (accounts etc).
What options do I have and what is wrong with the code below?
// my custom field is called aginity_extractedid, where the word "aginity" is the prefix that gets
// added automatically by crm 4.0. I've tried to set the value of this field in the OnSave event. While
// I am able to access the ObjectId, per the code below, my custom field does not update
crmForm.ExtractedId = crmForm.ObjectId;