I am new to CRM development. I have a Custom Entity \"customer\". This Entity has a Field called \"defaultcustomer\", which can be TRUE or FALSE. I am working on a Plug-In where
The solution posted by @glosrob seems fine. Are you still getting "The given key was not present in the dictionary"?
Try to use ITracingService to get more information about the plugin execution flow.