AB-400
Read questions, check verified answers and discuss the reasoning. Use reading options to shape your revision, or switch to the simulator for timed practice.
73 questions in this view
01 CrmServiceClient service = new CrmServiceClient(connectionString);
02
03 if (!service.IsReady)
04 {
05 Console.WriteLine(service.LastCrmError);
06 Console.ReadLine();
07 return;
08 }
09
10 ExecuteMultipleRequest executeMultipleRequest = new ExecuteMultipleRequest()
11 {
12 Settings = new ExecuteMultipleSettings()
13 {
14 ContinueOnError = false,
15 ReturnResponses = true
16 },
17 Requests = new OrganizationRequestCollection()
18 };
19
20 executeMultipleRequest.Requests.Add(new CreateRequest()
21 {
22 Target = new Entity("account")
23 {
24 ["name"] = "Contoso",
25 ["accountnumber"] = "ACC-0000001"
26 },
27 ["SuppressDuplicateDetection"] = false
28 });
29
30 executeMultipleRequest.Requests.Add(new CreateRequest()
31 {
32 Target = new Entity("contact")
33 {
34 ["firstname"] = "John",
35 ["lastname"] = "Doe",
36 }
37 });
38
39 ExecuteMultipleResponse executeMultipleResponse = (ExecuteMultipleResponse)service.Execute(executeMultipleRequest);| Statements | Yes | No |
|---|---|---|
the statement: When the connection string or credentials are invalid, an error message is sent to the application terminal. | ||
the statement: When a similar account exists, the account will still be created. | ||
the statement: A contact record will always be created. |
The command must meet the following criteria:
Select an answer above, then submit your vote. Reading or practicing does not cast a vote.
The command must meet the following criteria:
Select an answer above, then submit your vote. Reading or practicing does not cast a vote.
The command must meet the following criteria:
Select an answer above, then submit your vote. Reading or practicing does not cast a vote.
You must develop automation that meets the following requirements: