POST
|
Hi ExB community, I have an app with some widgets that display data from a feature layer with fields containing, among other things, phone numbers. If a user is viewing the app on a phone, I would like to enable them to click a phone number and place a call. Right now the phone number is just normal text and is not clickable. Is this kind of behavior currently possible or will it be? Thanks, Ken
... View more
02-02-2020
01:58 PM
|
0
|
1
|
1106
|
POST
|
No problem. There is nothing you need to do in map applications for this. It's simply a matter of sending features to your feature layers. To add features programmatically via web requests, your code should send features in json arrays to the addFeatures REST endpoint of the feature service in question. See this doc: Add Features—ArcGIS REST API: Services Directory | ArcGIS for Developers for more details and examples. Thus the inReach Portal would forward messages from inReach devices to the rest endpoint of your Azure Function, which will reformat the inReach json into ArcGIS feature json and POST it to your feature layer.
... View more
01-16-2020
11:26 AM
|
0
|
9
|
5619
|
POST
|
Kara I looked through my old files for the HttpHandler I wrote but it's been quite a while so I'm afraid I have nothing to send. However, in the interest of keeping it modern you can certainly do this on any of the major cloud platforms using serverless compute such as Amazon Web Services Lambda, Azure Functions, or whatever Google calls their incarnation of this. This tutorial walks you through setting up a serverless compute resource on Azure (for free): Create your first function in Azure using Visual Studio Code | Microsoft Docs . Your folks can pick their development language from some of the popular ones: JavaScript, Java, C#, Python, etc. Following this tutorial I was able to set up a function to receive GET or POST requests and return a response. You could then modify the code to receive inReach messages, reformat them to feature service json and send them via http POST requests to the ArcGIS feature service of your choice. Again, some internet searches turned up examples of how to make http POST requests from within Azure Functions. Sorry I cannot provide actual code examples of my old HttpHandler. But if I were to set out to recreate such a capability I would leverage AWS, Google or Azure serverless compute resources instead. Good luck. Ken
... View more
01-16-2020
10:42 AM
|
1
|
11
|
5619
|
POST
|
Thanks Owen. I suspected it might be something about the older device that was getting in the way. Maybe time for an upgrade.
... View more
01-14-2020
10:57 AM
|
0
|
5
|
3212
|
POST
|
I have a storymap built using the new (beta) style and when I open it in Chrome, Firefox or MS Edge on my Windows 10 laptop it displays fine. However in Safari on a mobile phone the text and images appear and behave as expected but the maps do not load. The place where they would display loads as a light gray box. If I open the storymap in Chrome on the same mobile device all elements display as expected. The phone is an older iPhone 6s+ so I was wondering if this problem might be isolated to older devices. I will try to locate a newer one on which to test, but was wondering if there any more detailed device and browser requirements or if this is a known issue? I found some browser requirements here: System requirements—ArcGIS StoryMaps | Documentation but it makes no mention of versions or devices. Thanks, Ken
... View more
01-14-2020
07:49 AM
|
0
|
10
|
4166
|
POST
|
David, nevermind. I figured out to set a link in the list that will switch to the feature info and added a button on the feature info to return to the list. Thanks.
... View more
12-19-2019
09:41 AM
|
0
|
0
|
1618
|
POST
|
Thanks David, this is what I am looking for. However I cannot figure out from the finished example you shared how to enable it in my app. Can you provide more clues or a sample ExB project? Thanks, Ken
... View more
12-18-2019
04:26 PM
|
0
|
3
|
1618
|
POST
|
Hi ExB folks, I am trying to make an ExB app that functions similar to the way the Storymap Shortlist behaves: when you click an item in the list, the List widget is replaced with a Feature Info widget. Closing the Feature Info widget replaces it with the List widget. However I cannot seem to find a way to control widget visibility, swap out one for another or implement this by other means. Is there a way to make this happen in an ExB app?
... View more
12-13-2019
05:13 AM
|
0
|
5
|
1804
|
POST
|
Absolutely. And in perspective if all you need to do is log inReach data to ArcGIS, Geoevent Server is serious overkill - way more than what is needed. However, you will need something to receive the inReach data, reformat it to to Esri json and send it to your feature service. One method I have used in the past is a custom http handler. The Garmin Portal is equipped to send to any REST endpoint so you could write a simple http handler and host it on a web server. The web server would provide the REST endpoint to which Garmin could send the inReach messages. As they are received the http handler could reformat them into feature json and POST them to the addFeatures method of a feature service in your ArcGIS portal. This is a relatively simple task for a web developer. Also there are cloud based ETL (extract, transform, load) platforms that you might be able to leverage. Do an internet search on 'cloud etl arcgis' and see what you can find. I have not used any of these so I have no perspective as to the cost effectiveness, ease of use, reliability etc of these.
... View more
09-18-2019
08:09 AM
|
2
|
13
|
5617
|
POST
|
Many users have implemented a solution using Geoevent Server. You set up an input using the 'Receive JSON on a REST Endpoint' input connector. Upon saving that input it will generate a url (the REST endpoint) that you can copy to your system clipboard. Then navigate to the Garmin portal (https://explore.garmin.com/ ) > Settings tab > Portal Connect subtab (or go here: https://explore.garmin.com/IPC/). On the Configuration tab under Outbound Settings click the button to turn the Outbound Settings on and paste the url to the geoevent input in URL text box. Click Test to verify the Garmin Portal can reach your input. Then click Save at the bottom of the page. Then all messages sent from your inReach (outbound messages) when they reach the Garmin portal, will be forwarded to your Geoevent Server.
... View more
09-17-2019
02:33 PM
|
0
|
15
|
5617
|
POST
|
Ok It turned out to be a simple fix to what is probably a noob problem. I originally built the body parameter of the NetworkRequest as json and passed it in send(body). This never gave me problems with other NetworkRequests but for each of those I construct body parameters of flat json. This one has nested json, but by calling send(JSON.stringify(body)) it completes successfully. Ken
... View more
05-29-2018
04:12 PM
|
0
|
0
|
798
|
POST
|
So I was finally able to get back to this and by inspecting the requests/responses in my browser dev tools while going through this using the AGOL interface I figured out what I think is the correct approach: fetch the json of the template feature service which I store in a variable templateJson call isServiceNameAvailable and pass in the proposed name of the new service: the response I get is "{\"available\":true}" which I know it is. call createService passing in something like this json: "createParameters": { "currentVersion": templateJson.currentVersion, "serviceItemId": templateJson.serviceItemId, "serviceDescription": "", "hasVersionedData": false, "supportsDisconnectedEditing": false, "hasStaticData": false, "maxRecordCount": templateJson.maxRecordCount, "supportedQueryFormats": "JSON", "supportsVCSProjection": templateJson.supportsVCSProjection, "capabilities": templateJson.capabilities, "description": "", "copyrightText": "", "allowGeometryUpdates": templateJson.allowGeometryUpdates, "units": templateJson.units, "supportsAppend": templateJson.supportsAppend, "syncEnabled": templateJson.syncEnabled, "extractChangesCapabilities": templateJson.extractChangesCapabilities, "supportsApplyEditsWithGlobalIds": templateJson.supportsApplyEditsWithGlobalIds, "supportsOBACForAnonymousUsers": templateJson.supportsOBACForAnonymousUsers, "editorTrackingInfo": templateJson.editorTrackingInfo, "changeTrackingInfo": templateJson.changeTrackingInfo, "xssPreventionInfo": templateJson.xssPreventionInfo, "name": the proposed name of the new service }, "targetType": "featureService", "f": "json", "token": myToken the response I get is: "{\"success\":false,\"error\":{\"message\":\"Service name 'null' already exists for 'Nxxxxxxxxxxxxxx1'\"},\"isView\":false}" So what value am I not sending in correctly and why does it tell me the name is available and then tell me otherwise? Thanks, Ken
... View more
05-22-2018
07:38 AM
|
0
|
2
|
798
|
POST
|
I have an app I created in AppStudio that runs on iOS, Android and Windows in which I have enabled the use of mobile map packages for offline maps. I configured the app to be able to search for, download, store and use mmpks. But if the device also has Explorer for ArcGIS installed and has mmpks for it, can I also leverage those so as to not potentially duplicate stored data? If so, where on the device can I access them? Thanks, Ken
... View more
04-23-2018
11:10 AM
|
0
|
0
|
330
|
POST
|
I have an app I created in AppStudio that runs on iOS, Android and Windows in which I have enabled the use of mobile map packages for offline maps. I configured the app to be able to search for, download, store and use mmpks. But if the device also has Navigator for ArcGIS installed and has mmpks for it, can I also leverage those so as to not potentially duplicate stored data? If so, where on the device can I access them? Thanks, Ken
... View more
04-23-2018
11:08 AM
|
1
|
0
|
338
|
POST
|
Thanks Nakul, this is helpful. In the case of Explorer and Navigator, are the paths known? I was using my app today and needed an mmpk. It occurred to me I had an appropriate one downloaded in Navigator and realized the inefficiency of downloading it again. Searching GeoNet I found the path for Explorer on Android. How can I find out the paths for Explorer on iOS and Navigator in both platforms? I guess I should talk to someone from those teams, right?
... View more
04-06-2018
08:18 AM
|
0
|
1
|
561
|
Title | Kudos | Posted |
---|---|---|
1 | 07-03-2024 07:56 AM | |
1 | 02-03-2020 10:53 AM | |
1 | 03-18-2020 09:12 AM | |
1 | 05-24-2021 09:38 AM | |
1 | 02-05-2020 11:00 AM |
Online Status |
Offline
|
Date Last Visited |
04-22-2025
04:23 AM
|