This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var MEA = window.MEA || {}; | |
var accountForm = MEA.accountForm || {}; | |
(function () { | |
this.OnLoad = function (onLoadContext) { | |
var formContext = onLoadContext.getFormContext(); | |
var phoneControl = formContext.getControl('telephone1'); | |
phoneControl.addOnOutputChange(this.OnOutputChangeHandler); | |
}; | |
this.OnOutputChangeHandler = function (OnOutputChangeContext) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var MEA = window.MEA || {}; | |
var accountForm = MEA.accountForm || {}; | |
(function () { | |
this.OnLoad = function (onLoadContext) { | |
var formContext = onLoadContext.getFormContext(); | |
var extraParameters = Xrm.Utility.getGlobalContext().getQueryStringParameters(); | |
var tabName = extraParameters["tab_name"]; | |
if(tabName != undefined){ | |
var defaultTabObj = formContext.ui.tabs.get(tabName); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// <copyright file="Plg_ExecuteFetchXml.cs" company=""> | |
// Copyright (c) 2022 All Rights Reserved | |
// </copyright> | |
// <author></author> | |
// <date>3/14/2022 2:38:36 PM</date> | |
// <summary>Implements the Plg_ExecuteFetchXml Plugin.</summary> | |
// <auto-generated> | |
// This code was generated by a tool. | |
// Runtime Version:4.0.30319.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var MEA = window.MEA || {}; | |
var accountForm = MEA.accountForm || {}; | |
(function () { | |
this.OnLoad = function (onLoadContext) { | |
console.log("onLoad ...."); | |
var eventArgs = onLoadContext.getEventArgs(); | |
var formContext = onLoadContext.getFormContext(); | |
if (eventArgs.getDataLoadState() == 1) { | |
formContext.getAttribute('telephone1').addOnChange(this.OnChangeHandler); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var MEA = window.MEA || {}; | |
var accountForm = MEA.accountForm || {}; | |
(function () { | |
this.OnLoad = function (onLoadContext) { | |
console.log("onLoad ...."); | |
var formContext = onLoadContext.getFormContext(); | |
formContext.getAttribute('telephone1').addOnChange(this.OnChangeHandler); | |
}; | |
this.OnChangeHandler = function (onChangeContext) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Optimistic Concurrency in Model-Driven Apps Forms | |
var MEA = window.MEA || {}; | |
var OptimisticConcurrencyForm = MEA.OptimisticConcurrencyForm || {}; | |
(function () { | |
var versionNumber = null; | |
var entityReference = null; | |
this.OnLoad = async function (executionContext) { | |
var eventArgs = executionContext.getEventArgs(); | |
if (eventArgs.getDataLoadState() == 1) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.ServiceModel; | |
using Microsoft.Xrm.Sdk; | |
using Microsoft.Xrm.Sdk.Messages; | |
using Microsoft.Xrm.Sdk.Metadata; | |
using Microsoft.Xrm.Sdk.Query; | |
namespace MergePoc.Plugins | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.ServiceModel; | |
using Microsoft.Xrm.Sdk; | |
using Microsoft.Xrm.Sdk.Messages; | |
using Microsoft.Xrm.Sdk.Metadata; | |
using Microsoft.Xrm.Sdk.Query; | |
namespace MergePoc.Plugins | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// <copyright file="PreOperationAccountMerge.cs" company=""> | |
// Copyright (c) 2021 All Rights Reserved | |
// </copyright> | |
// <author></author> | |
// <date>12/17/2021 6:04:07 PM</date> | |
// <summary>Implements the PreOperationAccountMerge Plugin.</summary> | |
// <auto-generated> | |
// This code was generated by a tool. | |
// Runtime Version:4.0.30319.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var pageInput = { | |
pageType: "custom", | |
name: "mea_home_809de", | |
recordId:JSON.stringify({prop1: "Hello,", prop2: " World !"}) | |
}; | |
Xrm.Navigation.navigateTo(pageInput).then( | |
function success() { | |
// Run code on success | |
}, |
NewerOlder