Posts

Showing posts from February, 2024

How to use Business Rules to show Field on form based on value of anothe...

Image

100 Days 100 Learning Interview Questions Dynamics 365 CRM Data Types

Image

How to Show Confirm Dialog Box using JavaScript? How to display a progre...

Image
Code: function PromptDialog(executionContext) {     var confirmStrings = {         text: "Do you want to proceed?",         title: "Confirmation",         confirmButtonLabel: "Yes",         cancelButtonLabel: "No"     };     var confirmOptions = {         height: 200,         width: 400     };     Xrm.Navigation.openConfirmDialog(confirmStrings, confirmOptions).then(         function (success) {             if (success.confirmed == true) {                 CallMethod(executionContext); // Pass executionContext if needed             } else {                 // User clicked No             }         }     ); } function CallMethod(executionContext) {     // Accessing formContext if needed     var formContext = executionContext.getFormContext();     var fielda = formContext.getAttribute("zxc_promptdialog").getValue();     Xrm.Utility.showProgressIndicator(fielda + " This is Progress Indicator. It will close after 5 seconds.");     s

How to set a field business required or mandatory using business rule ?

Image