What is an Attribute?

Attributes define the characteristics of a Domain. A Domain must have Attributes for data to be generated. Without Attributes, no data is tied to the Domain. 

If we are modeling data for a database with a User Table, the User table will be a Domain, and each column within the table will be an Attribute. For example, a User Domain might include these Attributes :
  • id
  • firstName
  • lastName
  • emailAddress
  • username


Each attribute will have its own unique data, as shown below in the Preview pane:


Note: When a Domain is created or imported, it will automatically have an id Attribute, which generates a unique id for each test data record.


In This Article


Video Training

For a quick video tutorial, please take a second to watch the video provided below:

 

When should Attributes be used?

  • Any time a user needs to generate test data for a data model.


How to Select and View Attributes

Attributes can be viewed through the Domain Dashboard. If a Domain has more than 15 Attributes, it will be grouped into subsets of 15 Attributes. 





Alternatively, users can click on the Browse and Manage Attributes (Gear) icon to view all Attributes within a Domain.



Note; Attribute information (e.g., parameters, generators) is displayed within the Attribute Dashboard.


How are Attributes added to a Domain?

Attributes are created in one of two ways: 

  1. Automatically when the Data Model is imported (e.g., XTS Wizard, JSON, DDL, XSD, CSV)
  2. Manually for a selected Domain.


What is a Primary Key Attribute? 

Each Attribute within a Domain has a Primary Parameter, which defines the Primary Attribute for referential integrity. When enabled for an Attribute, a Key icon will appear to the left of the Attribute name within the Domain Dashboard. 


Click on the checkbox for the Primary Parameter to set an Attribute as the Primary Attribute. When importing, an Attribute may be set as the Primary Attribute automatically.


Learn More About Attributes

The topics below can be used to learn more about Attributes: 


TopicDescription
Attribute DashboardLearn more about the Attribute Dashboard.
How do I add an Attribute to a Domain?Learn more about adding Attributes to Domains.
Database Changes: How to add new Table Columns to a Domain
Learn how to quickly add new table columns to an existing Domain as Attributes when the database schema has changed. 
When can an Attribute not reference another Attribute?Learn more about when Attributes can and can not reference each other. 
How do I reference one Attribute to Another?Learn more about how to reference one Attribute to another Attribute.
How do I modify multiple Attributes at a time?Learn more about using Group Edit to modify multiple Attributes at one time.
How to copy an Attribute to another Project Version or DomainLearn more about copying Attributes to another Project Version or Domain.