Editor

Workflow Manager Developer Guide

HGD_Variant
15.00
HGD_Product
GeoMedia Smart Client
HGD_Portfolio_Suite
Platform

The generation of HTML-Workflows can be simplified by using the GeoMedia Smart Client Workflow Editor. You can call the editor from your browser at: http://yourServer.com/GMSC/workflows/editor.

The easiest way to create a new workflow is done by using the Workflow-Editor:

  • Start the Workflow-Editor (URL).
    • Define the WorkflowEditorProjectFile (*.wepf) directory

WE_Workspace_Selection.png

Content of a *.wepf-File:

#Created by SmartClient WorkflowEditor - DO NOT EDIT THIS FILE
#Mon Jul 18 13:15:52 CEST 2011
project.name=MyNewProject
workflow.version=3.0
resourceSettings.dir=App_GlobalResources
formSettings.dir=FormSettings
workflowSettings.dir=WorkflowSettings

After defining the directory of the *.wepf file, the Workflow-Editor main window opens:

WE_Start.png

At the top of the main window the user can switch between the FormSettings.xml and WorkflowSettings.xml (red bordered in the following figure).

WE_xmltab.png

In the WorkflowSettings.xml, the user defines the hierarchical application logic; whereas in the FormSettings.xml, the user defines the graphical user interface of the workflow application (see Chapter Form).

There are basically two cohesive modes:

  • Design
  • Source

The first one allows the user to specify the elements without any XML knowledge, whereas in the second the user is able to modify the corresponding XML file.

Design Mode

WE_Design2.png

Source Mode

WE_Source.png

There are two tabs to switch between the modes (red bordered in the following figure).

WE_Design.png

light_bulb_icon The following descriptions and so on refers to the FormSettings.xml.

At the bottom of the Workflow-Editor window there are two more tabs, which gains more information for the user. On the one hand is the Properties tab and on the other the Problems tab. The first one shows every possible attribute which can be used for each element and the user has also the possibility to type in Values, which are automatically shown in the main window afterwards.

properties.png

At the Problems tab, the user sees if the validation fails. To validate the XML file right click somewhere in the main window and then Validate (only available in the Source mode). If there is a problem with the validation the user can click on one problem and the program jumps automatically to this specific line.

Problems.png

On the right side of the main window is a tree named Outline. There are all elements listed and if the tab Source is active and the user double clicks on one element the program marks the element and it is much more easier to modify the specific element. The following figure shows an active FormField (on the left side) and the corresponding source code (on the right side).

Form_tree.png

The user can also change the project (File > Change Project).

Right click in the main window and Preferences allows the user to change a few options regarding to the editor. These options are for example font color and font style or displaying line numbers in the editor. For this option you have to click in the Preferences window → General Editors → Text EditorsShow line numbers. With the shortcut CTRL + SPACE the user gets possibilities for the next entry.