Difference between revisions of "Execute JavaScript from rules"

From Resco's Wiki
Jump to navigation Jump to search
(Created page with "The Resco platform offers two main options for adding business logic to your projects: * Rules which represent the no-code approach for simpler use ca...")
 
Line 1: Line 1:
 +
{{WIP}}
 
The [[Resco platform]] offers two main options for adding [[business logic]] to your projects:
 
The [[Resco platform]] offers two main options for adding [[business logic]] to your projects:
 
* [[Rules editor|Rules]] which represent the no-code approach for simpler use cases
 
* [[Rules editor|Rules]] which represent the no-code approach for simpler use cases

Revision as of 10:45, 6 July 2020

Warning Work in progress! We are in the process of updating the information on this page. Subject to change.

The Resco platform offers two main options for adding business logic to your projects:

  • Rules which represent the no-code approach for simpler use cases
  • Resco JavaScript Bridge that allows you to write custom scripts to modify UI, data, and access additional functions

The option to execute scripts directly from rules combines these two options. It aims to simplify writing JavaScript for Mobile CRM by removing the need for boilerplate code, and it should open path for creating reusable JavaScript libraries with additional functionality for Resco mobile apps, e.g., additional math, date, or string operations, and also business logic.

Offline HTML

Some prep work is necessary in the Offline HTML section of Woodford. TBD

Adding the function calls to rules

TBD

Example

TBD