POST
|
import arcpy
import os
table = r'the location to the geodatabase table I wish to populate'
arcpy.env.workspace = r'the folder path to my jpgs'
for jpeg in arcpy.ListFiles("*.jpg"):
output = os.path.splitext(jpeg)[0]
print ouput
arcpy.CopyRows_management(output, table) Hello, I am trying to loop through a folder that contains 500+ JPGs and copy their names to a geodatabase table. I am able to successfully get to line 9 in my example code above and print all of my JPG names. However, when I get to line 10, I am unable to successfully copy these names to a new geodatabase table. Would anyone have any suggestions? Thanks in advance, Craig
... View more
05-04-2020
01:42 PM
|
0
|
2
|
631
|
POST
|
I found this link for the Edit widget but couldn't get the logic written correctly for the Smart Editor. https://community.esri.com/thread/170004
... View more
11-05-2018
09:27 AM
|
0
|
4
|
1151
|
POST
|
Hello all, I am looking to auto populate a date field with the current date whenever I add a new feature using the Smart Editor widget. I am aware of the tracking fields but I need to follow a specific field schema and populate a specific field. I have tried using preset values in the Smart Editor app but cannot figure out how to set it up to handle using the current date. I am using WAB Dev 2.9. Thanks in advance, Craig
... View more
10-12-2018
12:05 PM
|
0
|
5
|
2215
|
POST
|
Hi James Tedrick, Thanks for the quick reply - we'll give this workflow a try! Jacqueline
... View more
06-28-2018
06:04 AM
|
0
|
0
|
857
|
POST
|
Hi all, I interested in seeing if anyone has run into this issue yet. I am using ArcGIS Arcade in my popups in WAB 2.6 dev editon. When I use the Search widget to search for a particular feature, the Arcade expression is not visible in my popup in the found feature (I have the 'Show pop-up for the found feature or location' option checked in the Search widget config). However, I can click on the same feature again and then the Arcade expression appears. Has anyone else experienced this and if so, how did you get around it? Thanks in advance, Craig
... View more
01-05-2018
02:14 PM
|
0
|
1
|
403
|
DOC
|
Hey James, I've adjusted this by adding a "checked" attribute to the showTotals checkbox element in the Widget.html file. This adjustment can be made on line 35. Jacqueline
... View more
04-27-2017
08:47 AM
|
0
|
0
|
3262
|
Title | Kudos | Posted |
---|---|---|
1 | 05-06-2020 09:18 AM |
Online Status |
Offline
|
Date Last Visited |
02-01-2024
05:12 PM
|