Personalized Community is here!
Quickly customize your community to find the content you seek.
Check out the latest Sales updates!Learn about the key capabilities and features of Dynamics 365 Sales and experience some of the new features.
Download overview guide | Watch Sales video
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 have added Java Script to lock field in Business Process Flow in onLoad Event. But it is only locking field for Stage 1 not the same field present in other Stages. Even I tried after saving form after reaching some stages to check is it locking active stage or just first stage. I found that it was locking only field in first stage.
Can you please help to find Locking code for all stages in Business Process Flow.
Never tried this but I think you can try with
var c = Xrm.Page.getAttribute('name').controls //this will get all the fields with the name "name"
you can then iterate through c.
Or you can do
so it can become:
function test( executionContext)
var formContext = executionContext.getFormContext();
Hope it helps!
It is not working for me. Thanks for your efforts.
If you get anything please let me know.
What exactly doesn't work for you?
After writting my response I was able to make all fields disappear. I've created duplicated fields all over a BPF and with
I was able to lock them.
Can you paste your code ?
When I used this code:
I am getting this error:"Cannot read property 'controls' of null"
And When I used this code.
I am getting this error."Cannot read property 'get' of undefined"
Mayur, that is not the correct name of the field.
It worked when I removed Header_Process
Business Applications communities