Product Information > JADE Error Messages and System Messages > 6000 through 6999 - JADE Compiler Errors > 6197 - Must use add method to add a value to a member-key dictionary

6197   Must use add method to add a value to a member-key dictionary

Cause

This error occurs if your application code attempts to assign a value to a member key dictionary at a specified key.

By definition, the elements of a member key dictionary are automatically keyed using one of the properties of the element, so you cannot supply an external key with the element. Instead, the add method must always be used to add elements to a member key dictionary.

Action

Change your application code to use the add method to add the element to the dictionary. If you want to use an external key to access the element, you may need to redefine the dictionary to be an external key dictionary.