MB-600: Microsoft Power Apps + Dynamics 365 Solution Architect (beta)

Below BETA exam released for Dynamics 365 Solution Architects.

Click on the link for more information.

MB-600: Microsoft Power Apps + Dynamics 365 Solution Architect (beta)

Dynamics 365 Wave 1 release details

On 27th Jan 2020, Microsoft has released the key dates for Dynamics 365 2020 wave 1 plan and upcoming features.

Click on the below image for more details.

Click here for more information on release plan.

Click here to know more about wave 1 features and their availability.

Microsoft Certified: Dynamics 365 for Customer Service Functional Consultant Associate

Want to become Microsoft Certified: Dynamics 365 for Customer Service Functional Consultant Associate?

Continue reading

Microsoft Certified: Dynamics 365 for Field Service Functional Consultant Associate

Want to become Microsoft Certified: Dynamics 365 for Field Service Functional Consultant Associate?

Continue reading

Microsoft Certified: Dynamics 365 for Sales Functional Consultant Associate

Want to become Microsoft Certified: Dynamics 365 for Sales Functional Consultant Associate?

Continue reading

How to delete a record in Dynamics 365 Online V 9.X using JavaScript WebAPI?

Below is the latest Syntax available to delete a record in Dynamics 365 Online V9.X using JavaScript,

Syntax:

Xrm.WebApi.deleteRecord(entityLogicalName, id).then(successCallback, errorCallback);

Parameters:

Name Type Required Description
entityLogicalName String Yes The entity logical name of the record you want to delete. For example: “account”.
id String Yes GUID of the entity record you want to delete.
successCallback Function No A function to call when a record is deleted. An object with the following properties will be passed to identify the deleted record:

·        entityType: String. The entity type of the record.·        id: String. GUID of the record.

·        name: String. Name of the record.

errorCallback Function No A function to call when the operation fails.

Return Value:
On success, returns a promise object containing the attributes specified earlier in the description of the successCallback parameter.

Example:
Create a new Javascript Webresource (new_Account.js) and copy paste the below code in it and call it on OnLoad of the Account Form.

After that, open an existing Account record.

function DeleteRecord() {
 // Delete Account record
 Xrm.WebApi.deleteRecord("account", "9C36DC38-79E9-E711-A95E-000D3AF27CC8").then(
 function success(result) {
 // Perform operations on record deletion
 Xrm.Utility.alertDialog("Account deleted", null);
 },
 function (error) {
 // Handle error conditions
 Xrm.Utility.alertDialog(error.message, null);
 });
}

Output:

Dynamics 365 Record Deletion V9.X

Hope you have successfully Deleted an Account record using New Syntax.