POST
|
PART 2 Create your temporary token 1) To receive your token for your application replace CLIENTID and CLIENTSECRET with your own. https://www.arcgis.com/sharing/rest/oauth2/token/?client_id=CLIENTID&client_secret=CLIENTSECRET&grant_type=client_credentials 2) New query, from web and enter the url with your IDs. 3)choose advanced > ok 4) Choose EDIT 5) Select Data Source Settings 6) Change Source and select open file as JSON. 7) press advanced editor, we'll now edit the code so that it points to our tables. modify to code to let //Custom Variables access = Excel.CurrentWorkbook(){[Name="AGOL_ACCESS"]}[Content], client_id = access{0}[Value], client_secret = access{1}[Value], Source = Json.Document(Web.Contents("https://www.arcgis.com/sharing/rest/oauth2/token/?client_id=" & client_id & " &client_secret="& client_secret & "&grant_type=client_credentials"), 65001), #"Converted to Table" = Record.ToTable(Source) in #"Converted to Table" By having variables you'll now be able to reuse this excel table for other application tokens, as it points to the table that you previously created. Next you'll need to get the service URL for your feature layer... PART 3 coming...
... View more
08-23-2019
05:14 AM
|
7
|
17
|
302
|
POST
|
Still travelling but I'll try to summarize best I can here: PART 1: CREATE TOKEN ArcGIS for Developers Sign into the same AGOL account that holds your survey feature layer Select New Application d.Give your application a name, then click "Register" e. Note the Client ID and Client Secret IN EXCEL: Insert three Tables Enter the Client ID and Client Secret you just copied from the application you just created. I like to name my tables; From Top to bottom: AGOL_ACCESS, Token_auto, Hosted_FS0
... View more
08-23-2019
04:37 AM
|
3
|
18
|
302
|
POST
|
Just saw this, I'll put together the how-to to help you out.
... View more
08-08-2019
02:56 PM
|
0
|
21
|
302
|
POST
|
Hi Michelle, I believe I removed this {"editMode":1,"globalIdField":"globalid","objectIdField":"objectid"}
... View more
06-11-2019
06:05 PM
|
0
|
0
|
118
|
POST
|
Found a Solution on updating repeats within repeats. I added the fields through Arcgis online, then republished the survey on survey123 connect. Connect did not need to add the 2 new fields and only needs to update the form. Perfect.
... View more
12-10-2018
03:12 PM
|
0
|
0
|
39
|
POST
|
Ok so I've pinpointed the publish error... it is when I try to add a field to a repeat within a repeat. Is there any way I can do modifications to this repeat within a repeat?
... View more
12-10-2018
12:52 PM
|
0
|
1
|
39
|
POST
|
I'm getting a similar error when I add a new variable to my survey. Ran a log and the error I see if <12>1 2018-12-10T20:11:24Z RPTORWK008 Survey123ConnectforArcGIS 9176 - [AppStudio@11205 category="default" filename="PublishSurvey.qml" line="511"][check] qrc:/qml/Connect/PublishSurvey.qml:511: TypeError: Cannot read property 'fields' of undefined any idea?
... View more
12-10-2018
12:30 PM
|
0
|
2
|
25
|
POST
|
Ok so I figured it out, I thought I could save some time by having the relevance on a group containing the required questions, but it looks like you need a relevant logic on each required question in order for them to be validated.
... View more
11-29-2018
02:27 PM
|
0
|
0
|
87
|
POST
|
I'm using version 3.0.127 and I'm still having this error, required questions within a group that is not relevant are being flagged
... View more
11-29-2018
11:57 AM
|
0
|
3
|
87
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|