Editors
Stylesheet editor
JavaScript editor
Groovy script editor
Velocity editor
Formula editor
Functions
Libraries
Application structure
Edit menu
View menu
Status line
|
Some of the editors described here are only available in Expert
mode. You can find out how to enable this mode
here.
|
Stylesheet editor
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.
JavaScript editor
With the JavaScript editor, you can expand the functionality of applications. 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");
On the
Functions tab, the current functions defined
in the current JavaScript are listed. You can search for a function at the top
of the area.
Reset filter
Click on this button to reset the search field.
Sort
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
Integration module during a
data transfer,
if Groovy script is selected as a data source or target. Additionally, it can be
found in the
Processes and
Applications
modules. In the
Processes module, it can be opened by pressing F12 from the
workspace. F11 maximizes
the editor window. In the
Applications
module, the editor can be reached via the
application properties
on the
Handler
tab.
Velocity editor
The Velocity Editor is available in the
Processes and
Application
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:
http://docs.intrexx.com/intrexx/version/7000/api/formula/overview-en.html
XML editor
All information regarding this editor can be found
here.
Filter editor
All information regarding this editor can be found
here.
Libraries
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.
Reset filter
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:
- <intrexx>/client/cfg/templates/ECMAScript/custom/<filename>.xml
- <intrexx>/client/cfg/templates/formula/custom/<filename>.xml
- <intrexx>/client/cfg/templates/groovy/custom/<filename>.xml
- <intrexx>/client/cfg/templates/velocity/custom/<filename>.xml
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:
- C:\ProgramData\intrexxclient80000\cfg\templates\ECMAScript\custom\<filename>.xml
- C:\ProgramData\intrexxclient80000\cfg\templates\formula\custom\<filename>.xml
- C:\ProgramData\intrexxclient80000\cfg\templates\groovy\custom\<filename>.xml
- C:\ProgramData\intrexxclient80000\cfg\templates\velocity\custom\<filename>.xml
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:
- C:\ProgramData\intrexxclient80000_<instance>\cfg\templates\ECMAScript\custom\<filename>.xml
- C:\ProgramData\intrexxclient80000_<instance>\cfg\templates\formula\custom\<filename>.xml
- C:\ProgramData\intrexxclient80000_<instance>\cfg\templates\groovy\custom\<filename>.xml
- C:\ProgramData\intrexxclient80000_<instance>\cfg\templates\velocity\custom\<filename>.xml
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.
- Edit
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:
Link targetOpens the website, that is specified as the link, in the browser.
EditOpens the properties dialog.
Show descriptionDisplays 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.
|
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.
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 while editing the script.
Redo
Repeats the most recent action.
Search
Opens a dialog in which expressions can be searched for and replaced in the script.
Delete line
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.
Comment/Uncomment block
Inserts // into the script to convert a line into a comment.
Search in library
Jumps to the search box on the
Libraries tab.
Search function
Jumps to the search box on the
Functions tab.
Insert JSDoc
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:
- @author
- @deprecated
- @description
- @example
- @param
- @private
- @public
- @returns
- @throws
- @version
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.
Syntax check
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.
Show functions
Shows or hides the
Functions tab.
Show libraries
Shows or hides the
Libraries tab.
Show application structure
Shows or hides the
Application structure tab.
Restore default view
Restores the original view of the editor, after the Portal Manager has been restarted.
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 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
icon.
With a double click on a hit the editor will be opened.
Options
The font and font size can be defined here.
Status line
In the status line the number of tasks and the line of the first task will be shown.