We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
When l try to get the example running, I have an error on initialising the global object. When do I miss?
Thanks
The text was updated successfully, but these errors were encountered:
Hi @charliechen179 thanks for your feedback.
You're right - the documentation was outdated.
xrm-mock will default entityName to contact, so all you need to write is:
xrm-mock
entityName
contact
XrmMockGenerator.initialise();
If you want to specify a specific entityName, you can pass an object:
XrmMockGenerator.initialise({ entity: { entityName: "account", }, });
See
xrm-mock/test/xrm-mock-generator/generator.test.ts
Lines 45 to 51 in d18f607
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Hi,
When l try to get the example running, I have an error on initialising the global object. When do I miss?
Thanks
The text was updated successfully, but these errors were encountered: