Posts

Showing posts from February, 2022

DYNAMICS 365 VIEW FILTER ERROR “There was an error in showing this condition”

Image
In Dynamics 365, you opened a view filter criteria and an error is displayed in one of the conditions. In this article, we will see how to solve this error in the filter of a Dynamics 365 view. PROBLEM The following error message appears in the filter of a Dynamics 365 view There was an error in showing this condition If you click on the information icon, more details will be displayed REASON The Searchable property of the field having the issue is set to No SOLUTION Open the field properties and set the Searchable property to Yes If you reopen the filter of the view, the condition will be normally displayed without error Hope This Helps!

DYNAMICS 365 FORM NOTIFICATION AND FIELD NOTIFICATION

Image
In a previous post, we saw how to display a global notification that lives across the Model driven App . In Dynamics 365 form, you can display two types of notifications: Form Notifications and Field Notifications . In this article, we will see how to display Form Notifications and Field Notifications within an entity form using JavaScript . The form notification will be displayed on top of the form and the setFormNotification function is used to display form level notifications function displayFormNotification(context) { var formContext = context.getFormContext(); formContext.ui.setFormNotification("This is an INFORMATION form notification.", "INFO", "InformationNotificationId"); formCon

DYNAMICS 365 UPDATE RECORD OWNER AFTER ASSIGNREQUEST DEPRECATED

Image
In a previous post, we saw how to change record status in Dynamics 365 using C# after the SetStateRequest message is deprecated . In addition, when we wanted to update the owner of a record, we had to use the AssignRequest message to set it. However, as you all know, the message AssignRequest is deprecated and in order to set the owner of a record, you can now use the Update request without doing another specific call. In this post, we will see the function on how to change record owner in Dynamics 365 using C# . Below is the deprecated AssignRequest message used to set the owner of a record public void AccountAssignRequest(Account account) { var assignRequest = new AssignRequest {

DYNAMICS 365 UPDATE RECORD STATUS AFTER SETSTATEREQUEST DEPRECATED

Image
In a previous post, we saw how to change record owner in Dynamics 365 using C# after the AssignRequest message is deprecated . In addition, when we wanted to update the status of a record, we had to use the SetStateRequest message to set it. However, as you all know, since the message SetStateRequest is deprecated , you can now use the Update request in order to set the status of a record without doing another specific call. In this post, we will see the function on how to change record status in Dynamics 365 using C# . Below is the deprecated SetStateRequest message used to set the status of a record public void SetStateRequest(Account account) { SetStateRequest setStateRequest = new SetStateRequest