Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

The Ultra Format Editor allows users to introduce format definitions in the system to be used by agents in workflows. Definitions are described using the Ultra Format Definition Language (UFDL).

A saved format definition will have its name displayed in the title. Other than selecting Decoder, Encoder, and UDR Type definitions, formats can be imported from APL code, as well as directly from other Ultra definitions:

import ultra.folder_name.module_name; // From APL code

import folder_name.module_name; // From UFDL code

To open the editor, click the New Configuration button in the upper left part of the  Desktop dialog, and then select Ultra Format from the menu.

Ultra Format Editor

Syntax Highlighting

In the code area, the different parts of the code are color coded according to type, for easier identification, and when right-clicking in the code area, a context sensitive popup menu appears, enabling easy access to the most common actions you might want to perform.

The text is color coded according to the following definitions:

Blue - Functions

Green - Types

Orange - Comments

Purple - Key words

Yellow/Green - Values

Ultra Format Editor Menu

The main menu changes depending on which configuration type that has been opened in the currently active tab. There is a set of standard menu items that are visible for all configurations and these are described in the Desktop User's Guide.

The menu items that are specific for Ultra Format Editor are described in the following sections:

The File Menu

ItemDescription

Import...


Select this option to import code from an external file. Note that the file has to reside on the host where the client is running.

Export...

Select this option to export your code to an *.ufl file that can be edited in other code editors, or be used by other  systems.


The Edit Menu

ItemDescription

Validate


Compiles the current Ultra code, checking for grammatical and syntactical errors. The status of the compilation is displayed in a dialog. Upon failure, the erroneous line is highlighted and a message, including the line number, is displayed.

Undo


Select this option to undo your last action.

Redo


Select this option to redo the last action you "undid" with the Undo option.

Cut


Cuts selections to the clipboard buffer

Copy


Copies selections to the clipboard buffer

Paste


Pastes the clipboard contents

Find...

Displays a dialog where chosen text may be searched for and, optionally, replaced

Find Again


Repeats the search for the last string entered in the Find dialog


The View Menu

ItemDescription

History

Each time a configuration is saved, a new version is created. Many versions of a configuration may exist but only the last version can be modified and executed. The old versions are kept for log and rollback reasons. Select History to examine old configurations in the Historical Configurations panel. The panel will appear at the bottom of the Configuration tab and holds a list of all versions. Arrow buttons are used to step back and forward between the different versions. Rollback to an old version of a configuration is handled by opening and saving the old version. A comment is automatically added, stating that the current version was created from a historic one.

A configuration history

References


Click to see the Reference Viewer listing references to and from the active configuration. The Reference Viewer includes the following tabs:

  • Used By: Displays a list of other configurations that refer to the configuration. For example: a workflow group that refers to a workflow.

  • Uses: Displays a list of other configurations that the configuration refers to. For example: a workflow configuration that refers to a specific profile.

  • Access: Displays the group of users that may access the configuration, and the user that created (owns) the configuration.


Ultra Format Editor Buttons

The toolbar changes depending on which configuration type that is currently open in the active tab. There is a set of standard buttons that are visible for all configurations and these buttons are described in the Desktop User's Guide.

 The additional buttons that are specific for Ultra Format Editor tabs are described in the following sections:


ButtonsDescription

Validate

Compiles the current Ultra code, checking for grammatical and syntactical errors. The status of the compilation is displayed in a dialog. Upon failure, the erroneous line is highlighted and a message, including the line number, is displayed.

Undo

Select this option to undo your last action.

Redo

Select this option to redo the last action you "undid" with the Undo option.

Cut

Cuts selections to the clipboard buffer

Copy

Copies selections to the clipboard buffer

Paste

Pastes the clipboard contents

Find...

Displays a dialog where chosen text may be searched for and, optionally, replaced

Find Again

Repeats the search for the last string entered in the Find dialog

Zoom Out

Zoom out the code area by modifying the font size. The default value is 12(pt). Clicking the button between the Zoom Out and Zoom In buttons will reset the zoom level to the default value. Changing the view scale does not affect the configuration.

Zoom In

Zoom in the code area by modifying the font size. The default value is 12(pt). Clicking the button between the Zoom Out and Zoom In buttons will reset the zoom level to the default value. Changing the view scale does not affect the configuration.

Configuration Diff Panel

If you want to compare the current version of an Ultra configuration that you are displaying with a previous version of the same configuration, you can use Configuration Diff to compare the two versions side by side.

To hide or display the Configuration Diff panel, click the vertical Diff button to the right of the Ultra Format Editor. The panel can be hidden or visible. By default, it is hidden. 

Ultra Format Editor - Configuration Diff panel

You can navigate through the differences by scrolling both panes in parallel using the scroll bar to the right of either pane. If you want to scroll through each pane separately, hover over the pane that you want to scroll through, and use the scroll wheel on your mouse.

If you want to skip through each difference in the panes, you can use the navigation buttons, Previous, Next and Refresh, which are described below.

ItemDescription
History

Click the History drop box to select the version to which you want to compare the version currently displayed.

You can also display and view encrypted configurations. If you select an encrypted configuration, you are prompted to enter the relevant password to decrypt the configuration.

Previous
 
Click this button to skip to the previous difference in the configurations. The previous difference is highlighted in green.
Next
 
Click this button to skip to the next difference in the configurations. The next difference is highlighted in green.
Refresh
 
Click this button to display the updated version of the configuration. Configurations are not locked when you display them in Configuration Diff. If another user has modified and saved a configuration that you are viewing in this tool, you can click this button to view the latest updated version.

  • No labels