|
IDEA
|
I noticed that on the survey123 website if you use the filter and then export the resulting surveys to excel you get just the filtered main records but you get all the records for any repeats rather than just the repeat questions relating to the filtered main records. this would minimise the data download
... View more
12-05-2018
12:12 PM
|
7
|
2
|
1210
|
|
POST
|
So I worked out what the issue was and it’s all of my own making... to improve performance when viewing the survey data on the survey123 site I edited the stakeholder view definition and hid some of the fields, this worked great on the site it was so much quicker to fine the survey you were looking for and to quickly look over a few key questions. but this had a downside, the hidden fields were now missing from the exported report... doh... i think this this might be a nice feature to add at some point in the future, the ability to hide Fields from the data table but that they are still pulled through when running a report stu
... View more
12-05-2018
12:03 PM
|
1
|
0
|
1160
|
|
IDEA
|
it would be very handy to be able to customise the data table view on the survey123 website. for example we have a survey that has over 60 questions but to quickly be able to view the key questions is difficult, we would then select the survey and use the report function to create the word document. i did have a play and updated the stakeholder feature service to hide all the questions we didn’t want to see in the table and this worked but it had another effect in that the hidden questions were not visible in the word report Stu
... View more
12-05-2018
12:00 PM
|
3
|
0
|
503
|
|
POST
|
I’ve noticed some strange behaviour when exporting reports from survey123. sometimes when I export a report in a batch or just a single one I get a report with missing data but if I export the same again it might export correctly with all the data has anyone else seen this? Stu
... View more
11-24-2018
02:54 AM
|
0
|
1
|
1274
|
|
POST
|
Hi Zhifang, yea that's correct, the survey was published from Connect and their is no default location or zoom thanks Stu
... View more
11-22-2018
03:40 AM
|
0
|
1
|
3267
|
|
POST
|
Managed to get it working, for some reason the field i was filtering wasn't visible in the stakeholder feature service for my survey, i updated the definition so that it was visible and it works with out error now thanks Stu
... View more
11-21-2018
05:25 AM
|
0
|
0
|
1702
|
|
POST
|
i'm have the same issue when trying to filter a field that is a 'esriFieldTypeDouble' and trying to filter it where its greater than 10000 maybe it just see's it as a text field in the site, i've tried in both IE and Chrome Stu
... View more
11-21-2018
03:08 AM
|
0
|
1
|
1702
|
|
POST
|
ive not had chance to republish the survey with a default scale, but in my testing no matter what map I used the scale was always the same I'll try again after the December updates thanks Stu
... View more
11-20-2018
05:59 AM
|
0
|
3
|
3267
|
|
POST
|
thanks for the reply, I've tried it at a few scales and get the same results using any scale from 10 to 15500 any ideas? Stu
... View more
11-15-2018
02:05 AM
|
0
|
5
|
3267
|
|
POST
|
i posted this in the post about leveraging custom reports but i'll post here too: has anyone got the map scale to work on a geopoint question, I've tried a few different scales (10, 500, 10000, 100000) and they all give me the same results which is a map zoomed out to the extent this is the code i'm using: ${GeoLocation | mapSettings:"70976f13778b465d888c6a4cba804ee6":10} I've been playing around a bit and still can't get it to work but i did notice if you zoom into the overview map before running the report it doesn't change the scale which from what I've read it use too, also if i add in a size no map is generated at all ${GeoLocation | mapSettings:"70976f13778b465d888c6a4cba804ee6":10 | size:150:0} I've also tried not providing any map ID and just a scale again i just get the map at the full extent thanks Stu
... View more
11-14-2018
03:06 AM
|
0
|
7
|
3267
|
|
POST
|
what is the scale, is it like 1:150000 or is it something else? thanks Stu
... View more
11-14-2018
01:40 AM
|
0
|
0
|
3102
|
|
POST
|
Forgot to post back, it looks like it didn’t work due to the geometry being corrupted for some of the polygons stu
... View more
11-10-2018
06:22 AM
|
1
|
0
|
3390
|
|
POST
|
this is the code: import arcpy
import sys
import os
import time
import datetime
FromRange = 0
ToRange = FromRange + 11
#Latest polygon Data
arcpy.MakeFeatureLayer_management("C:/polygonedata.gdb/Poly", "Poly_lyr")
#Target Data
Target_FC = arcpy.MakeFeatureLayer_management("C:/TargetPoly.gdb/Poly", "Target_lyr")
#Polygon table select
QueryStr = ("OBJECTID > %s and OBJECTID < %s") %(FromRange, ToRange)
tableList = "C:/PolyTable.gdb/tbl_Poly"
lyrName = "tbl_Poly"
keyField = "tbl_Unique_Polys.OBJECTID"
fieldList = [["OBJECTID", 'OBJECTID'],["Poly_ID", 'Poly_ID']]
arcpy.MakeQueryTable_management(tableList, lyrName,"USE_KEY_FIELDS", keyField, fieldList, QueryStr)
print("MakeQueryTable")
Polys = ""
with arcpy.da.SearchCursor("tbl_Poly", ["OBJECTID","Poly_ID"]) as cursor:
for row in cursor:
Polys = Polys + "'" + row[1] + "',"
Polys = Polys[:-1]
print(Polys)
PolySel = arcpy.SelectLayerByAttribute_management ("Poly_lyr", "NEW_SELECTION","Poly_ID in ({})".format(Polys))
schemaType = 'NO_TEST'
fm_type = arcpy.FieldMap()
fms = arcpy.FieldMappings()
fm_type.addInputField(PolySel, "Poly_ID")
type_name = fm_type.outputField
type_name.name = 'Poly_IDENT'
fm_type.outputField = type_name
fms.addFieldMap(fm_type)
arcpy.Append_management(PolySel, Target_FC, schemaType, fms) thanks Stu
... View more
10-15-2018
11:04 PM
|
0
|
3
|
3390
|
|
POST
|
so I’ve got a script that selects 20 polygons and appends them to a new feature class , but it only works for 15 of the 20 polygons , it does the first and the last 14. If I change the number of selected polygons it still skips some any ideas
... View more
10-15-2018
02:42 PM
|
0
|
7
|
3691
|
|
POST
|
I'm having a really strange issue, i'm querying a rest end point for a feature service via python for which i am not the owner of (but i am the administrator for the AGOL account) and i get this error: {"error":{"code":403,"message":"You do not have permissions to access this resource or perform this operation.","messageCode":"GWM_0003","details":["You do not have permissions to access this resource or perform this operation."]}} now i can manually query the end point in chrome using the same user details without issue, and i know the python works because i can run it against an identical feature service that i am the owner of any ideas? Stu
... View more
10-05-2018
07:10 AM
|
1
|
0
|
1449
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-16-2025 02:25 AM | |
| 1 | 09-08-2025 07:14 AM | |
| 8 | 07-17-2025 01:23 AM | |
| 3 | 07-04-2025 02:55 AM | |
| 1 | 06-27-2025 03:41 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-17-2026
05:42 AM
|