POST
|
Hello, Our organization utilizes ArcGIS Online and ArcGIS Server (Non-federated). We have services on our GIS server that we add to ArcGIS Online and store the credentials. We then go on to use those services in Survey123. I then create reports for those Survey123 using the report functionality on https://survey123.arcgis.com. I create my template and download it manually through https://survey123.arcgis.com and everything works. I now want to automate the report creation using the ArcGIS API for Python. I connect to the Survey Manager and get my specific survey. I run the generate_report function on my survey, but no output is produced. If I then go back to https://survey123.arcgis.com and look at my recent tasks under reports, I can see that it failed due to an invalid token (Screenshot). I'm assuming that it is failing due to underlying service being on ArcGIS Server and having the credentials stored. I am confused as it works if I manually go through the GUI on https://survey123.arcgis.com, but fails when using Python. Am I am not using the generate_report function correctly? or is this bug? Thanks, Nikholai
... View more
02-03-2021
10:31 AM
|
0
|
0
|
78
|
POST
|
Setting autoApplyEdits to false does stop the infinite loop, but the attachments don't get added until I turn back to true which then starts the infinite loop again.
... View more
11-18-2020
10:23 AM
|
0
|
1
|
297
|
POST
|
After some more testing, I have found that I could not delete a related record if it would leave the parent record without any child records. However, if there were more than one related record, I could delete them given I still have at least one child record left. If I tried to delete all related records, the deletions would not be saved. Is this intentional?
... View more
11-18-2020
08:19 AM
|
1
|
1
|
195
|
POST
|
FeatureLayer{
id: featurelayer
onSelectFeaturesStatusChanged: {
if (selectFeaturesStatus === Enums.TaskStatusCompleted) {
if (!selectFeaturesResult.iterator.hasNext)
return;
selectedFeature = selectFeaturesResult.iterator.next();
selectedFeature.attachments.addAttachment(attachment, "image/jpeg", 'Official.jpg');
}
}
ServiceFeatureTable {
id:featureTable
url: serviceURL + "/0"
credential: portalCredential
QueryParameters{
id: params
}
onApplyEditsStatusChanged: {
if (applyEditsStatus === Enums.TaskStatusCompleted) {
params.objectIds = applyEditsResult[0]["objectId"]
featurelayer.selectFeaturesWithQuery(params, Enums.SelectionModeNew);
}
}
onAddFeaturesStatusChanged:{
if (addFeaturesStatus === Enums.TaskStatusCompleted) {
featureTable.applyEdits();
}
}
} //ServiceFeatureTable
}//FeatureLayer Above is my feature layer. Yes, I am using the ArcGIS Runtime SDK using AppStudio. Below is the import statement I'm using. import Esri.ArcGISRuntime 100.1
... View more
11-18-2020
07:03 AM
|
0
|
3
|
304
|
POST
|
Hello, I have a simple app that collects data with one of those being a signature captured as an image. I have an issue when I go to submit the data and create the record, the attachment code endless loops and keeps adding the attachment. My pseudo code looks like this: 1. Add Features to Feature Table 2. On Features Added, apply edits. 3. OnApplyEditsStatusChanged Get the ObjectID of the newly created feature. Select the new feature 4. OnSelectFeaturesStatusChanged, Add the attachment Once the attachment is added, the onApplyEditsStatusChanged triggers causing a new selection which then in turn adds the attachment again and enters an infinite loop. How do I not trigger the ApplyEdits after an attachment is added? or is there an entirely different way of approaching this problem?
... View more
11-17-2020
02:59 PM
|
0
|
5
|
331
|
POST
|
Submitters have all capabilities. See below image. The edit mode page has always loaded, no error has ever been given. When the edit Survey123 loads, the repeat is populated with it data. The only button is the minus button shown in the attachment to the original post. Clicking the minus button appears to delete the related record in the edit form, but after submission and going back to the edit form, the repeat with the data still exists. If this isn't clear, I can record a video to show you.
... View more
11-06-2020
09:52 AM
|
0
|
0
|
210
|
POST
|
Hello, I have an application setup where users can edit data using Survey123 through the browser by using mode=edit and plugging in the globalid. There will be instances where users will need to delete related data. In the editing form there is a minus button which once clicked gives the appearances of deleting the repeat. However, after submitting and refreshing, the repeat is still there with all its data. Is deleting related records not possible using Survey123 in the edit mode via internet browser?
... View more
11-04-2020
01:22 PM
|
0
|
4
|
232
|
POST
|
I haven't got the whole Survey123 hooked up yet, but so far this is promising and seems like it will work! I'll let you know how it goes once everything is finished. Thanks for the tip!
... View more
10-19-2020
07:41 AM
|
0
|
0
|
370
|
POST
|
Hello, We are creating a public web Survey123 that pulls in a considerable amount of data to use in the survey. The survey is designed to ask hunters about their deer harvest numbers for several seasons, hunting units, and hunting tag types. The goal is to have this be one singular survey. In order to ensure data quality, we want limit choice list, control relevancy of questions, and input constraints that are unique to that hunter and what type of hunting they did. This way hunters aren't answering questions for seasons or hunting units they did not posses. We have all this information in our SQL database and I translate it to a CSV document to use in Survey123. We then hookup the pulldata functionality and the whole thing comes to a standstill with load times that are excessively long. The Survey123 web page/connect will go not responding and crash. The CSV has about 50,000 rows with 100s of columns. Does anyone have a better way of importing data from a database into Survey123 to create public surveys that are tailored to the user or is this simply exceeding the capabilities of Survey123? Thanks, Nikholai
... View more
10-15-2020
02:54 PM
|
0
|
6
|
441
|
POST
|
How can I set email links in buttons/text? I try using mailto:somebody@company.com?subject=Hello as a Web Address. When i click on the button/link, nothing happens.
... View more
08-05-2020
08:38 AM
|
0
|
1
|
235
|
Online Status |
Offline
|
Date Last Visited |
4 weeks ago
|