-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Xrm.WebApi.online.execute supports passing property suppressDupeDetection which enables duplicate detection. It is not documented, but works. Would you be interested in adding this to the DRB?
var record = {};
record.name = "T"; // Text var createRequest = {
etn: "account",
payload: record,
suppressDupeDetection: false,
getMetadata: function () { return { boundParameter: null, parameterTypes: {}, operationType: 2, operationName: "Create" }; }
}; Xrm.WebApi.online.execute(createRequest).then(
function success(response) {
if (response.ok) {
console.log("Record created");
}
}
).catch(function (error) {
console.log(error.message);
});Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request