Hi Jan Joost,
I just upgraded the widget in the App Store to also work with Mendix 7. This was a technical issue, because both Mendix and Esri ArcGIS use the dojo framework. When moving from Mendix 6 to Mendix 7, Mendix changed their usage of dojo a bit, which caused the widget to not load properly. Together with Mendix I came up with code fix, which is now available in the App Store:
https://appstore.home.mendix.com/link/app/106094/
The demo project I will update at a later stage.
Thanks Ivo, I will test the widget in our environment
Hi Ivo,
I've got a test result (bug) and a question
Testresult:
When I test with the stations layer and click on a station point on the map like "Utrecht Centraal" , then I receive a runtime exception indicating that ObjectID = undefined.
Question:
With a Mapserver "Gebiedsindelingen_ProRail_005" with Dienstregelpunten (index 21)
I tried to get a PopUp like with the stations above. Unfortunately I didn't get popup's.
Is it not possible to select a point and and activate a MF using a Mapserver?
Stacktrace with the error:
com.mendix.core.CoreRuntimeException: Exception occurred in action '{"xpath":"//ArcGIS.GISObject[ObjectID = undefined and GeometryType = 'point']","amount":-1,"offset":-1,"returnsCount":false,"sort":[],"type":"RetrieveXPathSchemaRawAction"}', all database changes executed by this action were rolled back
at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.processErrorState(CoreActionHandlerImpl.scala:160)
Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: An exception has occurred for the following request(s):
InternalLimitedXPathTextGetRequest (depth = 0): //ArcGIS.GISObject[ObjectID = undefined and GeometryType = 'point']
at com.mendix.connectionbus.RequestAnalyzer.doRequest(RequestAnalyzer.java:62)
Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: Entity 'ArcGIS.GISObject' doesn't contain association 'undefined'. Entity is used in path 'ArcGIS.GISObject'., exception occurred on mapping the following query: SELECT ArcGIS.GISObject/* FROM ArcGIS.GISObject WHERE (ArcGIS.GISObject/ObjectID = ArcGIS.GISObject/undefined AND ArcGIS.GISObject/GeometryType = 'point')
Let me know if this sorts it out for you!