I need only the fields and their properties in the report, no details. I recall creating this report in the past so I know it can be done.
https://community.esri.com/groups/geodatabase?sr=search&searchId=eac7a8ac-ff27-4f23-b2e0-e0d0bc912065&searchIndex=0
Are you looking for this: X-Ray for ArcCatalog
I wonder if you are looking for ListFields—Help | ArcGIS for Desktop
From the arcpy samples.
<SPAN class="comment token"># List field properties.</SPAN> <SPAN class="keyword token">import</SPAN> arcpy <SPAN class="comment token"># For each field in the Hospitals feature class, print</SPAN> <SPAN class="comment token"># the field name, type, and length.</SPAN> fields <SPAN class="operator token">=</SPAN> arcpy<SPAN class="punctuation token">.</SPAN>ListFields<SPAN class="punctuation token">(</SPAN><SPAN class="string token">"c:/data/municipal.gdb/hospitals"</SPAN><SPAN class="punctuation token">)</SPAN> <SPAN class="keyword token">for</SPAN> field <SPAN class="keyword token">in</SPAN> fields<SPAN class="punctuation token">:</SPAN> <SPAN class="keyword token">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"{0} is a type of {1} with a length of {2}"</SPAN> <SPAN class="punctuation token">.</SPAN>format<SPAN class="punctuation token">(</SPAN>field<SPAN class="punctuation token">.</SPAN>name<SPAN class="punctuation token">,</SPAN> field<SPAN class="punctuation token">.</SPAN>type<SPAN class="punctuation token">,</SPAN> field<SPAN class="punctuation token">.</SPAN>length<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">)</SPAN> <SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
Thank you Rebecca!
I'm getting super feedback.
I'm also looking into Xray for ArcCatalog and Xray for ArcGIS (not too
successful with one for 10.3, but I'll keep looking)
Veronica
>>> "Rebecca Strauch, GISP" <geonet@esri.com> 09/07/2017 11:15 AM >>>
GeoNet
( https://community.esri.com/?et=watches.email.thread)
Re: ArcGIS 10.3 report writerreply from Rebecca Strauch, GISP
( https://community.esri.com/people/rastrauch?et=watches.email.thread) in
Managing Data - View the full discussion
(
https://community.esri.com/message/713665-re-arcgis-103-report-writer?commentID=713665&et=watches.email.thread#comment-713665)
https://community.esri.com/external-link.jspa?url=http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-functions/listfields.htm)
List field properties.
import arcpy
For each field in the Hospitals feature class, print
the field name, type, and length.
fields = arcpy.ListFields("c:/data/municipal.gdb/hospitals")
for field in fields:
print(" is a type of with a length of "
.format(field.name, field.type, field.length))
Reply to this message by replying to this email, or go to the message
on GeoNet
Start a new discussion in Managing Data by email
( mailto:discussions-community-gis-managing--data@mail.geonet.esri.com)
or at GeoNet
https://community.esri.com/choose-container.jspa?contentType=1&containerType=14&container=2050&et=watches.email.thread)
Following Re: ArcGIS 10.3 report writer
in these streams: Inbox
This email was sent by GeoNet because you are a registered user.
You may unsubscribe
https://community.esri.com/unsubscribe.jspa?email=veronica.raines@ci.kinston.nc.us&token=2c39d44fbed88733be86555f03e65edc9eeaf85bae7811c41cac764dc95320f5)
instantly from GeoNet, or adjust email frequency in your email
preferences
( https://community.esri.com/user-preferences!input.jspa)
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.