Execute JavaScript from rules: Difference between revisions

Jump to navigation Jump to search
Line 29: Line 29:
* 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 implementation supports also ''promises'' for asynchronous result return from functions.
* The implementation supports also ''promises'' for asynchronous result return from functions.
* [[Releases/Autumn_2021|Release 14.2]] change: Before this release, values return from JSBridge were wrapped in an extra set of quotation marks (for example, <code>"123"</code> for numbers or <code>""text""</code> for strings). After the release, one pair of quotation marks is gone (<code>123</code>, <code>"text"</code>). If you're switching from an older version of JSBridge.js, please update your scripts.
* [[Releases/Autumn_2021|Release 14.2]] change: Before this release, values returned from JSBridge were wrapped in an extra set of quotation marks (for example, <code>"123"</code> for numbers or <code>""text""</code> for strings). After the release, one pair of quotation marks is gone (<code>123</code>, <code>"text"</code>). If you're switching from an older version of JSBridge.js, please update your scripts.


== Questionnaire specifics ==
== Questionnaire specifics ==

Navigation menu