Select to view content in your preferred language

Export Features - too many fields in Contents pane

506
8
08-02-2024 01:00 AM
TamaraMorgan
Emerging Contributor

Hello! I have recently started using ArcGIS Pro after originally learning on ArcMap.

To export data in ArcMap I would just right click on the layer and select Export Data --> All features in view extent or selected features.

From what I can find it is a similar process in ArcGIS Pro. Right click on the layer, select Data --> Export Features, then under the Environment tab select the extent as "current display extent", etc.

This all seems to work how I would like it - the attribute table for the new layer only lists the fields I selected and the map only shows the layers selected. But under the Contents pane, all the original fields are listed under the layer, and therefore all get listed in the Layout Legend.

Am I missing a step?

 

 

 

0 Kudos
8 Replies
DanPatterson
MVP Esteemed Contributor

Export data—ArcGIS Pro | Documentation

There are many ways to export/copy data.  the above link describes some of the options and what they do and how they differ.

Export Features (Conversion)—ArcGIS Pro | Documentation

has the ability to sort fields and/or change what fields are saved to the output using the field mapping option.


... sort of retired...
0 Kudos
TamaraMorgan
Emerging Contributor

Thanks Dan, I had read through these and also watched a few "how to" videos, but none of them helped me with this particular issue.

0 Kudos
CodyPatterson
Frequent Contributor

Hey @TamaraMorgan 

From reading what you mentioned, I'm curious about what this may look like via a screenshot. Would it be possible to provide a screenshot of what you're seeing and the additional fields? I'm curious if this may be something to do with symbology as normally fields aren't viewable through the contents pane.

If this is symbology, you may be able to right click, go to symbology, and if it is a set of unique values, you should be able to right click on the symbol you would like to exclude from the legend and press Remove, this can be added back through the same window, but with the green plus sign, here are some screenshots:

CodyPatterson_1-1722602656514.png

 

CodyPatterson_0-1722602631398.png

This method will remove unwanted legend entries if symbology is the issue.

Cody

AlfredBaldenweck
MVP Regular Contributor

This works. The other setting I would try is: Only Show Features in Map Extent in the Legend, but that only takes care of the issue in Layout view.

The green Plus sign that Cody mentioned can also be used to add symbols for values that don't exist yet, which can be handy if you're trying to set up symbology in an empty file.

As another note, OP, not to be pedantic but your word choice here was very confusing.

Fields are the columns of the table, records are the rows, and attributes are the contents of each field in each row. So in this case, you exported selected records and the attributes used to symbolize the original copy were still showing up in the symbology for the exported copy, even though they weren't in the table.

Field 1 (ObjectID)Field 2Field 3

Record 1

Attribute 1-2Attribute 1-3
Record 2Attribute 2-2Attribute 2-3
TamaraMorgan
Emerging Contributor

Hi Alfred, thanks for pointing out my terminology errors - I am still very new to this so it was very helpful.

Luckily I figured out the solution, the icon "Add all values" next to the green plus sign updates the records.

0 Kudos
AlfredBaldenweck
MVP Regular Contributor

Glad you figured it out!

0 Kudos
TamaraMorgan
Emerging Contributor

Hi Cody, sorry the terminology I used wasn't correct (I am a noob).  I meant the records not the fields.

I actually figured out the solution after posting this question and it was something to do with Symbology. The "Add all values" icon next to the green plus sign updates the records to the ones selected during the export features process. 

 

 

 

CodyPatterson
Frequent Contributor

Hey @TamaraMorgan 

Sounds great! No worries on terminology, I like to ask just in case it could be something else, glad you got it figured out!

Cody

0 Kudos