Posts Tagged ‘Custom Entity’

The Problem
Recently I had to use a Guid as a required field of a custom entity (it’s a tracking id). Initially the records were created using an external web service, so I had no issues on populating this field. i.e. when creating a new record, I simply use Guid.NewGuid() C# method to generate a new Guid. However, later there was a new requirement that the users should be able to create new records using the CRM web interface. At that time we had a small issue as the users had to enter a Guid in order to successfully create a record on CRM.

Well there are few tools out there to generate Guids, but for regular users it’s not going to be the happiest thing in the world to generate a Guid and enter that on the CRM web form!