Hexagon Geospatial
MENU

Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Reply
Contributor
Posts: 66
Registered: ‎05-02-2016
Accepted Solution

Blank form in Offline

[ Edited ]

Hi, I have built two offline forms, but they are appearing without any fields at all.

 

In the error log is

17/10/2016 2:28:31 PM SEVERE: Can't inject form data because of an exception!    --> [JavaFX Application Thread] com.intergraph.web.plugin.offlinedatasupport.OfflineScriptingObject.injectFormData
netscape.javascript.JSException: TypeError: undefined is not a function (evaluating 'IG.initForm()')

 

I found the js file this is referring to, but I'm not sure what the cause/fix is. I have compared to offline forms/actions that work.

Both forms fail in development, yet one works in production oddly enough.

 

Does this ring any bells?

 

Regards,

 

Josh

Staff
Posts: 1,036
Registered: ‎10-18-2015

Re: Blank form in Offline

Hi,

 

please clear the webview folder on the client side (C:\ProgramData\AppData\Roaming\Intergraph\SmartClient\cache\webview) and test it again.

 

Regards,

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Contributor
Posts: 66
Registered: ‎05-02-2016

Re: Blank form in Offline

That didn't work sorry.

 

I also cleared C:\Users\geogjo\AppData\Roaming\Intergraph\WorkflowEditor which didn't help.

At one point the fields did appear but the form was not styled, which I read could be because the synchronisation didn't complete.

 

 

Regards,

 

Josh

Contributor
Posts: 66
Registered: ‎05-02-2016

Re: Blank form in Offline

offline_form.jpg

Occasional Contributor
Posts: 14
Registered: ‎11-18-2015

GMSC on mode offline issues.

We are currently trying to work with a workflow for editing and display a raster image, both in disconnected mode.

Offline WorkFlows:
1) We create a workflow for offline edit (layer polygons)
2) When is Executed geometry can not make or display the attributes edition
3) Using the workflow it's only possible to add a new item.

Using raster images Offline
What are the steps to use raster imagery in offline mode? like ECW or TIF, and how get the better performance?

Staff
Posts: 1,036
Registered: ‎10-18-2015

Re: GMSC on mode offline issues.

Please don't open multiple posts with the same topic.

About the raster I've put an answer here. About the issues present in this topic for offline workflows please provide additional information on how the worlfow is built and the feature settings.

 

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Occasional Contributor
Posts: 14
Registered: ‎11-18-2015

Re: GMSC on mode offline issues.

[ Edited ]

On the link you can download the workflow, the log file, so on.

ArchivoWF.zip Info related with workflow

Staff
Posts: 1,036
Registered: ‎10-18-2015

Re: GMSC on mode offline issues.

is your feature set as offline in the administrator? does your offline action look like this?

 

http://[SERVER]/GMSC/Workflows/SmartClientOffline?workflow=[YOURWorkflow]&form=[OFFLINE_FORM]

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Highlighted
New Contributor
Posts: 2
Registered: ‎10-25-2016

Re: GMSC on mode offline issues.

Hi,

 

im co-worker @enmartin, url parameter in action is defined as follows:

 

http://[Server]/GMSC/Workflows/SmartClientOffline?workflow=INE_wfManzanas&form=formMANZANAOffline

 

 

and the Feature Loader parameter is defined as Offline.

 

when GMSC goes offline, new data can be captured but not modify existing data. GMSC synchronizes all new data when goes online. 

 

Contributor
Posts: 66
Registered: ‎05-02-2016

Re: GMSC on mode offline issues.

Hi,

 

Both the feature and action are as you describe.

 

I'll have another look today and try clearing some files again.

 

Josh

Do you need immediate support?
Please submit a Ticket through our
Development Ticket Portal.