Prev Next

GetDefaultFieldMapping

Return a list of how the External Item fields/properties map to the Enterprise Architect element fields/properties/Tagged Values

Inputs

Parameter

Details

parameters

  • C++: const char*
  • C#: string

A JSON string of parameters. Reserved for future use.

Outputs via Callbacks

AddProperty - 2-3 values per field to map. Use a unique index value for each mapping:

  • AddProperty(index, "externalField", "name");
  • AddProperty(index, "internalField", "name");
  • [Optional] AddProperty(index, "taggedValue", "My External Name");

[Optional] LogMessage or SetError - to provide user feedback.

Details

The values returned by this method are used to populate the Field Mapping in External Data Configuration.

It defines the default values for how an External Item's fields/properties map to an Enterprise Architect element fields/properties/Tagged Values when linking an External Item.

  • AddProperty(index, "externalField", "modifiedDate");
  • AddProperty(index, "internalField", "Tagged Value");
  • AddProperty(index, "taggedValue", "Modified Date");