Select to view content in your preferred language

Export Features tool not remembering fields in Model Builder

1692
6
01-30-2024 12:13 PM
JaronJensen7
Occasional Contributor

I have a model that I run to help me export data collected in Field Maps into a shapefile that I can then import into another GIS that we use for our main mapping of our infrastructure. I am currently using ArcGIS Pro 3.2.1. 

The issue that I am having is that every time I close the project and then re-open the project it does not keep the field values in the "Export Features" tool that is within my model. So I end up having to reset the fields so that the model will transfer the fields into the new shapefiles.

The reset also won't work unless I run the model first, and then I can do the reset to get the fields back.

Anyone else having this issue, and if so were you able to fix it? I am able to do the reset but I feel like that defeats the purpose of the model.

JaronJensen7_0-1706645444854.png

JaronJensen7_1-1706645469152.png 

JaronJensen7_2-1706645503951.png

 

 

6 Replies
christiemost
Emerging Contributor

Yes.  I am experiencing something similar.  When I use the Export Features Tool in a model it does not recognize any changes that were made to the input layers when I go to rerun the model.  It's as though the input layer is being cached.  Perhaps this is a feature?  I have tried saving the model and closing ArcPro.  The results do not change.  In order to fix this I have to delete the input layer from the model and re-add it.  All my data is in file gdbs.  I am on Pro 3.2.2.

LoganRudkevitch
Emerging Contributor

I am running into this problem as well trying to run a model that exports features to a newly created feature class and want all the fields persist to the new feature class but it is exporting empty.  

StephenRead
Occasional Contributor

Yes, the same problem for me with the Export Features tool in Model Builder. 

Fields that should be Text(255) are becoming Text(1) and Long fields are becoming Text(1).

The effect is that data is dropped and the attribute becomes null

I am using ArcGIS Pro 3.2.2 and can't update to 3.3.0 as this isn't compatible with our FME Workbench setup so don't know if it's fixed in 3.3.0

TonyaLong
Emerging Contributor

I just upgraded to 3.3.2 a couple of weeks ago and this is still an issue for me as well. I have a model that I run on subsets of data that are always formatted exactly the same way, and every time I have to reset all the fields in the Export Features tool manually. I tried to get around this by saving a field map file that I could load each time, but the tool won't accept it, even when it's saved in the same folder as all the other project files. When I try to upload the field map file, it will show my map for a split second, then revert to the default order (see video - apologies for the poor quality).

Has anyone found a solution for this? It's becoming awfully tedious to do this every time I have to run my model.

0 Kudos
cmoser
by
New Contributor

Try replacing Export Features with the Copy Features tool.  It worked for me.

0 Kudos
MDB_GIS
Frequent Contributor

Copy Features doesn't even give you the option to select which fields are copied. It just does all of them. 

0 Kudos