10-16-2016
08:44 PM
- last edited on
10-18-2016
07:21 AM
by
jan.neumann
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
Solved! Go to Solution.
10-18-2016 11:15 PM
Hi,
please clear the webview folder on the client side (C:\ProgramData\AppData\Roaming\Intergraph\SmartClient\cache\webview) and test it again.
Regards,
Stefano
10-19-2016 03:48 PM
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
10-19-2016 03:51 PM
10-19-2016 09:22 PM
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?
10-20-2016 01:38 AM
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
10-21-2016 11:22 AM - edited 10-21-2016 11:24 AM
On the link you can download the workflow, the log file, so on.
10-25-2016 05:57 AM
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]
10-25-2016 11:20 AM
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.
10-25-2016 02:33 PM
Hi,
Both the feature and action are as you describe.
I'll have another look today and try clearing some files again.
Josh