Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I need to refresh my form (simple editable grid) when any of the grid checkbox is checked. What really is the requirement is to enforce the mutual exclusiveness of the boolean field (NoYes) for all records in the table at UI.
Kindly help me about this.
you want to refresh your data ? you need to refresh your form
check the blog link kashperuk.blogspot.com/.../tutorial-reread-refresh-research.html
in active method of datasource, call executequery() method of the datasource.
You need to override the modified method of checkbox and call the executeQuery() method of form datasource table linked to the grid.
Please verify and update if this helps you
I had similar requirement as of the above question. I have tried calling the execute query in the modified method of the field and update happens immediately after I change the data. But the only issue is after the grid refresh I see a glimpse of the partial enum drop down (in my case field is a enum) even also after i close the form. So it seems complete refresh is not happening.
I tried also by calling research() method but in that case also data gets updated but the same issue of screen grab remains.
do you know how can this be fixed ?
(If executeQuery is called in the active method then form keeps blinking always when its open)
You can write in check box form active method.
My problem got solved after I placed research()/executeQuery() method in datasource write() method.
My actual requirement was to trigger the displayOption() method which I have written.
with refresh and reread() it is not happening and now its sorted out. In the modified() method research() is not working properly but works in write () method.
Here the requirement not related to executeQuery(). The form already opened. How executeQuery will work here.
How can I reload the form is on Ax 2009? (for NoYesId)
Without explaining your problem in more detail, we will not be able to help. What kind of datasource are you using? Is the field a bound or unbound control? Do you use it with an edit method? What exactly do you want to refresh (expected outcome??)?
Business Applications communities