POST
|
Hi all, DISCLAIMER: I am not a web developer! I would like to build a widget (or two) that can authenticate to an API and then use the session ID from the response to be used for subsequent GET and POST calls. As I understand it I cannot set cookies from the client. I read up on the standard sessionStorage but not sure how that would work within widgets. I have built a python script to do this using sessions that does this easily and I am looking for an approach that will either make this possible in a single widget or (even better) I could have a authenticate widget and then use it another widget - perhaps using the DataManager (but that is for another time). the objective is to authenticate to an Asset Management API and then download either, asset informatin, work orders and display them as point data within a feature collection in the map. If anyone has experience or examples that could help, please share. Thanks in advance, Gareth
... View more
02-17-2020
05:03 PM
|
0
|
0
|
317
|
IDEA
|
Hi Survey123 for ArcGIS, Having agencies storing corporate information in many different systems can be hard to bring together to make useful workflows. I know there is Power Automate to send data after collection and there is the formula work that can be done, but I think it would be very powerful if you could consume external API providers to actually create surveys. Essentially Survey123 could merge the 3rd party API data with spatial storage in one! We have used #Postman to create collections of API calls and it would be awesome if I could build a survey based on the Postman collection. I have seen this popping up in other systems recently e.g. Microsoft Power BI Create a custom connector from a Postman collection | Microsoft Docs I feel like you could create different field types e.g. apiString that would get defined in the schema when the survey is generated so those fields are never created to the GIS schema (similar to the nulltype). In the settings you could define the getdata call that would be required to download existing data for work and you would also define the post data command that will add data to via the 3rd party API and obviously the GIS feature service that it is connected to. You would also define the integration field such as ASSETID or WORKORDERNUMBER. If you would like to discuss further I have a demo site I can share with you. Cheers, Gareth
... View more
02-16-2020
03:41 PM
|
2
|
0
|
577
|
IDEA
|
We have several customers that simply need to host read only data for their services but they feel the price point is too high for ArcGIS Server. We suggested ArcGIS Online, but they must serve traditional map services for several reasons, one of them the SOAP capacity. It would be great if you could deploy ArcGIS Server for only read-only map services. The absolute bare minimum. Take away all of the cool functionality and just have a simple map service publisher. Limit it to only FGDB as well so it only supported non editing environments.
... View more
09-18-2019
05:17 PM
|
6
|
1
|
710
|
IDEA
|
We have several customers that simply need to host read only data for their services but they feel the price point is too high for ArcGIS Server. We suggested ArcGIS Online, but they must serve traditional map services for several reasons, one of them the SOAP capacity. It would be great if you could deploy ArcGIS Server for only read-only map services. The absolute bare minimum. Take away all of the cool functionality and just have a simple map service publisher. Limit it to only FGDB as well so it only supported non editing environments.
... View more
09-18-2019
05:17 PM
|
6
|
1
|
663
|
POST
|
Hi Stephen, Thanks for writing and helping me solve this. the initial request created a key in the header called 'Set-Cookie' which does have the value I needed to carry on, however the subsequent requests required a value from that "Set-Cookie" to be added as its own key/value pair - Cookie. Once I set that prior to sending request it all worked perfectly. Thank again. Gareth
... View more
08-28-2019
09:01 PM
|
1
|
0
|
1202
|
POST
|
Hi, I have an API that I want to access that stores the authentication information in a cookie. I can successfully make the initial login request, however the second request to add data doesn't work as I can't access the cookies that were created from the initial request (or should be). I can do the testing in Postman, but nothing happens if I take the http code and make a couple of NetworkRequests or even a function based on the html code from Postman. I have read the docs and it looks like I need to access the QNetworkCookieJar to get this done (which currently isn't available) unless there is some wise advice from the QML experts that could help. Look forward to hearing from someone
... View more
07-15-2019
03:17 AM
|
0
|
2
|
1527
|
POST
|
Hi Dambé SANWOGOU, Before going down the development path, have you seen the public surveys in Survey123? If you have and that doesn't fit your need, I would suggest that you start with the Quick Report. This will allow you set up your questions/fields in the feature service and away you go. Good luck, Gareth
... View more
04-15-2019
05:23 PM
|
1
|
1
|
268
|
Title | Kudos | Posted |
---|---|---|
1 | 08-28-2019 09:01 PM | |
2 | 02-16-2020 03:41 PM | |
6 | 09-18-2019 05:17 PM | |
6 | 09-18-2019 05:17 PM | |
1 | 04-15-2019 05:23 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|