Creating Data Structure Definitions from Existing Data Elements
You can create a data structure definition from an existing data element and add it to an existing model project.
To create a data structure definition from an existing data element:
-
From an editor data tree area, select a data element.
See "Design Studio Common Editor Tabs" for more information about editor data tree areas.
-
Right-click and select Refactoring, and then select Create Data Structure Definition.
The Data Structure Definition wizard appears.
-
Select the model project where you want to add the data structure definition.
-
(Optional) Click the Extends field Select button.
In the Matching items area, select a data structure definition that you want the new data structure definition to extend, or click New to create a new data structure definition that you want this data structure definition to extend.
-
In the Name field, enter a name for the data structure definition.
The name must be unique among data structure definition entities.
-
(Optional) Select a location for the data structure definition.
By default, Design Studio saves the data structure definition entity to the root level of the project folder. You can enter a folder name in the Folder field or select a location different from the default if you want to create additional subfolders. To select a different location:
-
Click the Folder field Browse button.
-
Navigate to the directory in which to save the entity.
-
Click OK.
-
-
Click Finish.
The new data structure definition entity appears under the model project in the Studio view.