Write to Model options
The Write to Model options allow you to create a new model or select an existing model to update. Other options on this page allow you to clear an existing model, remove orphaned entities, and index fields.
- Model
- Specifies the Context Graph model to which to load data. To create a new model enter the name for the model. To update an existing model, click to select the model name from the drop-down list.
- Write mode
- Specifies whether this is an initial load, exclusive lock, or concurrent lock.
- Clear model
- Check this check box to remove all existing entities and relationships before processing new data. Uncheck this option to update existing entities and relationships with any new information.
- Remove orphaned entities
- Check this check box to remove entities from the model that have no relationships upon completing the Write to Model operation.
- Entity types
- This panel provides a palette of entity types. For a new model, the panel only shows the New Entity Type. For an existing model, the panel also shows entity types from the model metadata. Drag a New Entity Type onto the canvas to define a new entity type or drag an existing entity type onto the canvas to map its properties to input fields.
- Indexes
- The Indexes button is available after you define at least one entity with at least one property. Click this button to expand the Indexes panel to index fields. For more information about options on the Indexes panel, see Indexes.
- Show schema
- This Yes/No toggle switch displays the schema for an existing model. The schema provides a guide to add entities and relationships to the Write to Model stage. The toggle switch appears only after you select an existing model in the Model box. By default, it is set to No. If you click to toggle this switch to Yes, the schema for the selected model appears as dimmed entities and relationships on the canvas. You can then click dimmed entities to configure and add them to the stage. Entities appear undimmed after they are configured. Relationships between entities can be configured in the same manner after you configure both the source and the target entity for any relationship.