|
POST
|
Thank you for the help James. My script is a real basic model I exported from Model Builder as a python script. # Import arcpy module import arcpy # Local variables: SpecialEvents = "SpecialEvents\\SpecialEvents" SE_Test_xls = "I:\\Documents\\SE_Test.xls" # Process: Table To Excel arcpy.TableToExcel_conversion(SpecialEvents, SE_Test_xls, "NAME", "CODE") I have replied to Jake's response with what I am trying based on his comment, but don't believe I am doing it right.
... View more
08-09-2016
12:38 PM
|
0
|
0
|
4006
|
|
POST
|
Here is the simple code below that I am trying to generate and add the token too. import arcpy, SE_Test_xls = "I:\\Documents\\SE_Test.xls" # Process: Table To Excel arcpy.TableToExcel_conversion(SpecialEvents, SE_Test_xls, "NAME", "CODE")
... View more
08-09-2016
12:29 PM
|
0
|
10
|
4006
|
|
POST
|
I have a basic python script that takes a hosted feature service from ArcGIS Online and converts it to an excel (.xls) file. The only problem is, I need to sign-in to ArcGIS Online within ArcMap to get the script to run, since the feature service is only shared with my organization. Is there any way to store my credentials within the script so that it will run on a daily basis without me having to sign-in on ArcMap every time? Any help is greatly appreciated. Thank you!
... View more
08-09-2016
06:41 AM
|
0
|
14
|
9001
|
|
POST
|
Is there any way to embed a Twitter timeline (or any other HTML embeded code) in Operations Dashboard? I tried creating a User Timeline from Twitter and getting the embeded code. I then pasted that HTML code into the Description widget in Operations Dashboard. It only makes a link to the User Timeline on twitter though and doesn't actually display the timeline in the Description box. Is there anyway to get the timeline to actually show up within a Widget in the Operations Dashboard? Twitter Publish Embedded Timelines | Twitter Developers Thank you!
... View more
07-20-2016
09:07 AM
|
0
|
6
|
6313
|
|
POST
|
That is useful to know Kristian. Thank you very much!
... View more
07-20-2016
06:36 AM
|
0
|
0
|
839
|
|
POST
|
Hello, With Javascript, is there an advantage to adding layers in the constructor of a map using an array vs using map.add()? var map = new Map({ layers: [housingLyr] }); VS map.add(housingLyr); Thanks, Nick
... View more
07-15-2016
12:35 PM
|
0
|
2
|
2578
|
|
POST
|
Thanks for your help Kelly! The feature service that stores the images, is one of the layers in the web map which makes up the Story Map. The feature service cannot be shared publicly, which is one of the main reasons I am storing the images in the feature service itself, and not on a public photo sharing service such as Flickr. Do you know if there is anyway to automatically update the token in the URL so I don't have to update the URL with the new token every 2 weeks? There are probably around 30 pictures in the Story Map. I saw on the ArcGIS blog, where this summer ESRI is supposed to allow uploading of photos directly into web apps which will be beneficial when they release that. Thanks
... View more
05-31-2016
01:37 PM
|
0
|
1
|
1643
|
|
POST
|
I have attachments (images) in a feature service stored in ArcGIS Online. I am trying to reference the image URL in a Story Map. It works great when you set it up. The issue is, after a certain period of time, the images no longer show up in the Story Map as the token is invalid. It looks like the tokens change on a regular basis so I have to go in and change the URL to reflect the newest token for each image. Is there any way to set the time refresh that a new token is made for the feature like you can in ArcGIS Server? I need to keep the token from being refreshed so often in the feature service and breaking the links in my Story Map. Thank you!!!
... View more
05-31-2016
12:42 PM
|
0
|
3
|
4438
|
|
POST
|
Found the answer to my question. It's not possible. According to ESRI "Storing time alone is not supported—time must always be a component of a date."
... View more
05-25-2016
06:57 AM
|
1
|
0
|
2209
|
|
POST
|
Thanks Dan. It looks like that is for setting up the data to use the time slider in ArcGIS Online. That is useful to know. Even when you do that though, it want's a date and a time so the time field comes in as December 1899 and then a time. There has to be a way to just show the time.
... View more
05-25-2016
06:38 AM
|
0
|
1
|
2209
|
|
POST
|
When I bring a layer into ArcGIS Online from ArcMap, the Time field in the attribute table converts the times to dates. For example, instead of 3:00, the Time attribute becomes December 30, 1899. I haven't found a way to display the time in hh:mm:ss or even just hh:mm format. I created a Date/Time field by combining the date and time and tried to get it to display only the time, but it always wants to show the date too. Does anyone know how to get ArcGIS Online to display a time and NOT a date in the popup or attribute table? Any help is greatly appreciated
... View more
05-24-2016
01:36 PM
|
0
|
3
|
3922
|
|
POST
|
Thank you Wes. It didn't originally work, but when I added .env. before the overwrite function it worked (arcpy.env.overwriteOutput = True)! Thank you again so much for all the help!!!
... View more
04-06-2016
01:45 PM
|
1
|
0
|
2372
|
|
POST
|
The goal is to update the layer on a regular basis, so I would like to just overwrite the data with newly geocoded data. Do you know if there is a way I can overwrite the layer instead of creatinga whole new file?' I really appreciate your help!!!
... View more
04-06-2016
01:06 PM
|
0
|
2
|
2372
|
|
POST
|
Thank you very much Wes. I did that and it got past line 14, but then gave me this error mesage. Traceback (most recent call last): File "D:\MY FILES\Scripts\Schools_Excel.py", line 23, in <module> arcpy.GeocodeAddresses_geocoding(FOUO_MembersExcel, IllinoisCity_AddressLocator, "City City VISIBLE NONE;State State VISIBLE NONE", O_Members, "STATIC") File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcPy\arcpy\geocoding.py", line 212, in GeocodeAddresses raise e ExecuteError: Failed to execute. Parameters are not valid. ERROR 000725: Output Feature Class: Dataset D:\MY FILES\Studies\Schools\Schools.gdb\O_Members already exists. Failed to execute (GeocodeAddresses).
... View more
04-06-2016
12:54 PM
|
0
|
4
|
2372
|
|
POST
|
Here is a copy of the script # --------------------------------------------------------------------------- # Schools_Excel.py # Created on: 2016-04-06 11:30:27.00000 # (generated by ArcGIS/ModelBuilder) # Description: # --------------------------------------------------------------------------- # Import arcpy module import arcpy # Local variables: MAP_Feb_15_2016_-_Copy_xls = "D:\\Schools\\MEMBERSHIP\\MAP Feb 15 2016 Application Status for Program - Copy.xls" O_MembersExcel = "D:\\MY FILES\\Studies\\Schools\\Schools.gdb\\O_MembersExcel" IllinoisCity_AddressLocator = "D:\\MY FILES\\Basic Map Data\\IllinoisCity_AddressLocator" O_Members = "D:\\MY FILES\\Studies\\Schools\\Schools.gdb\\O_Members" # Process: Excel To Table arcpy.ExcelToTable_conversion(MAP_Feb_15_2016_Application_Status_for_Program_-_Copy_xls, O_MembersExcel, "O") # Process: Geocode Addresses arcpy.GeocodeAddresses_geocoding(FOUO_MembersExcel, IllinoisCity_AddressLocator, "City City VISIBLE NONE;State State VISIBLE NONE", O_Members, "STATIC")
... View more
04-06-2016
12:04 PM
|
0
|
0
|
2372
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-11-2024 11:19 AM | |
| 1 | 05-25-2016 06:57 AM | |
| 2 | 04-27-2022 08:21 AM | |
| 1 | 04-26-2022 01:17 PM | |
| 2 | 01-27-2022 12:59 PM |
| Online Status |
Offline
|
| Date Last Visited |
04-01-2026
08:17 AM
|