Designing Subjects
A subject is a hierarchical architecture that classifies and defines data to help clarify data assets and specify relationships between subject areas 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, fill in the content, and upload the file to import the subjects in batches.
- You can export the subjects created in DataArts Architecture of a DataArts Studio instance to an Excel file. Then, import the Excel file. 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.
Subject Design Overview
- Subject Area Group: used to group business domains based on scenarios
- Subject Area: A data domain is a dataset, in which data is of the same property.
- Business Object includes important information about people, events, and things that are indispensable to enterprise operations and management.
You can also customize the subject levels by referring to Subjects.
Creating a Subject
- On the DataArts Studio console, locate an instance and click Access. On the displayed page, locate a workspace and click DataArts Architecture.
Figure 1 DataArts Architecture
- On the DataArts Architecture page, choose Create in the upper left corner.
Figure 2 Designing a subject
in the left navigation bar. On the page displayed, click
- In the dialog box displayed, set the parameters and click OK.
Table 1 Parameters for creating a subject area group Parameter
Description
* Subject Name
The following characters are not allowed: / \ < >.
* Subject Code
The code of the subject area group to create. Only letters, digits, spaces, underscores (_), hyphens (-), parentheses, and ampersands (&) are allowed.
Alias
The following characters are not allowed: \ < >.
NOTE:Before configuring an alias, choose
, click the Model Settings tab, and select Subjects for Use Alias.* Parent Subject
Parent subject of the subject area group
Data Owner's Department
The department that the data owner belongs to.
* Data Owner
Select a data owner from the drop-down list box. You can select multiple data owners or enter custom data owners.
Description
A description of the subject area group to create.
Figure 3 Create Subject Area Group dialog box - You can create multiple subjects in a subject.
The number of subject levels is defined by users on the Subject Levels tab page on the Configuration Center page. By default, there are three levels in the system, Subject Area Group (L1), Subject Area (L2), and Business Object (L3).
Importing a Subject
- On the DataArts Architecture page, choose in the left navigation pane.
- Click Import in the upper left corner.
Figure 4 Importing a subject
- In the dialog box displayed, set Update Existing Data, click Select File, and click Upload.
Figure 5 Importing a subject
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 to import.
You can use either of the following methods to obtain the file to import:
- Downloading the subject import template and fill in it
In the Import Subject dialog box, click Subject Template to download the template, fill in the content, and save the settings. See Table 3 for template parameter details.
- Exporting subjects to files
You can export the subjects created in DataArts Architecture of a DataArts Studio instance to an Excel file. Then, import the Excel file. See Exporting a Subject for details.
Table 3 describes the parameters in the downloaded template. Parameters whose names start with an asterisk (*) are mandatory, and other parameters are optional. Enter the information about a subject in a line.
Table 3 Parameters Parameter
Description
Parent 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 to create. Only letters, digits, spaces, underscores (_), hyphens (-), parentheses, and ampersands (&) are allowed.
Alias
Alias of the subject.
Description
A description of the subject.
This parameter is mandatory for the lowest-level subject. You must add the description of the lowest-level subject in the file to be imported.
Data Owner's Department
The department that the data owner belongs to.
This parameter is mandatory for the lowest-level subject. You must add the department of the owner of the lowest-level subject in the file to be imported.
Data Owner
The owner of the data. Multiple owners are supported. Separate owner names with commas (,)
- 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 6 Last Import tab page
Exporting a Subject
- On the DataArts Architecture page, choose in the left navigation pane.
- Click Export in the upper left corner to export the existing subject information to an Excel file. Then, import the Excel file.
A subject or process has a hierarchy. You can export only data of all levels.
Managing a Subject
![](https://support.huaweicloud.com/eu/usermanual-dataartsstudio/en-us_image_0257752047.png)
- Search
You can enter a keyword in the search box to search for a topic.
- Edit
Locate a subject in the list and click
in the Operation column to edit the subject.
- Delete
Select a subject in the list and click Delete above the list.
- Move Up/Down
Locate a subject in the list and click
or
in the Operation column to move down or up the subject.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.