Designing Subjects
A business subject is a hierarchical architecture that classifies and defines data to help clarify data assets and specify relationships between business domains and business objects.
You can design subjects in either of the following ways:
- Creating a Subject
Manually create a subject.
- Importing a Subject
If the subject information is complex, you are advised to import subjects in batches.
- You can download the provided subject design template, set the parameters, and use the template to import subjects in batches.
- You can export the subjects created in Data Design of a DGC instance to Excel files. Then, import the Excel files. For details on how to export subjects, see Exporting a Subject.
After creating a subject, you can search for, edit, or delete it. For details, see Managing a Subject.
Creating a Subject
- Log in to the DGC console, select a DGC instance, and click Access.
On the displayed page, click the Workspaces tab. In the workspace list, locate the required workspace.
- Click Data Design of the corresponding workspace to access the Data Design console.
- Click Subjects from the left navigation bar. On the displayed page, click Create in the upper left corner. Figure 1 Designing a subject
- In the displayed dialog box, set the parameters described in the table below and click OK. You can create multiple sub-subjects under a subject. The number of subject levels is defined by users in the configuration center. For details, see Suject Levels. By default, there are three levels in the system, which are named Subject Area Group (L1), Subject Area (L2), and Business Object (L3) from top to bottom.
Table 1 Parameters Parameter
Description
Name
The following characters are not allowed: / \ < >.
Code
The code of the subject area group to be created. The code can include letters, numbers, spaces, colons (:), underscores (_), hyphens (-), parentheses, slashes (/), and ampersands (&) and cannot start with a space, <, >, or /.
Alias
The following characters are not allowed: \ < >.
NOTE:Before configuring an alias, go to the Configuration Center > Model Settings, and set Use Alias to Subjects.
Subject
Select a created subject.
Data Owner's Department
The department the data owner belongs to.
Data Owner
Select a data owner from the drop-down list. You can select multiple data owners or enter custom data owners.
Description
A description of the subject area group to be created.
Importing a Subject
- On the Data Design console, choose Subjects from the left navigation bar.
- Click Import in the upper left corner. The Import Subject dialog box is displayed.
- In the Import Subject dialog box, set the parameters as prompt, and click Upload and Verify.
Table 2 Parameters for importing subjects Parameter
Description
Update Existing Data
Whether to update existing subject information (subject area group, subject area, or business object) during the import. When a subject is imported, the system checks whether the subject exists according to its code.
- No: If you select this option, the subject information will not be updated.
- Yes: If you select this option, the subject information will be updated.
During the import, only subject creation and update are allowed.
Upload File
Select the file you want to import.
You can use either of the following methods to obtain the file to be imported:
- Downloading the subject import template and fill in it
In the Import Subject dialog box, click Subject Template to download the template, set parameters in the template as required, and save the settings. Refer to Table 3 for template parameter details.
- Exporting subjects to files
You can export the subjects created in Data Design of a DGC instance to Excel files in advance. Then, import the Excel files. See Exporting a Subject for details.
Table 3 describes the parameters required for importing a subject. Parameters whose names start with * are mandatory, and those that do not start with * are optional. You need to enter a line of information for a subject.
Table 3 Parameters Parameter
Description
Subject
Encoding path of the upper-level subject, which is separated by slashes (/).
*Name
The following characters are not allowed: / \ < >.
*Code
Code of the subject area group to be created. The code can include letters, numbers, spaces, colons (:), underscores (_), hyphens (-), parentheses, slashes (/), and ampersands (&) and cannot start with a space, <, >, or /.
Alias
Alias of a subject object.
Description
A description of the subject to be created.
Data Owner's Department
The department the data owner belongs to.
Data Owner
The owner of the data. Multiple owners are supported. Separate owner names with commas (,)
- You can view the import result on the Last Import tab page. If the import is successful, click Close. If the import fails, you can view the failure cause, correct the template file, and upload it again. Figure 2 Last Import tab page
Exporting a Subject
- On the DGC Data Design console, choose Subjects from the left navigation bar.
- Click Export in the upper left corner to export the existing subject information to Excel files. Then, import the Excel files.
A subjector process has a hierarchy. You can export only data of all levels.
Managing a Subject
- Search
You can enter a keyword in the search box of Subject, and search for your target.
- Edit
You can select a target from the subject list, and then click
to the right of the target to edit it. - Delete
You can select one or more targets from the subject list and click Delete above the list to delete the selected subjects.
- Move Up/Down
You can select a target from the subject list and then click
to the right of the target to adjust its ranking sequence.
Last Article: Designing Processes
Next Article: Managing Lookup Tables
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.