POST
|
Hi Sarah, Thanks for the reply. It looks like I am using Survey123 Connect version 3.19.104. If I get a chance I will try your solution. As a workaround, what I ended up doing is denormalizing the records into a hosted csv and searching that. It's not as dynamic as I would like and is one more piece of content to maintain but it allowed me to keep moving forward. Thanks again! Jill
... View more
09-12-2024
10:56 AM
|
0
|
0
|
134
|
POST
|
Sure, I could do that but why store a value across two fields when I can store it in one? There must be other circumstances where you would want to present a value in a user friendly way in the survey and then store it in a more efficient way. Thanks for your response!
... View more
08-27-2024
12:26 PM
|
0
|
1
|
155
|
POST
|
No, because I'm not storing the feet and inches, I just want to store a single value that combines feet and inches into inches.
... View more
08-27-2024
11:02 AM
|
0
|
3
|
162
|
POST
|
Hi I have a scenario where I allow the user to enter a dimension in feet (max_width_feet) and inches (max_width_inches). I then combine these into a single inches value (max_width) and store that in the feature layer. This is working fine. What I can't figure out is how to populate the feet and inches fields from the max_width field when the user edits a previously submitted survey. If I try and reference max_width in the calculation parameter of max_width_feet and max_width_inches I get the following error: It makes sense to me that a field can't reference a field that references the first field but what is the right way to do this? Is it something to do with calculation mode? Or am I not using default and calculation correctly? Thanks!
... View more
08-26-2024
01:28 PM
|
0
|
5
|
206
|
POST
|
Can someone confirm for me that when searching a hosted feature layer to populate a select_one field appending query request parameters to the REST endpoint does not work in the web app? This limitation is not listed in the documentation but I get pretty funky behaviour. For context, I have a drop down that I want to populate from a hosted feature layer. I need to filter the values based on a previous selection but I need to search multiple fields so I can't use the searchType, searchColumn and searchText parameters. My solution is to query for the relevant records using the where query parameter. So, my appearance column looks like this - w3 autocomplete search(concat("list_town?url=https://services2.arcgis.com/aIrBD8yn1TDTEXoz/ArcGIS/rest/services/Towns/FeatureServer/0/&where=CountyIntersect_1=",${county}," OR CountyIntersect_2=",${county}," OR CountyIntersect_3=",${county}," OR CountyIntersect_4=",${county})) This works great in the Survey123 Connect app. When I look at the request in Fiddler all looks correct and the expected values show up in the drop down. However, when I publish the survey and open it in the web app, I get the following error: It's failing to load because it appears that the where parameter for the request makes no sense. Am I out of luck with this solution or do I need to configure the field differently? Thanks! Jill
... View more
08-22-2024
12:12 PM
|
0
|
2
|
276
|
POST
|
The relative path worked fine once I declared it as a raw string. Thanks!
... View more
07-29-2024
09:37 AM
|
0
|
0
|
413
|
POST
|
Hi, Could you duplicate this layer, turn labels on for the second layer and then experiment with map level clipping or some kind of masking? I set up the following in the Map Properties to clip the features of the duplicated label layer to the extent of a feature in my Townships layer. It looks like this on the map - What I don't know if it's dynamic enough to update as you move through a map series. Jill
... View more
07-29-2024
09:34 AM
|
0
|
0
|
131
|
POST
|
I never did solve this problem but changed my workflow. My original script looped through records, parsing a text field into two addresses, geocoding the addresses and then generating a route between them. The output was a polyline feature class of the routes. What I ended up doing is modifying the script to output the addresses as points. I then import those into my route layer as stops and execute all of the routes at once using the Pro tools. All of the routes produced by this workflow follow the true shape of the road network. This works for my purposes. If it comes up again and I can't work around it I will reach out to Support. Thanks!
... View more
06-21-2024
12:04 PM
|
0
|
0
|
283
|
POST
|
@MelindaMorang, thank you for your detailed reply! I went through all of your suggestions and was still not able to identify the issue. My original script looped through records, parsing a text field into two addresses, geocoding the addresses and then generating a route between them. The output was a polyline feature class of the routes. What I ended up doing is modifying the script to output the addresses as points. I then import those into my route layer as stops and execute all of the routes at once using the Pro tools. All of the routes produced by this workflow follow the true shape of the road network. This works for my purposes. If it comes up again and I can't work around it I will reach out to Support. Thanks again!
... View more
06-21-2024
12:02 PM
|
0
|
0
|
203
|
POST
|
Thanks for your reply. I just included the relevant parts of my code, not the whole thing, so those variables are defined elsewhere. The code runs without error. Thanks!
... View more
06-12-2024
03:01 PM
|
0
|
3
|
331
|
POST
|
Hello! I've having trouble setting the correct parameters to return a route that follows the shape of my network. In the screenshot below, the thin grey lines are my road network, the green line is the shape that's generated when I solve for a route using the ArcGIS Pro tools and the purple line is the shape that's returned when I solve for the same route using the Network Analyst python module. The relevant parts of my code are below. Almost all the parameters are left default, except that I've set the travel mode to "Walking" (I've tried different travel modes, they all return a funky line) and I've made sure to set the route shape type to "True Shape". arcpy.nax.MakeNetworkDatasetLayer(oc_network_dataset, nd_layer_name)
nd_travel_modes = arcpy.nax.GetTravelModes(nd_layer_name)
travel_mode = nd_travel_modes["Walking"]
route = arcpy.nax.Route(nd_layer_name)
route.travelMode = travel_mode
route.routeShapeType = arcpy.nax.RouteShapeType.TrueShape
stopsCur = route.insertCursor(arcpy.nax.RouteInputDataType.Stops, ["Name", "SHAPE@"], append = False)
....
stopsCur.insertRow([on_from, row2[1]])
....
stopsCur.insertRow([on_from, row3[1]])
result = route.solve()
if result.solveSucceeded:
with result.searchCursor(arcpy.nax.RouteOutputDataType.Routes, ["SHAPE@"]) as resultCursor:
for r in resultCursor:
insertCursor.insertRow('Routed from UL Intersection points', r[0])) Is there a parameter on the Route that I'm missing? Or am I not handling the results correctly? Thank you! Jill
... View more
06-11-2024
08:45 AM
|
0
|
2
|
329
|
POST
|
Hello! I've having trouble setting the correct parameters to return a route that follows the shape of my network. In the screenshot below, the thin grey lines are my road network, the green line is the shape that's generated when I solve for a route using the ArcGIS Pro tools and the purple line is the shape that's returned when I solve for the same route using the Network Analyst python module. The relevant parts of my code are below. Almost all the parameters are left default, except that I've set the travel mode to "Walking" (I've tried different travel modes, they all return a funky line) and I've made sure to set the route shape type to "True Shape". arcpy.nax.MakeNetworkDatasetLayer(oc_network_dataset, nd_layer_name)
nd_travel_modes = arcpy.nax.GetTravelModes(nd_layer_name)
travel_mode = nd_travel_modes["Walking"]
route = arcpy.nax.Route(nd_layer_name)
route.travelMode = travel_mode
route.routeShapeType = arcpy.nax.RouteShapeType.TrueShape
stopsCur = route.insertCursor(arcpy.nax.RouteInputDataType.Stops, ["Name", "SHAPE@"], append = False)
....
stopsCur.insertRow([on_from, row2[1]])
....
stopsCur.insertRow([on_from, row3[1]])
result = route.solve()
if result.solveSucceeded:
with result.searchCursor(arcpy.nax.RouteOutputDataType.Routes, ["SHAPE@"]) as resultCursor:
for r in resultCursor:
insertCursor.insertRow('Routed from UL Intersection points', r[0])) Is there a parameter on the Route that I'm missing? Or am I not handling the results correctly? Thank you! Jill
... View more
06-06-2024
11:29 AM
|
0
|
5
|
398
|
POST
|
That works! It's not exactly the layout I want but I'll find a way to work around that. I think there should be the option to scroll any type of content if the window becomes too small. I'm not sure most users would know that content has to be formatted into a column. Thank you!
... View more
05-06-2024
07:34 AM
|
1
|
0
|
560
|
POST
|
Hi, Thanks for the reply! This works for a single text box but I have a bunch of text boxes and images absolutely positioned in my About widget. I tried your idea by placing the text and images in a Fixed Panel with a small height but it doesn't add a scroll bar in the same way. Surely somebody else has dealt with this?? Jill
... View more
05-03-2024
10:27 AM
|
0
|
2
|
600
|
Title | Kudos | Posted |
---|---|---|
1 | 05-06-2024 07:34 AM | |
1 | 04-26-2024 02:10 PM | |
1 | 02-01-2024 02:18 PM | |
1 | 02-13-2024 01:57 PM | |
1 | 03-07-2024 11:25 AM |
Online Status |
Offline
|
Date Last Visited |
09-12-2024
08:40 PM
|