Field Map in geoprocessing tool need to be reset everytime

213
1
04-30-2024 03:58 AM
Labels (3)
Iron_Mark
New Contributor III

Hi,

I have created a model in Modelbuilder which does spatial join, then merge, export features...

The purpose of the model is to have the flexibility of selecting 2 shapefiles per Run and everytime I have to reset the fields in the "Field Map" section at the bottom of the groprocessing tool.

This issue is critical in the Merge, but also in spatial join and export feature..

I know it is a bug or a known issue, but I really need a workaround for this. Also, I need to share the tool with other people, what would be the best way of doing it if the model refers to some static tables and shapefiles?

Thanks in advance

0 Kudos
1 Reply
RichardHowe
Occasional Contributor III

I'm not sure if it's the answer you want, but building this in Python would allow you to set a dictionary for your field mapping which lives within the tool

You could also make static reference to lookup tables/datasets held on a shared server via a python script

0 Kudos