Search code examples
dynamics-crmdynamics-crm-4

Microsoft CRM 4.0 and magic strings


Is there a method/tool/technique for developing with Microsoft CRM 4.0 that keeps the developer from having to use strings for entity names and attributes?


Solution

  • We've built our own model classes and store entity names, attribute names, and picklist values there. It's just a bunch of enums and constant strings, but at least it's using a centralized constant so we can know when something breaks.