Breaking news from around the world
Get the Bing + MSN extension
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
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | View 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 | Talent TechTalks | Upcoming TechTalks
We are undergoing with situation where we want to add the Form Parameters value from code either from Js or C#.
Like above parameter we want to add it through code.
Thanks in advance.
To add those parameters programmatically you will have to download the form definition (that is just huge Xml), parse it, find the section for form parameters, add it inside, push the form definition back to CE. It's doable but I'm curious - why do you need it?
Dear Andrew Butenko,
Thanks for the response.
Why do I need this functionality ?
Ans:- Requirement is "on target entity on which I will be setting the parameters is not fixed ,it can be dynamic " which is why we are following this approach.
Do you have any sample or reference link where I can understand the process to download the form definition.
Thanks in advance .
Don't get me wrong but I don't think that the outcome will not worth time that you will invest to implement it but it's up to you to decide to implement it or not. I would say it's much easier to add those parameters to form manually.
Also I don't have any examples in mind that I can share because your requirement is really rare.
i am fully agree with you , i am not sure at the moment if we can go with any other approach but surely it will be good to give a try.
Meanwhile i just got one blog , which demonstration the process of updating the FormXML from C#, i am putting the link down below so that it can be helpful for the person in need.
Thanks for your valuable suggestion, really appreciate that.
Business Applications communities