HOTSPOT
You are synchronizing company data from a SQL Server-based .NET application into a Common Data Service (CDS) environment.
The data is entered in both the SQL Server and CDS systems.
You have a program that includes the following code:
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Box 1: No.
An alternate key is needed, not a new field for the record identifier.
Box 2: Yes
The specified key attributes are not a defined key for the account entity.
Name: EntityKeyNotDefined
Message: The specified key attributes are not a defined key for the {0} entity
Box 3: Yes
One way to create an entity is by using the UpsertRequest class. An upsert will create a new entity when there is no existing record that has the unique identifiers included in the entity passed with the request.
Box 4: No
Reference:
https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/org-service/web-service-
error-codes
https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/org-service/entity-operations-update-delete#use-upsert
Leave a Reply