JavaScript is disabled on your browser.

Editors

Stylesheet Editor

In the Design module, you can reach this editor via the menu item Edit / Edit Stylesheet. Here 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.

JavaScript Editor

In the Applications module, you can find this editor via the Script tab of the properties dialog of many application elements. Here you can expand the functionality of applications however you wish with JavaScript. Elements that are to be read out or controlled via a script can be referenced quite easily. With the menu item Edit / Insert, 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");

Libraries

In the right-hand area of the editor you can find the libraries. From the context menu, via Expand all or Compact all, you can show or hide the entire tree, so that you can view or not view the subordinate levels. In the search field, you can search for specific keywords, and then remove this filter again when it is no longer needed.

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.

In addition to the Intrexx standard library, you can create additional, individual libraries with the functions that you require frequently. You can reach this feature via the context menu item New / Add library for the Libraries entry. Via the context menu item Edit, a dialog will open in which you can change the properties of the new library.

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.

If you have entered a URL to a page of your choice, the globe symbol will be shown in the preview window in the lower right. Clicking on this symbol will open the page in your browser.

Via the context menu item New / Insert category, categories can be created for the organization of your library.

Functions that you use frequently can be administered here in the so-called Templates. You can create a template via the context menu of a category with New / Add template.

If you highlight the template in the tree structure, the script contained in it will be shown in the preview window in the lower right. From there you can open the dialog in which the script was composed by selecting Edit. Description will show the description of the template.

The script from the template can be inserted into the existing script in the left-hand area of the editor at the current cursor position via the context menu item Paste into script.

When your script is complete, it can be saved by clicking OK. All changes will take effect when the application is published.

The creation, editing, deletion and import of user-defined libraries is deactivated, when the current user does not have write permissions to the relevant folder. If necessary, these write permissions must be setup manually by the system administrator. Libraries can be exported and deleted, using the context menu.

Application Structure

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.

Functions

The functions defined in the current JavaScript are listed on this tab. A search box for function names can be found at the top of the tab. With Reset filter the search terms can be removed from the search box and the filtering cancelled. The alphabetic listing of the functions can be changed to ascending or descending with Sort. If Connect with Editor is activated, clicking on a function name will automatically update the editor with the selected function, and the cursor will be placed at the beginning of the code.

JSDoc

Opens a list of available JSDoc tags at the cursor position. JSDoc is a syntax for adding inline documentation of functions. Facilitates the creation of JSDocs that significantly increase the clarity of your feature set. The following JSDoc-Tags are supported: Select the required tag. The tag should be inserted in a comment. Directly after the tag, enter the expression, that you wish to see in the Documentation area of the Functions tab when you select a function.

Groovy Script Editor

You can find the Groovy Script Editor in the Integration module in a data transfer, if Groovy script is selected as a data source or target. Additionally, it can be reached from the Processes module.

As with the use of the JavaScript editor, libraries, categories, and templates are available in the right-hand area of the screen. The Intrexx standard library offers a multitude of objects and functions that you can insert into your existing script here as well. Via the tabs of the same name in the right area you can also achieve the elements of the Application Structure and Functions.

Velocity Editor

The Velocity Editor can be reached from the Processes module. If you define an e-mail action, you can compose messages depending on the context.

Formula Editor

You can reach this editor via the calculation control in the Application Designer.

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:

http://docs.intrexx.com/intrexx/version/7000/api/formula/overview-en.redirect

Menu Edit

Save intermediately

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.

Insert

This command opens a list of all items on the current page. Select the item that is to be used in the script.

Undo

Undo the most recent step in the edit.

Repeat

Repeats the most recent action.

Search

Opens a dialog in which expressions can be searched for and replaced in the script.

Delete row

Deletes the row, in which the cursor is located, from the script.

Go to row

Opens a dialog in which a row number can be entered for selection in the editor.

Comment on/off

Inserts // into the script to convert a row into a comment.

Search library

Jumps to the search box on the Libraries tab.

Search in functions

Jumps to the search box on the Functions tab.

JSDoc insert

Opens a list of available JSDoc tags at the cursor position. JSDoc is a syntax for adding inline documentation of functions. Facilitates the creation of JSDocs that significantly increase the clarity of your feature set.

The following JSDoc-Tags are supported: @author, @deprecated, @description, @example, @param, @private, @public, @returns, @throws, @version. Select the required tag. The tag should be inserted in a comment. Directly after the tag, enter the expression, that you wish to see in the Documentation area of the Functions tab when you select a function.

Syntax check

The syntax check identifies incomplete pairs of parentheses and other potential errors in the script.

Delete spaces/tabs at end of line 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.

View Menu

Show Functions

Shows or hides the tab Functions.

Show Libraries

Shows or hides the tab Libraries.

Show Application Structure

Shows or hides the tab Application Structure.

Restore Default View

Restores the original view of the Editor after a restart of the Portal Manager.

Full Screen

Maximizes the editor.

Setting Markers

When opening an application or process, JavaScript and Groovy will be searched for comments that contain the character string //FIXME or //TODO. The expressions FIXME and TODO have to be placed directly after the comment string //. Hits will be noted in the messages area with this icon. With a double click on a hit the corresponding internal editor will be opened. Here again the comment will be marked with this icon in the left column in the editor. In the status line the number of tasks and the line of the first task will be shown.