Red Hat Training

A Red Hat training course is available for Red Hat JBoss Data Virtualization

13.4. Save Copy of Model

The Save As... action performs a similar function as the Refactor > Rename action except the renamed model is a structural copy of the original model.

Note

Each model object maintains its own unique ID, so copying a model will result in a exact structural copy of your original model but with regenerated unique object IDs. Be aware that locating and copying your models via your local file system may result in runtime errors within Teiid Designer. Each model is expected to be unique and duplicate models are not permitted.
To create a duplicate model using Save As...:
  1. Open the model you wish to copy in a Model Editor by double-clicking the model in Model Explorer view or right-click and click Open action.
  2. Select the editor tab for the model you opened.
    Select Editor Tab

    Figure 13.4. Select Editor Tab

  3. Click File > Save As... action to open the Save Model As dialog.
    Save Model As Dialog

    Figure 13.5. Save Model As Dialog

  4. Enter a unique model name in the new model name text field and click OK.
  5. If dependent models are detected, the Save Model As - Import References dialog is presented to give you the opportunity to change any of the dependent models imports to reference the new model or not.
    Save Model As Dialog

    Figure 13.6. Save Model As Dialog