Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 1 PlanDynamics 365 release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
2022 release wave 1 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I create new Entity - nav_role
It has Attribute - "nav_rolecode" with Type - Set of Parameters. (in Web interface you can select the desired option from the drop down list).
Each Parameter has Label and Value - so how can I set this Attribute in c#?
for example - i tried this:
Entity NavRole = new Entity("nav_role");
NavRole.Attributes["nav_systemuserroleid"] = new EntityReference("systemuser", FindUID);
NavRole.Attributes["nav_validfrom"] = DateTime.Today;
NavRole.Attributes["nav_rolecode"] = "808630010";
"808630010" it's a Value of Parameter in Set of Parameters. So it doesn't work - for "nav_rolecode"
Help me please with this....
In case of optionset you need to pass value in OptionsetValue in c# code.
Please refer below code:
NavRole.Attributes["nav_rolecode"] = new OptionSetValue(808630010);
Business Applications communities