Overview
The system provides comprehensive user attribute management functions:
Function to create user attributes online, and support batch modification of user attributes by uploading files batch modification.
Supports direct search for attribute name and attribute display name, or filter by fields such as enabled/disabled status, data type, and reported data to quickly find the user attributes you need.
Supports enabling and disabling operations for selected attributes.
Only user attributes with reported data can be used in analysis models and permissions, and cannot be deleted. For user attributes without reported data, they can be directly deleted.
Create Properties
Common user attributes can be created in the following two ways:
- Create common attributes via the visual interface
- Upload in batch via Excel
Visual interface to create properties
- Select in sequence Data Fusion > Metadata Management > User Table > Common Properties.
- Click the Create Common Properties button at the top right corner, and then select Create Common Properties.
- Enter property name. Required. This is the unique identifier of the attribute in the system. The property name cannot be empty, cannot exceed 100 characters, must start with an English letter, and only supports uppercase and lowercase letters, numbers, and underscores by default. Other characters are not supported. It cannot be the same as the reserved field names. In the same table, the property name cannot be duplicated (including virtual attributes).
- Enter attribute display name. Required. It cannot be empty, cannot exceed 100 characters or Chinese characters, and the attribute display name in the same table cannot be duplicated (including virtual attributes).
- Select data type. Only support < The string String> , < Number> , < Boolean Bool> , < Datetime> , < Set List> Data type.
- Enter Unit/Format Remarks . Optional. The length is limited to 16 characters.
- Enter Attribute Example/Description . Optional. The length is limited to 16 characters.
- Click Submit button.
- When creating a property, which fields are supported, as well as required or optional fields can be modified through the Field display configuration function, see detailsField Display Settings.
- You can select the desired preset attributes to create the preset attributes. The attribute name and data type of the preset attributes cannot be modified
Upload in bulk using Excel
- Select Data Fusion > Metadata Management > User Table > General Attribute.
- Click on the top right cornerCreate common properties button, then selectUpload in bulk using Excel.
- Click Common properties Create templates in batches button to download template.
- Enter user attributes in the template format.
- Click Upload File button to upload Excel file.
- Click Ensure Create button.
- This function only supports the creation of metadata, but does not support the update of existing metadata. If you need to update metadata, use the following command Batch Modification function.
- The fields supported in the template are Field display configuration enabled field, required field Field display configuration are setrequired field. If you need to modify the field, modify the field display configuration.
Manage properties
On the common attributes list page, you can search, filter, sort, view, edit, delete, enable/disable, and batch modify the common attributes that have been created.
Property list page
Select in turn Data Fusion > Metadata Management > User Table > Common attribute can view the common attribute list of the user.Search, filter, and sort attributes.
Property detail page
Click attribute name or operation column View, can view the property details. Display the property name, property display name, data type, data source, creator, creation time and other information of the property.
Edit property
Click operation column edit, can edit properties. Attribute names and data types cannot be edited.
Properties hosted by the label module do not support editing, and the edit button is disabled.
Modify properties in batches
- Select in turn Data Fusion > Metadata Management > User Table > Common Attribute.
- Search and filter the attributes to be modified.
- Select Batch modification > Download filtered properties, or Download all properties.
- Modify in the downloaded Excel, support modify Attribute display name, Unit/Format Remarks, Example/Description of properties three fields.
- Select Batch modification > Upload Excel file.
- Click Confirm modification.
Export properties
On the Common Properties page of the user table, click Export button, can export common properties from the user table to an Excel file.
Can select Export all properties, or filter the attributes first, and thenExport the current filter properties.
If you need to export metadata from one project and import it to another project, you need to ensure that both projects are consistent Field display configuration Enable item and Required fields Otherwise, batch creation may fail.
Enable/disable properties
Click operation column More > Disable/Enable, can disable or enable a property.
After the attribute is disabled, the attribute is not displayed in the drop-down list components of applications such as virtual attribute creation, label clustering, policy analysis, and intelligent operation, and the resources previously created by referencing the attribute are unavailable.
Delete property
Click operation column More > Delete, the property can be deleted.The data import attribute cannot be deleted, and the delete button is disabled.
Permission
- Having View main table permission, can view common properties on the User table page.
- Having Manage main table permission, can manage common attributes of the user table.