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...:
- 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.
- Select the editor tab for the model you opened.
Figure 13.4. Select Editor Tab
- Click File > Save As... action to open the Save Model As dialog.
Figure 13.5. Save Model As Dialog
- Enter a unique model name in the new model name text field and click OK.
- 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.
Figure 13.6. Save Model As Dialog