Note: | Groovy and JavaScript are supported as scripting languages. |
Can Contain | The Groovy or JavaScript code to execute. If no inline code is provided, you must specify a source file for the code to execute. |
Allowed In | mashup | catch | else | elseif | for | foreach | if | macro | operation | sequence | try | while |
Name | Required | Description |
type | yes | The MIME type of the scripting language used, such as 'text/javascript'. |
src | The local file with the scripting code to include and execute here. This is required for code that is not defined within the body of <script>. | |
application | An optional attribute identifying a folder containing JAR files with Java classes that are used within this script code. The Business Analytics Server loads classes from this application folder first. Applications allow POJO services to use third-party libraries that may conflict with MashZone NextGen your Java application's libraries. Application folders must be deployed in the Application Server hosting the Business Analytics Server. | |
inputvariables | A list of mashup variables separated by commas that the script should have acccess to. | |
outputvariable | The mashup variable to contain the result of the script. |