Error loading Workflow Form in disconneced mode
When in disconned mode. They appears an error with loading the Workflow Form.

Its logical because it couldn't interact with the service. So you have first to create a map area..
But it is not very useful for the user to know , this is not a developer error but an error because the lack of an offline map area..
Is this as designed? Or is the intention to show the user a more friendly message? Kind of ‘first create and activate an offline map area..’
-
You can do that yourself in the workflow, see for instance these operations: offline.check-for-active-area or offline.get-areas
0 -
Hi Niels Willemot, yes this message was the intention because Disconnected mode also works with MMPKs without the need for map areas. The first line was supposed to more or less describe the issue when it says “Disconnected mode is active. Network requests are disabled.” Which is supposed to hint at no offline capabilities needed to run the query task.
I've not tested it myself, but Berend Veldkamp's suggestion could be quite a nice way around this. You may wrap the query in a Try-Catch block and, if an error was caught, you check for areas and if Disconnected mode is active. You can check for Disconnected mode using the command network.are-web-requests-disabled.
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
2 commentaires