创建文本属性 (Master Data Services)Create a Text Attribute (Master Data Services)

适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions) - 仅限 Windows 是Azure SQL 托管实例Azure SQL Managed InstanceYesAzure SQL 托管实例Azure SQL Managed Instance适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions) - Windows only 是Azure SQL 托管实例Azure SQL Managed InstanceYesAzure SQL 托管实例Azure SQL Managed Instance

Master Data ServicesMaster Data Services中,在您希望用户输入文本字符串作为属性值时创建文本属性。In Master Data ServicesMaster Data Services, create a text attribute when you want users to enter a text string as an attribute value.

先决条件Prerequisites

若要执行此过程:To perform this procedure:

属性信息Attribute Information

对于创建的每个属性,系统都会在网格中添加一行(其中包含七列)。For each created attribute, a row with seven columns is added to the grid. 下表对这些列进行了说明。The following table describes the columns.

Column 说明Description
状态Status 属性状态。The attribute status.

单击 "保存" 时,将显示 更新状态 图像的图标,指示属性正在更新。When you click Save, the Icon for updating status image displays, indicating that the attribute is updating.

如果在创建或编辑属性时出现错误,则会显示 错误状态图标图标If there are errors when creating or editing an attribute, the Icon for error status image displays.

否则,状态为 "正常",将显示 !["确定状态](../master-data-services/media/mds-statusicon-ok.png ""正常" 状态图标") " 图像的图标。Otherwise, the status is OK and the Icon for OK status image displays.
名称Name 特性名称。The attribute name.
显示名称Display Name 属性显示名称。The attribute display name.
说明Description 属性说明。The attribute description.
显示像素宽度Display Pixel Width 属性宽度。The attribute width.
类型和属性Type and Properties 属性的类型和数据类型信息。The type and data type information of the attribute.
启用更改跟踪Enable Change Tracking 指定是否启用该属性以进行更改跟踪,并在括号中显示组号。Specifies whether the attribute is enabled for change tracking and shows the group number in parentheses.

单击属性后可看到以下信息。When you click an attribute, the following information displays.

  • 创建者:创建属性的用户的用户名。Created By: The name of the user who created the attribute.

  • 创建时间:创建属性的日期和时间。On: The date and time when the attribute was created.

  • 更新者:上次更新属性的用户的用户名。Updated By: the name of the user who last updated the attribute.

  • 创建时间:上次更新属性的日期和时间。On: The date and time when the attribute was last updated.

创建文本属性To create a text attribute

  1. 主数据管理器Master Data Manager中,单击 “系统管理”In 主数据管理器Master Data Manager, click System Administration.

  2. 在“管理模型” 页上,从网格中选择一个模型,然后单击“实体” 。On the Manage Model page, select a model from the grid and then click Entities.

  3. 在“管理实体” 页上,选择要为其创建属性的实体所在的行。On the Manage Entity page, select the row for the entity that you want to create an attribute for.

  4. 单击 “属性”Click Attributes.

  5. 在“管理属性” 页上,执行下列操作之一,然后单击“添加” 。On the Manage Attributes page, do one of the following and then click Add.

    • 如果是叶成员的属性,请从“成员类型” 列表框中选择“叶” 。If the attribute is for leaf members, select Leaf from the Member Types list box.

    • 如果属性是针对合并成员,则从“成员类型” 列表框中选择“合并” 。If the attribute is for consolidated members, select Consolidated from the Member Types list box.

    • 如果属性是针对集合,则从“成员类型” 列表框中选择“集合” 。If the attribute is for collections, select Collection from the Member Types list box.

  6. “名称” 框中,键入属性的名称。In the Name box, type a name for the attribute. 有关不可用作属性名称的单词列表,请参阅保留字 (Master Data Services)For a list of words that should not be used as attribute names, see Reserved Words (Master Data Services).

  7. (可选)键入显示名称,并在“说明” 框中键入属性的说明。Optionally, type a display name, and type a description for the attribute in the Description box.

  8. “显示像素宽度” 框中,键入要在 “资源管理器” 网格中显示的属性列的宽度。In the Display pixel width box, type the width of the attribute column to be displayed in the Explorer grid.

  9. 从“属性类型”列表中,选择“自由格式”。From the Attribute type list, select Free-form.

  10. “数据类型” 列表中,选择 “文本”From the Data type list, select Text.

  11. “长度” 框中,键入允许的最大字符数。In the Length box, type the maximum number of characters allowed.

  12. 根据需要,选择 “启用更改跟踪” 可以跟踪对属性组的更改。Optionally, select Enable change tracking to track changes to groups of attributes. 有关详细信息,请参阅向更改跟踪组添加属性 (Master Data Services)For more information, see Add Attributes to a Change Tracking Group (Master Data Services).

  13. 单击“ 保存”。Click Save.

另请参阅See Also

属性 (Master Data Services) Attributes (Master Data Services)
更改属性名称和数据类型 (Master Data Services) Change an Attribute Name and Data Type (Master Data Services)
(Master Data Services 创建 Domain-Based 属性) Create a Domain-Based Attribute (Master Data Services)
创建文件属性 (Master Data Services)Create a File Attribute (Master Data Services)