Posts
How to Add Word Templates with Dynamic Fields in Microsoft Dynamics 365 ...
- Get link
- Other Apps
How Set Default home page for Microsoft dynamics 365 CRM and Power apps#...
- Get link
- Other Apps
GET/SET different field values using JavaScript and generate unique name...
- Get link
- Other Apps
code: function generateUniqueName(executionContext) { // Get the form context from the execution context var formContext = executionContext.getFormContext(); // Get the values of the customer, bank account, and loan type fields var customerLookup = formContext.getAttribute("abc_customer").getValue(); var bankAccountLookup = formContext.getAttribute("abc_bankaccount").getValue(); var loanType = formContext.getAttribute("abc_loantype").getText(); // Check if a customer is selected and the loan type is "Personal Loan" or "Car loan" if (customerLookup && (loanType == "Personal Loan" || loanType == "Car loan")) { // Extract relevant information from the customer lookup field var customerName = customerLookup[0].name; var customerId = customerLookup[0].id; // Generate a unique ID based on customer name, loan type, and customer ID var uniqueId =
How to use Business Rules to show Field on form based on value of anothe...
- Get link
- Other Apps
100 Days 100 Learning Interview Questions Dynamics 365 CRM Data Types
- Get link
- Other Apps
How to Show Confirm Dialog Box using JavaScript? How to display a progre...
- Get link
- Other Apps
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