Showing results for 
Search instead for 
Do you mean 

Offline Data Capturing

by Technical Evangelist on ‎11-25-2016 03:01 AM (904 Views)

GeoMedia Smart Client enables you to define disconnected workflows that will enable your end user to capture and edit attributive and spatial data while offline from the internet. You can use the Workflow Manager to build offline workflows and create forms. A synchronization process enables you to post edits when the client reconnects.

This tutorial describes how to build and integrate a offline workflow in GeoMedia Smart Client and which restrictions has to be considered.





  • Installed GeoMedia Smart Client Workflow Manager which enables you to write your own workflows
  • Knowledge about the GeoMedia Smart Client Workflows
  • A preconfigured feature which is already visible in GeoMedia SmartClient





A feature which should be editable in offline-mode has to use the Feature loader which is called Offline. This loader allows you to cache and modify your data while you are offline from the internet.




The next step is to create a new Action which is based on the offlineBrowseWorkflow action.


After saving the new action, you will be forwarded to the form EDIT ACTION, which allows you to define preconditions for your action and essential settings like the url to your offline workflow. There are some parameters which are required in case of an offline workflow:

  • activeFeature - use your feature name or id
  • activeFeatureRequired must be true
  • maximumSelection must be 1
  • url - use the url to your offline workflow

Note: You have to define the entire URL by your own. An example of such a URL can look like:



So your workflow must at least contain one offline form to be available in offline mode. One important parameter is SmartClientOffline. This parameter allows you to use the workflow in offline mode.




You have to assign the Offline action to the corresponding role, so that you have access to this action in Smart Client itself.





A very important step is the synchronization of your GeoMedia Smart Client, because this ensures that all your data (Spatial data, workflow, etc.) are available while your are offline from the internet. There are three parts which have to be synchronized, before you can start your GeoMedia Smart Client and use your workflow in offline-mode.

  1. Project configuration - the project configuration will be synchronized automatically, if you are start the required project. The synchronization process is complete when you are see the map in your Smart Client.
  2. Offline-workflow - the offline workflow configuration will be synchronized automatically, if you are start the project. The synchronization process can take a while, which depends on your connection rate and the number of workflows. Please check your log file, if you want to ensure that the synchronization process is done.
  3. Spatial data - Your spatial data can be synchronized by the use of the GeoMedia Smart Clients Synchronize Cache function.

Note: that the synchronization of offline-data-capturing features can take a while because of the large amount of data which will be transferred. Therefore you should only synchronize the data that you really need during the offline-mode. The GeoMedia Smart Client shows you a warning, if you try to synchronize a offline-data-capturing feature and you don't restrict the synchronization range.



Start Offline Data Capturing:


If your offline-workflow is ready and you have synchronized your data, than you can start with the offline data capturing.

First you have to start GeoMedia Smart Client in offline-mode. This will done automatically, if you cut the connection to your GeoMedia Smart Client Server and start GeoMedia Smart Client from the submenu "Start - Programs - GeoMedia Smart Client". Your Smart Client is started successfully in offline-mode, if your login screen looks like the following.


Now you only have to set active your offline-data-capturing feature and open your offline workflow, to create a new data set.


New an changed geometries will be colored specially, so that the user is able to identify geometries which are out-of-sync.

GeoMedia Smart Client synchronizes all offline changes the next time when Smart Client will be started and the connection to the GeoMedia Smart Client Server is available. A dialog like the following informs the user that offline-changes exist and gives the user the possibility to drop offline-modifications.


Each modified primitive will be synchronized separately, so that the user can act if a conflict exists or a validation fails.

if the synchronization process is done, the following dialog informs the user.



Attached you will find a complete sample based on Building Extensions for Las Vegas.