Overview
The system provides comprehensive event attribute management functions:
Online creation of event attributes is supported, and bulk modification of event attributes can be achieved by uploading files.
Supports direct search by attribute name and display name, or filtering by enable/disable status, data type, and reported data fields to quickly find the event attributes you need.
Supports enabling and disabling operations of selected attributes.
Event attributes with reported data can be used in analysis models and permissions, and cannot be deleted. Event attributes without reported data can be deleted directly.
Create Event Properties
Supports two ways to create event properties:
- Create Properties via Interface
- Batch upload using Excel
Create Properties via Interface
- Select sequentially Data Fusion > Metadata Management > Event Table > Common Attributes.
- Click the Create Common Attributes button in the upper right corner, then select Create Common Attributes.
- Fill in the attribute name. Required. The attribute name is the unique identifier of the attribute in the system. It cannot exceed 100 characters, must start with an English letter, and only supports uppercase and lowercase letters, numbers, and underscores. It cannot be the same as a reserved field name. Attribute names cannot be duplicated within the same table (including virtual attributes).
- Fill in the attribute display name. Required. The display name of the attribute during use. It cannot exceed 100 characters or Chinese characters, and attribute display names cannot be duplicated within the same table (including virtual attributes).
- Select data type. Only supports <String>, <Number>, <Boolean>, <Datetime>, <List> data types.
- Set whether it is a public attribute. Optional. Supports setting event common attributes as public attributes. Once set, the meta-events created later will automatically add this public attribute. Public attributes refer to attributes that all meta-events possess.
- Set associated events. Optional. Select the meta-event associated with this attribute.
- Fill in unit/format notes. Optional. Length limited to within 16 characters.
- Fill in Example/Description of properties. Optional. The length is limited to 200 characters.
- Click Submit button.
Can also click + add preset properties button to add a property from an existing preset property, the attribute names and data types of preset attributes cannot be modified.
When creating a property, which fields are supported, as well as required fields, are controlled by the field display configuration, as described in detail 字段显示配置.
Upload in bulk using Excel
- Select in turn Data Fusion > Metadata Management > Event Table > Common Attribute.
- Click on the top right corner Create common properties button, and then select upload in bulk using Excel.
- 点击 Common Properties Create templates in batches button to download Excel template.
- Enter event attributes in the 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 enable field, required field is field display configuration will be configured required field, if you need to modify, please go to the system to modify the item 字段显示配置.
Manage properties of events
On the common attributes list page, you can search, filter, sort, view, edit, delete, enable/disable, and batch modify the created common attributes.
Property list page
Search, filter, and sort attributes.
Property detail page
Click in the properties list attribute name Or view the button in the action column to view property details.
Edit property
Click in the action column in the properties list edit button, you can edit properties. Attribute names and data types cannot be edited.
Modify properties in batches
- In the property list, search for and filter the attributes to be modified.
- Select Batch modification > Download all properties/Download filtered properties and download the properties to an Excel file.
- Make changes in the Excel file. Support modify Attribute display name, Unit/Format Remarks, Example/Description of properties three fields.
- select Select Batch modification > Upload file.
- Click Upload file buttonto upload Excel file.
- Click Ensure modify button.
Export event property
Click on the top right corner of the properties list Export button, select Export all properties or Export the current filter properties, you can export the properties to an Excel file.
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 Enable item is the same as mandatory item . Otherwise, batch creation may fail.
Enable/Disable property
Click in the action column in the properties list more > disable/enable button, you can disable or enable the 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 in the action column in the properties listdelete button, the property can be deleted. The data import attribute cannot be deleted, and the delete button is disabled.
Permission
Having view event table permissions, you can view the common event properties.
Having manage event table permissions, you can manage the common attributes of events.