Hi,
Created a new Web Resource with the following code to display an alert onLoad of a form.
var Sdk = window.Sdk || {};
// Define some global variables
// Code to run in the form OnLoad event
this.formOnLoad = function (executionContext) {
var formContext = executionContext.getFormContext();
alert('Hello World");
}
// Code to run in the attribute OnChange event
this.attributeOnChange = function (executionContext) {
var formContext = executionContext.getFormContext();
}
// Code to run in the form OnSave event
this.formOnSave = function () {
}
}).call(Sdk);
All the calls are correctly configured
OnLoad Event: Sdk.formOnload & Pass execution connect as first parameter
No errors when loading form
Any help is greatly appreciated.
Thanks
*This post is locked for comments