Workflow Editor

From GeoMedia Smart Client
Jump to: navigation, search
Workflows Overview Editor Settings Design API Changes Navigation Concept JavaScript API


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:

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

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 (see Chapter Workflow) 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 Source mode
WE Design2.png WE Source.png

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

WE Design.png

Note: 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.


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.


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 → GeneralEditorsText EditorsShow line numbers. With the shortcut CTRL + SPACE the user gets possibilities for the next entry.

Pfeil new.png To the top Pfeil new.png

Form Generator

The Form Generator button is getting active, when the user is in the Source mode. How to switch between the modes is described above.

Form generator.png

There is also a shortcut (CTRL + G) to start the Form Generator.

Form gen1.png



MS SQL-Server:


If the form generator is getting started, a window opens, where the database connection must be typed in (see figure above). There is the standard support for Oracle and MS-SQL Server. The entries are saved and if a new session is started the entries can be recalled (via a drop down list named Saved Sessions).

Form gen2.png

Select the tables which should be used in the workflow; click Next.

Form gen3.png

Select the columns which should be used in the workflow. In this window all attributes of the columns can be modified. After clicking Finish the FormSettings.xml gets an update with all selected tables, columns and attributes.

Pfeil new.png To the top Pfeil new.png


It is possible to write a workflow and to display it in a different language. For this step a resource file is needed. In the Workflow-Editor click PerspectiveResources Perspective to open up the resource editor. Click PerspectiveXML Perspective to open the xml perspective again.

Pfeil new.png To the top Pfeil new.png

Resource Perspective

In the resource perspective you decide at first if you want to create a new resource file or edit an existing resource file. By clicking New wiz.gif Create Resource (CTRL + R) you create a new resource file. There you decide at first in which language you want to have the resource file (drop down list) and then click OK. By clicking Fldr obj.gif Open Resource you open an existing resource file to edit.

The first step in the new window is clicking Refresh.png Update Resources (CTRL + U). There the WorkflowEditor generates all possible resource keys, and when editing an existing resource file, it deletes the not used resource keys. The WorkflowEditor only updates the columns Key and Default Label so the user updated values will not harm.

Resource perspective.png

In the column Value it is possible to change the display text into the language you have chosen before. If you finish with your resource file it is possible to save the resource file by click the Saveall edit.gif Save Resource.

Pfeil new.png To the top Pfeil new.png

Project Structure

Folders for File-Storage:

  • Form-File: MyNewProject.xml
  • Workflow-File: MyNewProject.xml
  • Ressources-File: MyNewProject-en.resx
  • Referencing with: MyNewProject

Directory for the respective File:

  • Form-File: In the FormSettings directory (for example, D:\Program Files\Intergraph\Program\Workflows\FormSettings)
  • Workflow-File: In the WorkflowSettings directory (for example, D:\Program Files\Intergraph\Program\Workflows\WorkflowSettings)
  • Ressource-File: In the Ressources directory (for example, D:\Program Files\Intergraph\Program\Workflows\App_GlobalResources)


test To the top Pfeil new.png

*.wepf file can't be opened