How can I display results from a stand-alone table using Gecortex Workflow and Mobile?
I'm running a workflow (5.19) in a Geocortex Mobile (5.7) application using Geocortex Go for Windows (5.15.0.603).
The webmap used contains several layers and a stand-alone Table. I.e.: this table does not have a relation to any features in the map.
When exploring the map object, however, the table is included in the tables list.
I want to display results from this table in the results list. I'm trying to do this with the following steps:
- Get table using the Get Table activity
- Query features from this table using Query Layer activity
- Run Operation "results.from-graphics"
- Display these results using Command "results.display"
This, however, returns a result that has attributes, but does not have any title or displayfield. Adding these in the "schema" parameter of the results.from-graphics operation does not seem to help.
The workflow does yield the right results when using the same Web Map and Workflow in a Geocortex Web Viewer.
The Show-Results activity does not seem to work either, also when entering the Map Service ID or the Layer Service ID. In this case, an empty result is displayed in the list, without any attributes or titles.
Is it possible to display results from a stand-alone table in the Results-list in Mobile, and if so, how?
Thank you in advance!
-
Hi Nino,
Thanks for your detailed description of this issue. This appears to be the same description of an issue that was fixed in the Web 5.15 release, but appears to be working correctly in Mobile. Web and Mobile use different client implementations of Workflow to best suit each platform. I'll check with the Support team regarding this.
Thanks, Stefan
0 -
Hi Stefan,
Thank you for your reply. I'm looking forward to your findings.
0 -
Hi Nino,
I've had success using Get Table > Query Layer > Show Results (rather than Run Operation)
Can you check the attached workflow and see if the configuration looks any different compared to what you've previously tried? If you'd like, you can also test this workflow with the "Capital City" demo webmap that comes in the Mobile Default template when you start a new app (https://www.arcgis.com/home/item.html?id=29f5b94f572d4dcd8a45c1fc095fd528)
Also, do you have any screenshots of how it's failing when configured this way compared to what you'd expect to see? I think I've seen the "empty" behaviour you described when using Show Results, but only when I've used the "Url" input in Query Layer instead of the "Query" input
0 -
Hi Amanda,
Thank you very much for your input. This works out! The cause of my problem was that I was using the query.features object rather than the query.results object in the Show Results activity. When using query.results, it worked.
Kind regards,
Nino
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
4 kommentarer