|
POST
|
I was able to fix the error for my survey by updating the sharing setting also for the map image layer of the feature service. Obviously this is only applicable for referenced feature layers in Enterprise but maybe it helps someone.
... View more
03-04-2024
10:26 AM
|
0
|
0
|
1003
|
|
POST
|
We have been looking for this forever, thank you! Unfortunately I can't make it work, it keeps telling me that it's "unable to execute the Arcade script" although the test result is exactly as expected. I was further wondering how I can make this apply to the content of my map? Maybe it is so obvious that I don't see it... Edit: I can make it work in ArcGIS Online but unfortunately not in Enterprise 11.1 and the way I see it work for the map content would be to use a selector with the filtered expression and not to put the none option so it automatically filters to that selection.
... View more
02-22-2024
06:48 AM
|
0
|
0
|
3378
|
|
POST
|
In case someone is stumbling over this question: You can solve this by put for question2 in the choice filter not(selected(${question1},opt)) and column opt in the choices sheet with the same values as in opt. Tested with select_multiple only but don't see why it shouldn't work for select_one questions.
... View more
02-17-2024
05:53 AM
|
0
|
0
|
617
|
|
POST
|
In case someone is stumbling over this question: You can solve this by put for question2 in the choice filter not(selected(${question1},opt)) and column opt in the choices sheet with the same values as in opt. Tested with select_multiple only but don't see why it shouldn't work for select_one questions.
... View more
02-17-2024
05:51 AM
|
0
|
0
|
737
|
|
POST
|
Thanks for the workaround. I think it doesn't make any sense to have these numbers as decimals.
... View more
01-14-2024
01:34 PM
|
1
|
0
|
1074
|
|
POST
|
import arcpy
mapname=arcpy.GetParameterAsText(0) #Map to be used
sectors=arcpy.GetParameterAsText(1) #layer to be looped
sfield=arcpy.GetParameterAsText(2) #field used for looping
layers=arcpy.GetParameter(3) #additional layers to be filtered
field=arcpy.GetParameterAsText(4) #field to be queried for
folder=arcpy.GetParameterAsText(5) #folder where packages are stored
placeholder=arcpy.GetParameterAsText(6) #prefix for package names
def main():
#loop through sectors
sec=arcpy.da.SearchCursor(sectors,[sfield,"SHAPE@"])
for row in sec:
xmin=row[1].extent.XMin
xmax=row[1].extent.XMax
ymin=row[1].extent.YMin
ymax=row[1].extent.YMax
arcpy.AddMessage(str(xmin)+" "+str(ymax)+" "+str(xmax)+" "+str(ymin))
#left top right bottom
p = arcpy.mp.ArcGISProject('current')
m = p.listMaps(mapname)[0]
s=m.listLayers(sectors)[0]
s.definitionQuery = sfield+"='"+str(row[0])+"'"
for layer in layers :
l = m.listLayers(layer)[0]
l.definitionQuery = field+"='"+row[0]+"'"
arcpy.management.CreateMapTilePackage(
in_map=m,
service_type="ONLINE",
output_file=r""+folder+"\\"+placeholder+str(row[0])+".tpk",
format_type="JPEG",
level_of_detail=20,
service_file=None,
summary="test",
tags="test",
extent=str(xmin)+" "+str(ymax)+" "+str(xmax)+" "+str(ymin)+' GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]',
compression_quality=75,
package_type="tpk",
min_level_of_detail=14,
area_of_interest="",
create_multiple_packages=None,
output_folder=None
)
if __name__ == '__main__':
main() I am only changing in rows 34 and 42 from tpk to tpkx and the looping continues. Thanks for looking into it. Nicole
... View more
01-11-2024
02:27 AM
|
0
|
0
|
1099
|
|
POST
|
I created a python script tool that is looping through sectors (administrative boundaries) to create map tile packages. It works like a charm when creating TPKX files but stops after the first feature as completed when I use TPK instead. The tool uses a search cursor to loop through the features and then query definitions to select features from other layers, then inside the search cursor instance it is creating the TPK (or TPKx). I don't see a reason why it would consider all features for TPKX but only the first for TPK. Any idea?
... View more
01-09-2024
02:32 AM
|
0
|
2
|
1327
|
|
POST
|
Can you select the Source and Target Field for the Hydrant?
... View more
11-03-2023
05:35 AM
|
0
|
1
|
1172
|
|
POST
|
How weird. What are the action settings on the list/selector?
... View more
11-02-2023
11:34 AM
|
0
|
3
|
1190
|
|
POST
|
I would try to sign out and sign in again (if you didn't try that yet).
... View more
11-02-2023
10:42 AM
|
0
|
0
|
4616
|
|
POST
|
Not sure what that is... Is there only one inspection in the list or more? I would try to use a selector to see if the behavior is the same. And also try to change the layer order in your map to see if that is changing something. I don't know what I would do then from the result but it would confirm that the behavior is consistent (or not).
... View more
11-02-2023
10:39 AM
|
0
|
1
|
1195
|
|
POST
|
Not sure if I get your question right. When you sign in into your ArcGIS Online account in Survey123 Connect you see all the surveys that were published together with the ones you designed maybe in Connect but did not publish. If the online version differs from your local version it should show an update button or if you don't have it locally then you see the download button. When I see the update option but I am not aware that any updates were made, I usually move the folder with that survey into a new location, reload the page and the download the survey to make sure that I am working on the latest version. Does this answer your question?
... View more
06-14-2023
07:52 AM
|
0
|
0
|
1073
|
|
POST
|
Hi @DionysiosKerasidis1 , did you publish the form online or through Survey123 Connect? If you published it through Connect, I would make a backup of the form (xlsx file) that you have locally stored (I usually move the whole folder to a different location where I keep all my forms that I am not currently working on) and download the form as it was published. If it is very complex it might be a bit tiresome to visually check for differences. If you are not aware of any changes that were made I would keep the downloaded version for future edits. I usually start by comparing the schema in Survey123 and the one of the layer in ArcGIS Online. It might be that you didn't specify a field type before and now changed it to being a number for example. That would cause this type of error.
... View more
06-14-2023
07:23 AM
|
0
|
2
|
1081
|
|
POST
|
Hi @NormBetland , Are you in ArcGIS Online or Enterprise? I just did a quick test in ArcGIS Online and the background displays as expected.
... View more
06-14-2023
06:44 AM
|
0
|
1
|
543
|
|
POST
|
No, @bsklaohfl , I mean the bind::esri:fieldType. If you select here null then the value calculated in that field will not be written to the feature layer.
... View more
06-14-2023
06:42 AM
|
0
|
0
|
4664
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-09-2023 03:26 AM | |
| 1 | 02-13-2019 01:51 AM | |
| 1 | 04-03-2025 11:07 AM | |
| 1 | 01-14-2024 01:34 PM | |
| 1 | 10-01-2018 10:23 PM |
| Online Status |
Offline
|
| Date Last Visited |
Monday
|