Groovy script editor
Some of the editors described here are only available in Expert
mode. You can find out how to enable this mode
In the Stylesheet editor, you have the ability to make changes directly to the CSS file underlying the layout. The changes will be applied by clicking on OK
and take effect when the layout is published.
, a list will be opened of all edit and view elements that are located on the current page. Select the element that is to be used in the script. The following programming code will then be automatically inserted into the script editor:
getElement("GUID of element")
Create your references to the HTML object with the syntax
var NameOfElement = getElement("GUID of element");
On the Functions
tab, the current functions defined
of the area.
Click on this button to reset the search field.
Changes the alphabetical sorting of the function names between
ascending and descending.
Link with editor
The cursor is moved to the beginning of the currently selected function.
Groovy script editor
You can find the Groovy Script Editor in the
module during a
if Groovy script is selected as a data source or target. Additionally, it can be
found in the
modules. In the
module, it can be opened by pressing F12 from the
. F11 maximizes
the editor window. In the
module, the editor can be reached via the
on the Handler
The Velocity Editor is available in the
modules. If you define an Email action
in the Processes
module, you can compose messages
from the processing context.
You can reach this editor via the calculation control
in the Applications
module. Formula expressions are available on the Libraries
tab. The selected formula expression is either inserted in the script at the current cursor position, or replaces the currently selected text segment. Some forms contain placeholders for parameters in the form $(parameter). If you click one of these placeholders in the script, it is selected and can be replaced, either manually, by a value, or by another form expression. A value, such as the GUID
of a control or a data field, can be entered from the application via the context menu or from the menu item Edit / Insert value.
If a GUID
or the name of a control is selected in the script and the GUID
or name of the control is known, you can press the F2 key to see more information about the object in a tooltip. Press the keyboard shortcut Ctrl + Space
to select formulas in a tooltip. If, for example, the expression sum
has been entered to the editor and you use the keyboard shortcut above, formulas are suggested that start with sum
. If a parameter keyword is selected in a formula, the context menu
is filtered for the corresponding parameter type.
Further information can be found here:
All information regarding this editor can be found
All information regarding this editor can be found
The libraries are listed on this tab. The Intrexx standard library
contains a collection of useful functions that you can insert quite easily into the script that you enter into the editor. When your script is complete, it can be saved by clicking OK.
All changes will take effect when the application is published. You can also search through the libraries at the top of the tab.
Click on this button to clear the search field.
In addition to the Intrexx standard library,
you can create additional, individual libraries via New
from the context menu
. Here, the file will be saved on the client. The storage location depends on the location of the Intrexx installation of the Portal Manager in use. Normally, the files can be found in the following directories:
If it was installed on a Windows computer within C:\Program Files, the files can be found in the following directories for the standard installation:
If it was installed on a Windows computer within C:\Program Files, the files can be found in the following directories for a custom installation:
These files are not changed during an update.
- New - Insert library
Creates a new library.
- New - Insert category
You can insert your own categories for organizing your library here.
- New - Insert template
The functions, which you have recorded in your library, can be written here and then saved as a Template.
Opens the properties dialog for custom libraries, categories or templates.
- Copy / Paste / Delete
Custom libraries, categories and templates are copied, pasted or deleted, respectively.
- Show description
Shows the description of custom libraries, categories or templates.
- Open link
Opens the target page that is specified as the link for the custom library, category or template.
- Sort by name
Sorts custom libraries, categories or templates by name.
- Expand all / Collapse all
Fades in/out all subordinate elements.
- Export / Import library
Exports the library as an XML file / Imports a previously exported library.
- Insert into script
Inserts the currently selected funtion into the script at the cursor's current position.
If a custom library, category or template has been selected, the following buttons are available at the bottom of the dialog:
Opens the website, that is specified as the link, in the browser.
Opens the properties dialog.
Displays the description.
||Creating, editing, deleted and importing custom libraries is deactivated if the current user does not have write access to the corresponding folder. If required, the write access must be given manually by the Administrator.
On this tab, the application structure will be represented. If an element is highlighted in the tree structure, the area below will show various properties, like the GUID or name of the element. By clicking on the
symbol, the corresponding value will be inserted in the script.
The code will be saved locally with this command. If the editor is closed with Cancel
, all changes that have been cached will be applied.
This command opens a list of all items on the current page. Select the item that is to be used in the script.
Undo the most recent step while editing the script.
Repeats the most recent action.
Opens a dialog in which expressions can be searched for and replaced in the script.
Deletes the line, in which the cursor is located, from thescript.
Go to line
Opens a dialog in which a line number can be entered for selection in the editor.
Inserts // into the script to convert a line into a comment.
Search in library
Jumps to the search box on the Libraries
Jumps to the search box on the Functions
Opens a list of available JSDoc tags at the cursor position. JSDoc
is a syntax for adding inline documentation of functions. The following functions are supported:
Select the required tag and insert it into a comment line. If the corresponding function is selected in the Functions
area, the corresponding information will be shown at the bottom of the dialog.
The syntax check identifies incomplete pairs of parentheses and other potential errors in the script.
Remove trailing space on exit
If this command is activated, extra spaces and tabs at the ends of lines script will be deleted when you exit the editor.
Shows or hides the Functions
Shows or hides the Libraries
Show application structure
Shows or hides the Application structure
Restore default view
Restores the original view of the editor, after the Portal Manager has been restarted.
Maximizes the editor.
searched for comments that contain the character string //FIXME or
. The expressions FIXME
have to be placed directly after the comment string //.
Hits of //FIXME comments will be noted in the Problems
area with this
icon in the left column in the editor.
Hits of //FIXME comments will be noted with this
With a double click on a hit the editor will be opened.
The font and font size can be defined here.
In the status line the number of tasks and the line of the first task will be shown.