...
Provides source builders who need to add javascript to the enrichment process with a single global set of variables and functions that can be used in the individual "scriptlets" other elements provide. The scripts provided (and same for the inputs) are executed once per source per harvest cycle.
Table of Contents |
---|
Format
TOD convert to JSON
Code Block | ||
---|---|---|
| ||
{ "display": string, "globals": { } // see GlobalScriptPojo below } ////////////////////////////////// public static class GlobalScriptPojo { public List<String> imports; "imports":string,// An optional list of URLs that get imported before the scripts below are run public List<String> scripts;"scripts":string, // A list of (java)script code blocks that are evaluated in order (normally only need to specify one) public String scriptlang;"scriptlang":string, // Currently only "javascript" is supported } |
...
Info |
---|
...
Gliffy | ||||
---|---|---|---|---|
|
Examples
Field Level Transformations
...