POST
|
I have a very simple survey that i've created. I have added a date and time question to the survey to record the date and time that they survey was completed. However, I don't want to give users the option to change this entry. I have it set to default to ()now. I'd really like this question to be hidden so the user can't see it at all. After looking for solutions, I thought the answer was to make this a hidden question. So I opened the survey in Connect and changed the 'type' to hidden. I also changed the bind::esri:fieldType to esriFieldTypeDate. It did hide the field from the survey but now when I process the survey results in the data tab, there are no dates showing up. Those entries are empty. Can anyone tell me why the date is not longer showing and how I might fix this?
... View more
04-06-2020
12:02 PM
|
0
|
1
|
604
|
POST
|
I created an app on ArcGIS Online using the Web AppBuilder. Everything is great with the exception of the printing widget. When I print, no matter how high I set the DPI, the quality of my print is poor. Specifically the quality of the symbols is poor. I have some street signs in the map and they get pixelated at every DPI I choose. I can export my map to PDF in ArcMap without any degradation of quality but I can't get the quality I need through the print widget in my app. Is there any way to be able to create a PDF through the print widget that preserves the quality of my symbols (and the rest of my map) or is this simply a limitation when printing with the print widget in maps configured through the Web AppBuilder?
... View more
02-04-2019
11:59 AM
|
0
|
0
|
312
|
POST
|
I know this post was done forever ago but it has been helpful to me. However, I now need to be able to delete the first column in the spreadsheet but I haven't been able to find code for that. Can you point me in the right direction?
... View more
11-29-2017
02:31 PM
|
0
|
2
|
649
|
POST
|
Thank you Xander! It was the where clause as you mentioned. I think I was trying to do it backwards, as well as an issue with the last part of the where clause. This will be very helpful as I continue to learn python. Thanks again.
... View more
11-29-2017
10:20 AM
|
1
|
1
|
630
|
POST
|
When you say run the tool manually are you talking about the python window in ArcMap. When I try that it tells me there is a parsing error.
... View more
11-27-2017
03:53 PM
|
0
|
4
|
630
|
POST
|
New to Python. I'm attempting to create a python script that will allow a user to select a parcel (a parameter input by user), select all other parcels within a specified distance of the selected parcel, and then export the selection. I've gotten the code to work when the user inputs one parcel id. However, there are times when the user will need to select multiple parcels. I've changed the parameter to multivalue so that multiple inputs are accepted but the code needs some help to be able to handle the multiple inputs. Here's what I have: # Import system modules import arcpy import arcpy.mapping mxd = arcpy.mapping.MapDocument ('CURRENT') df = arcpy.mapping.ListDataFrames(mxd,"Layers")[0] lyr = arcpy.mapping.ListLayers(mxd, "Parcels")[0] taxid = arcpy.GetParameterAsText(0) # Overwrite pre-existing files arcpy.env.overwriteOutput = True # Selects the parcel of interest arcpy.SelectLayerByAttribute_management("Parcels", "NEW_SELECTION", '"TAX_IDTXT" = ' + "'" + taxid + "'") Obviously this is only a small portion of the code but this is the part that I'm struggling with. How do I get the code to accept multiple inputs from the user? From other forum posts people have suggested a whereClause. I've experimented with some code below without success. I think an issue is with the TAX_IDTXT field. I'm not sure how to tell it to search the TAX_IDTXT field in the Parcels layer. Any ideas? #Build the where clause whereClause = "{0} in ('TAX_IDTXT')".format("TAX_IDTXT", "','".join(taxid.split(';'))) #Select(input, output, whereClause) if int(arcpy.GetCount_management(lyr).getOutput(0)) > 0: arcpy.SelectLayerByAttribute_management(lyr, "NEW_SELECTION", whereClause)
... View more
11-27-2017
02:56 PM
|
0
|
6
|
894
|
POST
|
It is one of our most common and most used layers in our enterprise geodatabase. I have layers from this same geodatabase that work just fine but this one won't work. It opens fine in ArcMap. I could do a work-around but I'm really trying to get to the bottom of why it won't show.
... View more
07-18-2016
11:05 AM
|
0
|
0
|
476
|
POST
|
I have a project with multiple layers from my database loaded in to it. However, I have one layer that won't load into the map. It's just a simple line layer. It gives me the error message:: "Failed to add data, unsupported data type." Any ideas?
... View more
07-18-2016
09:56 AM
|
0
|
6
|
2446
|
Title | Kudos | Posted |
---|---|---|
1 | 11-29-2017 10:20 AM |
Online Status |
Offline
|
Date Last Visited |
02-22-2024
08:55 AM
|