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
3 weeks ago
|
0
|
0
|
62
|
POST
|
@Ruth_JiatengXu I am experiencing the same behaviour as described above by @NikholaiO_Hara. Being able to delete all the related records in edit mode would be quite helpful for my organization's workflows.
... View more
01-06-2021
12:52 PM
|
0
|
0
|
76
|
POST
|
Yeah, you will need to code it differently since your signal handlers are all triggering each other in an endless loop. There are probably many ways to do it. For example, do you need to apply edits right after you add the feature? Could you select features from within your addFeatures signal handler, then when feature is selected, add attachments and apply edits (in this case, applyEdits signal handler wouldn't retrigger a selection). You could also add some type of bool or state to indicate what part of the workflow the user is in, and take different code paths depending on that.
... View more
11-18-2020
11:11 AM
|
0
|
0
|
275
|
POST
|
I'm having a similar issue. I have a form that is loading very slow. I have 3 CSV files in my media folder. They have 5,000/ 6,000/ and 5,000 rows each. I've already reduced them from over 11, 000. I tried to remove my relevant Transformer Search out from the repeat but nothing I've tried (even removing the repeater all together) seems to speed up the load time. Any suggestions?
... View more
10-22-2020
09:43 AM
|
0
|
0
|
347
|
POST
|
Hi Nikholai, Currently, the only way to add this is via the embed widget via code. For example, <a href="mailto:somebody@company.com ">Send email</a>. I will log an issue for us to look at how we can support this in other widgets. Thanks, David
... View more
08-05-2020
02:18 PM
|
2
|
0
|
117
|
POST
|
Hi Nikholai, To group the values using the API, you can do this. 1. Create your Unique Value renderer the way you have been doing. 2. To add "grouping" you have to work with the CIM (Cartographic Information Model). * Get the Layer's definition as CIMFeatureLayer. * Access the Renderer from the definition. * Modify the "Groups" property on the Renderer. Below is the code snippet I used on a layer. It had two fields that I symbolized on. I then grouped the features with the "Rock" attributes. //Get the Layer's CIM Defintion var lyrDefn = featureLayer . GetDefinition ( ) as CIMFeatureLayer ; //Access the renderer var renderer = lyrDefn . Renderer as CIMUniqueValueRenderer ; var symbol1 = SymbolFactory . Instance . ConstructPointSymbol ( ColorFactory . Instance . RedRGB ) ; var symbol2 = SymbolFactory . Instance . ConstructPointSymbol ( ColorFactory . Instance . GreenRGB ) ; //Create the info needed for the Grouping var groupRiverValues = new List < CIMUniqueValue > { new CIMUniqueValue { FieldValues = new string [ ] { "River" , "5" } } } ; var groupRockValues = new List < CIMUniqueValue > { new CIMUniqueValue { FieldValues = new string [ ] { "Rock" , "2" } } , new CIMUniqueValue { FieldValues = new string [ ] { "Rock" , "3" } } , } ; //This is the part where you create the grouping classes var uniqueValueClasses = new List < CIMUniqueValueClass > { new CIMUniqueValueClass { Symbol = symbol1 . MakeSymbolReference ( ) , Editable = false , Patch = PatchShape . Default , Label = "River,5" , Values = groupRiverValues . ToArray ( ) , Visible = true } , new CIMUniqueValueClass ( ) { Symbol = symbol2 . MakeSymbolReference ( ) , Editable = true , Patch = PatchShape . Default , Label = "Rock,3; Rock,4" , Values = groupRockValues . ToArray ( ) , Visible = true } } ; //Create the "Groups" var groups = new List < CIMUniqueValueGroup > { new CIMUniqueValueGroup { Classes = uniqueValueClasses . ToArray ( ) , Heading = "DisplayField,SubDisplay" } } ; //Set the Groups property on the renderer object renderer . Groups = groups . ToArray ( ) ; //Important: Set the modified layer definition back featureLayer . SetDefinition ( lyrDefn ) ; Let me know if you run into issues. Thanks Uma
... View more
07-30-2020
07:53 AM
|
0
|
0
|
71
|
POST
|
Nikholai, How many items could this function be attempting to return from your feature service? Is it exceeding the maxRecordCount value for the service? This is typically a default of 1000 features. Take a look at How To: Update the maximum record count for feature services in ArcGIS Online. You can also perform a select on the feature to limit the possible number of returns to see if that will run.
... View more
07-24-2019
09:22 AM
|
0
|
0
|
66
|
POST
|
Can you save a Layer file and "share as layer" I don't need the data, just the .lyrx for the layer. Seeing the label properties for the label class may help me understand what is happening. Thanks, Mark
... View more
06-12-2019
03:49 PM
|
0
|
0
|
41
|
POST
|
Hi, I had the same issue today. Downloaded survey didnt appear on teh 'my survey window. I loged out and signed in couple of times, re started my devices. then it appeared . So I would suggest restart, sign out sign in please. Thank You Nusrat
... View more
08-30-2018
12:36 PM
|
0
|
0
|
11
|
POST
|
Hi Steve, I have several surveyors on field using collector, They also received this error. Now after reading your solution, I asked them all to disable the mobile data or wifi connection and bingo its worked for me also.. Thanks for your knowledge sharing But do you know why this error comes up?
... View more
02-03-2020
11:18 PM
|
0
|
0
|
29
|
Online Status |
Offline
|
Date Last Visited |
2 weeks ago
|