User Guide > Managing Schemas > Creating Schemas > Creating Schema From Another Schema
Was this helpful?
Creating Schema From Another Schema
You can copy a schema from another schema file and then modify it.
To create a schema from another schema file:
1. Select a DataConnect project and do any of the following:
Go to File > New > Schema.
Click the arrow in /download/attachments/24975437/ProjectExplorer_New_Icon.png?version=1&modificationDate=1489226106512&api=v2 and then click Schema.
Right-click on the project and then click New > Schema.
The New Schema File page is displayed.
2. Select the project where you want to create the schema and in the Schema File Name field, type a name for the schema, and click Next.
The Select Schema Type and Connector page is displayed.
3. Specify the following:
Choose Schema Type - Select Source to create a schema for the source data or Target to create a schema for the target data.
Choose Connector - From the drop-down list, select a connector. Connections determine the data types that will be used in building the schema.
4. Click Next.
The Select Schema Creation Method page is displayed.
5. Select Copy Schema and click Next.
The Select Schema File page is displayed.
6. Specify the following:
Choose Schema File - Click Browse and specify the schema file (.schema) from which you want to create the new schema.
Description - Displays properties about the specified schema file such as author, version, date modified, and the description.
7. Click Next.
The Select Records page is displayed.
8. In the Add to Layout column, select the check boxes to specify the records that you want to add to the schema. You can also:
Select the Select All option to add all records to the schema.
Select the Include Children option to include the child records to the schema. If the connector of the schema (where records are being copied to) supports record hierarchy, then the Include Children is enabled and child records or fields are copied if they exist.
9. Click Finish.
A new schema file is created and it opens as a separate tab. The file extension for schema is .schema. The records you had specified to be included to the schema are displayed in the file.
For information about the Schema Editor, see Exploring Schema Editor.
Last modified date: 12/03/2024