|
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
|
886
|
|
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
|
1835
|
|
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
|
1092
|
|
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
|
1092
|
|
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
|
1835
|
|
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
|
1835
|
|
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
|
1835
|
|
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
|
1593
|
|
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
|
2476
|
|
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
|
2476
|
|
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
|
2777
|
|
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
|
1184
|
|
POST
|
Hi, can i use the 'Add to Definition' REST api to update a domain on a feature service, i want to add in an additional value into the domain Stu
... View more
09-05-2018
01:05 AM
|
0
|
4
|
3262
|
|
POST
|
does anyone know if this is possible? so i have a question that is read only and its a calculation that basically validates some of the previous questions, so if it passes the validation it shows 'Pass' else if shows 'Error' what i would like to do is color them so the pass is green and the error is red, i did think i could do this by changing the question to a select one and then having a choice list with pass or error and add in the html tag to the label but this dose not work, all i get is a blank survey (none of the questions are shown...) any ideas? Stu
... View more
06-21-2018
02:10 AM
|
0
|
1
|
456
|
|
POST
|
after looking around i have worked out a way to do this using a calculated field and a constraint hope this helps anyone else with the same requirements Stu
... View more
04-13-2018
03:59 AM
|
0
|
0
|
588
|
| Title | Kudos | Posted |
|---|---|---|
| 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 | |
| 1 | 06-27-2025 02:05 AM |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|