10,730
edits
Line 27: | Line 27: | ||
* The operator ExecuteJS is supported only for variables of the following types: Boolean, String, Integer, Double, Float, Decimal, Money, DateTime, StringList, Entity, Lookup. | * The operator ExecuteJS is supported only for variables of the following types: Boolean, String, Integer, Double, Float, Decimal, Money, DateTime, StringList, Entity, Lookup. | ||
* In the first argument, select the IFrame form tab that links to the script. In the second argument, enter the name of the JavaScript function. | * In the first argument, select the IFrame form tab that links to the script. In the second argument, enter the name of the JavaScript function. | ||
* The serialized MobileCRM.UI.EntityForm object is automatically passed as a parameter to the function. You cannot pass a custom input parameter. | * The serialized MobileCRM.UI.EntityForm object is automatically passed as a parameter to the function. | ||
** You cannot pass a custom input parameter. | |||
** You can read from the EntityForm but you cannot update the fields. | |||
* The implementation supports also ''promises'' for asynchronous result return from functions. | * The implementation supports also ''promises'' for asynchronous result return from functions. | ||
* ExecuteJS requires offline HTML running JSBridge.js script version 13.1 or later. | * ExecuteJS requires offline HTML running JSBridge.js script version 13.1 or later. |