03-13-2008 08:06 AM
03-17-2008 02:55 PM
Hey Jeremy,
I was able to recreate this during my testing.
It appears that when the original FieldDescriptor used to create the custom field goes ‘out of scope’ the GUID.ID also changes.
However retrieving the GUID using:
FieldDescriptorCollection fdc = ActFwk.Fields.GetFields(RecordType.Contact);
FieldDescriptor fd1 = fdc.Find("CustomEmail");
MessageBox.Show("CustomEmail GUID ID: " + fd1.ID.ToString());
Consistantly returns the same GUID - for email fields or otherwise.
It is curious that this happens with email fields but if I was forced to take I guess I would say that this is due to the special behavior of email fields within the program.
Just to make sure, I’ll be sure to report this for further review and see what fixes can be made if necessary or if this is functioning as designed, due to the special nature of an email field.