Hexagon Geospatial
MENU

Developers Knowledge Base

GeoMedia Smart Client Workflow Manager provides tools for building and delivering highly-constrained, map-based workflows for the office or the field.
Showing results for 
Search instead for 
Do you mean 

Developing Client Extensions

by Community Manager on ‎11-20-2015 01:03 PM - edited on ‎10-25-2018 09:06 AM by Technical Evangelist (1,394 Views)

Introduction

To extend the GMSC Client, you can use the IDE of your choice. However we recommend to use the Eclipse IDE as this is the IDE used by the product center team. 

Therefore this article describes how to get started with GMSC Client development using the Eclipse IDE.

Prerequisites

  • JDK11
  • Eclipse SimRel | 2018-09 Edition 
  • Make sure that Eclipse is configured to use the JRE of the JDK11:
    Go to Window --> Preferences --> Java --> Installed JREs
    JDK11

Getting Started

  1. Create a workspace
  2. Get the template project sources from: https://bitbucket.org/HGDN/hgdn_gmsc/src/master/Client/Templates/gradle-gmsc-project/
  3. Import the template project: File --> Import --> Gradle --> Existing Gradle Project (Project root directory: C:\hgdn_gmsc\Client\Templates\gradle-gmsc-project)
  4. Make sure that the JRE System Library is [JavaSE-10] and mapped to JDK11 (the mapping is done automatically when Window --> Preferences --> Java --> Installed JREs contains only the JDK11)JRE System Library
  5. Start creating your extensions:
    • see example: src\main\java\com\hexagon\gmsc\sample\DemoPlugin.java
    • add your plugin in: src\main\resources\META-INF\services\com.intergraph.web.core.kernel.plugin.SmartClientPlugin
  6. Create Run Configuration: Run --> Run Configurations --> Java Application
  • Main tab
    As project select the template project
    As main class select com.intergraph.web.SmartClient
    Run configuration main

  • Arguments tab
    As project arguments define the Url to connect to the GMSC server and the site
    As VM arguments set: -Djava.library.path="${project_loc}\build\natives"
    Run configuration arguments  
  • Apply --> Run
Comments
by Atiqah
on ‎01-30-2019 07:12 PM

Hi, i can't access link from bitbucket. 

by Technical Evangelist
4 weeks ago

Hi Atiquah,

You must purchase HGDN Subscription in order to be able to access HGDN BitBucket repository. If you do have the subscription and still can't access BitBucket, please log a support ticket for BackOffice product.

 

Thanks,

Jan

Overview