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
2021 Release Wave 1Discover the latest updates and new features to Dynamics 365 planned April 2021 through September 2021.
Release overview guides and videos Release Plan | Preview 2021 Release Wave 1 Timeline
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
Skill is option set [Java, C++, C] there options are available and there values are as follow [112550000,112550001, 112550002]
Is there any method which will fetch the maximum value of option set automatically
I don't know if I understand your need. This is my scenario. I have an option and [B1, B2, B3, B4, B5, B6] with the values [1, 2, 3, 4, 5, 6].
To get the maximum value, I implemented the following code:
var formContext = executionContext.getFormContext();
var optionSetBAllOptions = formContext.getAttribute('uma_optionb').getOptions();
var maxValueInOptionSetB = Math.max(...optionSetBAllOptions.map(o => o.value), 0);
console.log("MAxValue: "+ maxValueInOptionSetB);
Business Applications communities