Join the Power Platform Masterclass #2 starting April 23

Execute JavaScript from rules: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 24: Line 24:
== Additional information ==
== Additional information ==


* 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.
* 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.
* The operator ExecuteJS is supported only for variables of the following types: Boolean, String, Integer, Double, Float, Decimal, Money, DateTime, StringList, Entity, Lookup.
* The implementation supports also ''promises'' for asynchronous result return from functions.
* The implementation supports also ''promises'' for asynchronous result return from functions.


Navigation menu