Dataverse Flashcards
Types of entity owners
1) User or Team owned
2) Organization owned
Import Data
- can import from Microsoft Excel or CSV files
- Every entity has required fields that must exist in your input file
- When you add data to a template file, you must make sure the data is unique.
- You can use either
1) primary keys or
2) alternate keys. - Get Data
- you cannot set a lookup value when importing data from Excel, this must be done from Power Apps.
Export Data
If you export data from more than one entity, each entity is exported into its own Microsoft CSV file
Deletion of Standard field / Standard Entity?
You can add any combination of fields to a custom or standard entity to meet your needs, but you can’t delete a standard field from a standard entity.
Field Types
Text 1)Text 2) Text Area - more than 4000 chars then use Multiline Text 3) Autonumber 4)Email 5) URL 6) Ticker Symbol 7) Phone Whole Number 8) Whole Number 9) Duration 10) Timezone 11) Language Date Time 12) Date and Time 13) Date Only
12) Currency
13) Decimal Number - upto 10 points of precision
14) Floating Point Number - upto 5 points of precision
15) Image - EntityImage field name
16) Multi Select Option Set / Choices
17) Option Set / Choice
18) Two Options / Yes/No
19) Customer
20) Multiline Text - max 1,048,576
21) Lookup
22) File
Decimal or Floating
1) Decimal stores exactly as specified whereas Floating point numbers store an extremely close approximation of the value.
2) Different system performance therefore close approximation instead of exact value.
3) Decimals -
a) when you need to provide reports that require very accurate calculations
b) use queries that look for values that are eq or ne to another value.
4) Floating -
a) to store data that represents fractions or values
b) query comparing to another value using greater than or less than operators.
Currency Columns
1) When you add currency to a table that has no currency columns, two additional columns are added.
a) Currency - Lookup column - set to any active currency configured for your organization.
(Settings->Business Management-> Currencies)
Individuals can also change their personal options to select a default currency for the rows they create.
b) Exchange Rate - decimal column - provides the exchange rate for the selected currency associated with the table with respect to base currency. If added to the form, can see the value but can’t edit it .
2) For each currency column, another currency column is added with suffix _Base on the name. - stores the value of the currency column you added calculated in the base currency. Cant be edited if added to the form.
Precision value for currency column
1) Pricing Decimal Precision - organization precision in Settings-> Administration -> System Settings -> General Tab
2) Currency Precision - applies the precision defined for the currency in the row.
3) Specific precision values - allow for defining a specific set precision using values between 0 and 4.
Types of lookup
1) Simple - single reference to a specific table.
2) Customer - allows for single reference to either an account or contact row.
3) Owner - Allows for a single reference to either a team or user row.
4) PartyList - Allows multiple references to multiple tables.eg Email table To and Cc columns. or in Phone and Appointment Tables.
5) Regarding - Allows for single reference to multiple tables. Regarding column in Activities.
Image Columns
1) Only one per entity
2) Can add to custom table but not on standard table.
3) To display that image in model-driven app, you need to enable 2 settings.
a) Standard table definition Primary Image property value must be set to Default Image.
b)The table form where the image is to be displayed must have the Show image in the form property enabled.
3) Images must be less than 10 MB
4) formats -
jpg
jpeg
gif
tif
tiff
bmp
png
144 pixels by 144 pixels
Primary Name
- always created by CDS when a new custom entity is created.
- can only have 1 per entity.
- first field that is listed and available so you have a way to identify a record in the new custom entity
- text or an auto-generated whole number
- different from Primary Key - GUID.
- can change the name of the field to make it friendlier for business users.
- If u want to make primary field unique, make a key and assign Primary Name field to the new key.
Rollup field
1) Max 100 for each org
2) Max 10 for each entity
3) can’t trigger workflows
Searchable fields
can only have 5 searchable fields per entity.
Auto Numbering field
1) Can activate auto number functionality in an existing text field by opening the field and selecting Autonumber in the data type dropdown.
2) Can disable autonumber functionality anytime by opening the field and selecting text as the type in the Data type drop-down list.
Options available
1) String prefixed number - Contoso-1000
2) Date prefixed number - date portion of the record will reflect the current date and time at which the record was created in UTC time. eg 2019-26-02-1000
3) Custom - customize desired format
- Autonumber fields have default seed value of 1000 but you can set a custom seed value as well.
Alternate Key
1 ) more meaningful way as it is familiar to user than GUID/Primary field
2) helpful if integrating your data with external system
3) improves search and filtering on the particular field as alternate key fields are always indexed.
4) Only upto 5 alternate keys for each entity.
5) If you have duplicated data in a field that is used by the key in multiple records, then they key will not be created.
6) A key can be made up of 1 or more fields. If you select multiple fields, then the key is called compound key.
Built-in environment roles
1) System administrator
2) Environment Maker. - user is automatically associated to this role when they are added to the environment.
System Administrator Role
The System Administrator role can perform all administrative actions on an environment, including the following tasks:
1) Add or remove a user or group from either the Environment Admin or Environment Maker role.
2) Provision a Common Data Service database for the environment.
3) View and manage all resources that are created within an environment.
4) Set data loss prevention policies.
Environment Maker Role
The Environment Maker role can create resources within an environment such as apps, connections, custom connectors, gateways, apps that use Power Apps, and flows that use Power Automate.
Environment Makers can distribute the apps that they build in an environment to other users within an organization by sharing the app with individual users, security groups, or to all users in the organization.
Users or groups that are assigned to these environment roles are not automatically given access to the environment’s database (if it exists) and must be given access separately by a Database owner.
Whenever a new user signs up for Power Apps, they are automatically added to the Maker role of the DEFAULT environment.
When a user is added to an environment, they are assigned following roles by default.
1) Common Data Service User / Dataverse user (this role is created when you instantiate an instance of a Common Data Service database and all users in the environment are assigned this role)
2) Environment Maker
When can a user be added to an environment
User access requirements
1) Enabled in Azure Active Directory
2) Has an active license
3) Member of the environment’s security group
Types of Security Roles
1) Standard - created with every CDS instance.
2) Custom - created by administrator
Examples of Security Roles Standard
1) System customizer -Create (self), Read (self), Write (self), Delete (self), Customizations
2) CDS User - Read, Create (self), Write (self), Delete (self)
3) Delegate - Act on behalf of another user - This role is typically used with another security role to provide access to records.
Record level privileges for Security Role
CRWDAATAS
1) Create
2) Read
3) Write
4) Delete
5) Append - Required to associate a row with the current row. For example, if a user has Append rights on a note, the user can add a note to an opportunity.
6) Append To -Required to associate the current row with another row. For example, a note can be attached to an opportunity if the user has Append To rights on the Opportunity
7) Assign -Required to give ownership of a record to another user
8) Share -Required to give another user access to a record while keeping your own access
Scope of privileges associated to security role
1) None
2) User
3) Business Unit
4) Parent:Child Business Unit
5) Organization
The Common Data Service User Role
The Common Data Service User role must be assigned to any user who wants to use your app or access Common Data Service.
Types of Testing
1) Unit Testing
2) QA Testing
3) Load / Performance Testing
4) Integration Testing
5) User Acceptance Testing
Quick Search
Which fields are searched is defined by the Find Columns settings in the system Quick View.
Business data within Dataverse
Dynamics 365 Finance, Dynamic 365 Supply Chain Management, and Dynamics 365 Retail currently require the configuration of the Data Integrator to make your business data available within Dataverse.