The views and opinions expressed in this blog are those solely of the author(s) and do not necessarily reflect Microsoft’s current policy, position, or branding. For official announcements and guidance on Dynamics 365 apps and services, please visit the Microsoft Dynamics 365 Blog.
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 1Discover the latest updates and new features to Dynamics 365 planned through September 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
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 was trying to fix a small bug but I was getting bogged down with the business logic (which I didn’t need/want to change) on the form.
The problem was there was lots of business logic which kept disabling the fields I wanted to change.
So it’s time for a bit of off the cuff hacking
I loaded the form
Press F12 to bring up the debugger window
You can use the console to manipulate the fields and enable/disable certain fields.
You have access to the CRM JavasScript objects
So I used the Xrm.Page, selected the control (not the field attribute) and did a setDisabled(false); which enables the control.
So I used the console to do a Ribbon Refresh
Fantastic, now my field was enabled and the ribbon button was enabled and ready to be pressed.
The blog post below created a God Button, which enables all fields
This blog post will talk you through the logic and is the first part in a series of blog posts on the subject
Business Applications communities