JavaScript Structure Used in Swift MEAP
This section describes the JavaScript structure that may be used in Swift MEAPâ„¢. Â
Â
In addition to well-known URI schemes, Swift MEAP™ also provides a scheme called melt.  You will find how it can be used in the various examples that follow in other sections.  A full list of the available options for this scheme is:
Â
Â
Schema | Use |
---|---|
melt://showAlert/message without additional quotes | Use where you'd like to hard code a message |
melt://showAlert/+ rows[0].message  | Use where you'd like to provide a message from the script. Specifically the syntax looks like this: window.location="melt://showAlert/"+ rows[0].message; |
melt://showAlert/$system.key | showAlert is able to make use of a Swift MEAPâ„¢ system key |
melt://showSoftAlert/ | soft alerts are available in Quick Selectors |
melt://executeFunction/myFunction() | Use with a button to execute another piece of JavaScript |
melt://emailPage/html | Invoke the native email client - for use within HTML pages |
melt://printPage/html | Invoke the native print system - for use within HTML pages |
Â
Â
See list of Child Pages for list of topics and examples: