Adding new fields to a managed entity
Users can add a new field to a managed entity. Multiple fields can be added one at a time.
In the source module, users first select the entity to append the field to. Note that fields will only be appended to the end of entities and fields screen must be accessed from the entity grid by selecting (View Fields) icon from the parent entity. See Properties Impacted by Schema Evolution By Source below for information on properties that will be affected by this schema change.
Additions and deletions to fields in Mainframe entities are not supported. Metadata definitions for COBOL Mainframe entities must be declared through COBOL copybooks.
View fields from entity grid
![Click to view full size access field functionality by drilling to fields from entity](../../Resources/Images/QDC_Help/Source/ui_qc_ViewFieldsEntityGrid.png)
In fields tab, select Add Fieldbutton
Adding field
![Click to view full size Add Field button is in top left of fields grid](../../Resources/Images/QDC_Help/Source/ui_qc_AddFieldButton.png)
Add Field wizard example creates a new field Name LEVEL and Data Type CHAR
![Click to view full size Add field wizard first screen requires field name and data type and displays relevant properties](../../Resources/Images/QDC_Help/Source/ui_qc_NewFieldDataTypeMap.png)
Review: For this example field Name 'LEVEL' and external Data Type 'CHAR'; the application retains the Field Name and maps to internal Data Type (over-writable via dropdown).
Review
![Click to view full size User input maps to internal name and data type displays on review step](../../Resources/Images/QDC_Help/Source/ui_qc_MapFieldToInternalDataTyper.png)
Confirm screen details the associated dataflows and user views that will be invalidated by this change if any exist.
The entity has been updated with new field metadata and is ready for ingest of those field values. The same entity and the new field can be viewed in discover now displaying the internal data type.
New “LEVEL” field displaying in source
![Click to view full size](../../Resources/Images/QDC_Help/Source/ui_qc_NewFieldSource.png)
New “LEVEL” Field displaying in discover
![Click to view full size](../../Resources/Images/QDC_Help/Source/ui_qc_NewFieldDiscover.png)
For more information, see also Schema change detection for JDBC addressed and registered entities