Comments (2)
How would you "await" the call in Dynamics? That is a promise and you can implement your logic in the "then" function. But there might be tricky situations that you might need to consider... like multiple updates before receiving a response.
from xrm-mock.
Thanks for your response.
In this particular case I am able to get the data I need on the onLoad event, but
What happens if I need to load data when a field is changed on the form?
Is there any pattern I can use?
As for getting ready for successive changes, how could we test this? I'm just trying to learn, so if you can point me somewhere I'd be very grateful
from xrm-mock.
Related Issues (20)
- 'addOnLoad' in type 'GridControlMock' is not assignable to the same property in base type 'GridControl' HOT 3
- Need Help : Trying to write unit test in Javascript
- How to stub Xrm.Navigation.navigateTo() function? HOT 2
- How to properly use Form Context? HOT 1
- Feature request: Ability to observe what notifications exist on form
- setVisible() do nothing HOT 2
- createSection Adds section to Tab twice
- Default Section Controls collection
- Lookup Control missing implementations
- `getAttribute('name').controls` should always contain controls that were added for the attribute
- Save Event's getSaveMode() is not able to return all event types
- The getFormContext function is not implemented in onSave event
- Question: FormContext and Statecode
- XrmMock.GridControlMock Does not implement setVisible()
- Add empty lookup on form
- use xrm-mock for Xrm v8 and v9 in one project
- Add support for Control Notifications
- Xrm.ProcessFlow.ProcessManager Not Implemented Error HOT 2
- getVisbile, setVisible on formselector is not implemented. headersection, footersection on Ui obeject are also not available.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xrm-mock.