/build/static/layout/Breadcrumb_cap_w.png

Asset "name" field

As I understand it, when creating custom asset types the first field in a table is automatically created and named "name". In one forum post this field is identified as a unique key. In one of the asset management videos however the "name" field is shown with several non-unique values. Also I understand that there is a record ID automatically created for each record.

Is is necessary to have or use this "name" field?

Can it be renamed?

Is it designed as a key and therefore must be unique?

0 Comments   [ + ] Show comments

Answers (3)

Posted by: GillySpy 12 years ago
7th Degree Black Belt
3
it is not unique, but you would be well advised to treat it as unique since the ID is not obvious in the UI. It is commonly flagged as unique "PK" when importing data from a csv. You can flag any field (or combination of fields) as the "PK" for a given import, but it's not relevant to database structure since IDs will keep everything unique anyway.
Posted by: cblake 12 years ago
Red Belt
1
The Name field is required in the asset type and must be called name; but can be null in the asset itself. As Gerald said, it does not have to contain unique information. You'll often hear it called the key, because it always exists. The name field is the only fixed field because we have to have something common to query to display data in other places that leverage the assets such as tickets, or other assets that have a linked asset type field.

Hope that helps.
Posted by: depoteet 12 years ago
Orange Belt
0
Thanks, I understand what's happening now.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ