-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hi.
When I run this code:
await xrmTest.Navigation.openCreateForm("contact");
await xrmTest.Attribute.setValue("lastname", "UI test");
await xrmTest.Entity.save(true);
Then gives that the following error:
Basic operations UCI › Create and save new contact
page.evaluate: Evaluation failed: Objectpage.evaluate: Evaluation failed: Object
48 | await xrmTest.Attribute.setValue("lastname", "UI Test");
49 |
> 50 | await xrmTest.Entity.save(true);
| ^
51 |
52 | // await xrmTest.Attribute.setValue("primarycontactid", [{
53 | // id: "C0A634A1-42C5-EB11-BACC-0022487FBED8",
at Entity.save (node_modules/d365-ui-test/src/xrm/Entity.ts:91:39)
at Object.<anonymous> (spec/demo-ui-test.spec.ts:50:9)
Is this a known error or do I something wrong?
I simply want to open a create form, set some field values and save the record.
But that fails..
Kind regards,
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
