GMSC Discussions

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Posts: 37
Registered: ‎10-12-2015
Accepted Solution

GMSC Client Extension Deployment facing issue.

Hi Team,


I am following

mentioned step, still not able to see scriptingobject and it's function in javascript.


code snippet of class is:

package com.hgdn.gmsc.india.extensions;
import com.intergraph.web.core.kernel.ApplicationContext;
import com.intergraph.web.plugin.webbrowser.handler.AbstractScriptingObject;
import com.intergraph.web.plugin.webbrowser.handler.Deferred;
import com.intergraph.web.plugin.webbrowser.handler.ScriptingObject;

@ScriptingObject(name = "ClientSessionFilterSO")
public class ClientSessionFilterSO extends AbstractScriptingObject


public Object setFilter(String sourceFeature, String featureToFilter, String selectedElement){return swingInvoke(() -> {... return Deferred.resolve(true);});}

public Object removeFilter(String featureToFilter){return swingInvoke(() -> {... return Deferred.resolve(true);});}


I have one more file in src->META-INF->services->com.intergraph.web.plugin.webbrowser.handler.IScriptingObject. It contains "com.hgdn.gmsc.india.extensions.ClientSessionFilterSO"


I am accessing scripting object in test.js as window.ClientSessionFilterSO as well as window.ClientSessionFilterSO.setFilter('','','') both are not accessible.



Jai Ram Gaur

Community Manager
Posts: 164
Registered: ‎10-09-2015

Re: GMSC Client Extension Deployment facing issue.

Hi jai,

after a quick shot on your code, I noticed that you call the method setting only 2 parameters. Your setFilter method requires 3 parameters. Maybe this is the issue.

Furthermore there are some samples for Scripting Objects on Bitbucket:

a discription will follow soon. So far we just managed to upload the code. 

You can find scripting objects in the Google Streetview Sample.  


Hope this helps.




Thomas Anzinger
Community Manager
Posts: 37
Registered: ‎10-12-2015

Re: GMSC Client Extension Deployment facing issue.

Hi Team,


I was creating wrong type of project, rest all was fine. I found one PDF file with all the steps to create project till deployment of plugin.

I am able to do my task now.



Jai Ram Gaur