Data Modeling and Management I Flashcards
Which kind of relationship would be appropriate for a data model in which a record of an object can be related to multiple records of another object and vice-versa?
Many-to-many relationship
What kind of object should be used by a company to store data related to real estate properties?
Custom object
Which feature can be used for an overview of the data model of a custom application in Salesforce?
Schema Builder
Can a text field be converted to a picklist?
Yes, if a text field is converted to a standard picklist, values from the text field will be populated into picklist values and data is retained.
Can relationship types be changed?
Yes, a master-detail relationship field can be converted to a lookup relationship field and vice versa, but the lookup field must have values in all the records.
What custom field types cannot be converted?(to or from)
Encrypted fields and formula fields cannot be converted to or from.
What is the difference between a lookup and master-detail relationship?
Both allow one object to be related to another in a one-to-many relationship, but in a master-detail relationship, the detail record wouldn’t exist without the master. Usually when the master is deleted, the detail records are deleted.
How is a many-to-many relationship created?
Using a junction object. This object sits between the two objects in the many-to-many relationship and has two master-detail fields, one for each of the objects to be related.
Which relationship can be used on the User object to associate one user with another?
Hierarchical relationship
What is an auto number field?
It is a read-only field that includes a specified prefix or suffix and a unique incremented number.
What are the different types of Text fields?
Text (up to 255), Text Area (up to 255 chars on separate lines), Text Area (Long) (up to 131,072 chars, Text Area (Rich) (up to 131,072 can contain rich formatting), Text (Encrypted)
What are the different types of picklists?
Standard, multi-select, and dependent. Note that picklists can be defined globally (global picklist) or at the object level (local picklist).
How does a Text (Encrypted) field work?
Up to 175 chars can be encrypted, but they are displayed as masked if a user doesn’t have the required system permission to view.
How does a Text (Encrypted) field work?
Up to 175 chars can be encrypted, but they are displayed as masked if a user doesn’t have the required system permission to view.
What is an external ID
An external ID is a field that contains a unique identifier from a system outside of Salesforce.