xrm-mock icon indicating copy to clipboard operation
xrm-mock copied to clipboard

:books: A fake implementation of the Xrm object model. Written in TypeScript against @types/xrm definitions.

Results 19 xrm-mock issues
Sort by recently updated
recently updated
newest added

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

What is the correct way to add a statecode attribute to the formContext? I have been creating string attributes as shown in the examples i.e. ` const stringAttribute = XrmMockGenerator.Attribute.createString("firstname",...

When an onSave event is fired, the "getFormContext" method is not implemented in the returned event. The code below throws an Error with the message "getFormContext not implemented.". ``` JS...

I see in /src/xrm-mock/navigation/navigation.mock.ts that not all Xrm.Navigation functions are mocked. There's an error message suggesting to use Sinon.JS to stub certain functions, which I am attempting by attempting a...

There is at least two ways to create controls in `xrm-mock`: * implicitly by just running `Attribute.createLookup` without passing controls parameter (default control is created); * by explicitly passing `ControlComponent`...

Update of @types/xrm to 9.0.40.

Hi. In the code below, I am trying to remove an option from an option set field but when I call _getOptions()_ the option still there. **Code** ``` import {...

Dynamics does not have an ability to peek what notifications are set on form. But for a test it would be helpful to have an ability to check that notifications...

Hi, The library looks very promising for mocking Xrm . I am trying to write unit test using jest but **"XrmMockGenerator.initialise()"** is giving undefined. Sample code. var XrmMockGenerator = require('xrm-mock');...