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
var selectedOptionset = Xrm.Page.getAttribute("crm_type").getSelectedOption(); var optionValue = selectedOptionset.value; var ConditionRequest1 = new Sdk.Query.ConditionExpression("incident", "crm_type", Sdk.Query.ConditionOperator.Equal, new Sdk.Query.OptionSets([optionValue])); var queryIncidentBorn = new Sdk.Query.QueryExpression("incident"); queryIncidentBorn.addColumn("incidentid","createdon"); queryIncidentBorn.addCondition(ConditionRequest1); queryIncidentBorn.addOrder("createdon", OrderType.Ascending); results = Sdk.Sync.retrieveMultiple(queryIncidentBorn);
i have got an errorr that the ordertype is not defined
Thank you for yoru query.
Please change "OrderType.Ascending" to "Sdk.Query.OrderType.Ascending".
Hello Rashid ,
It's working . thank you for your help
Business Applications communities