User Guide : Managing Schemas : Creating Schemas : Creating Schema From Another Schema
 
Share this page                  
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. Make sure the DataConnect Perspective is selected.
2. 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.
 
If v9 compatibility mode is enabled, then when you select any of the preceding option, the Select a Schema Type window is displayed. Select Structured Schema and click Next.
3. 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.
4. 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.
5. Click Next.
The Select Schema Creation Method page is displayed.
6. Select Copy Schema and click Next.
The Select Schema File page is displayed.
7. 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.
8. Click Next.
The Select Records page is displayed.
9. 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.
10. 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.