Select to view content in your preferred language

Dissolve in ModelBuilder - only numeric fields in tool parameters

528
3
Jump to solution
03-08-2024 06:42 AM
AmberMillison
Regular Contributor

Hello,

I am trying to run a Dissolve in ModelBuilder, but it is only allowing me to select numeric fields for both the dissolve field and statistics fields. I tried configuring the tool straight through the geoprocessing toolbox using the same input dataset, and all my text fields are showing up, but when I try it in ModelBuilder it only allows me to select the numeric fields. Even if I search one of the text fields it won't show up.

This is what I see when I configure in the geoprocessing pane:

AmberMillison_0-1709908240500.png

And this is what I see when I configure the tool through ModelBuilder on the same dataset:

AmberMillison_1-1709908303617.png

Has anyone else had this problem? Am I doing something wrong or is this a glitch? I am operating on Pro 3.1 (waiting for my IT department to install 3.2, hoping that may be the fix?)

0 Kudos
1 Solution

Accepted Solutions
RhettZufelt
MVP Notable Contributor

With Pro 3.1.3 GP Tool:

RhettZufelt_0-1709912792382.png

In Model:

RhettZufelt_1-1709912809241.png

Statistics fields show as well (in both):

RhettZufelt_2-1709913174810.png

 

Same dataset, same options.

In the Model, I selected the folder and browsed to the feature class directly.

Any chance you are feeding it the results from a previous step in the model that is stripping off any text fields?

In your pics, I don't see any of the 'Sum' fields in the GP tool example.

R_

View solution in original post

3 Replies
RhettZufelt
MVP Notable Contributor

With Pro 3.1.3 GP Tool:

RhettZufelt_0-1709912792382.png

In Model:

RhettZufelt_1-1709912809241.png

Statistics fields show as well (in both):

RhettZufelt_2-1709913174810.png

 

Same dataset, same options.

In the Model, I selected the folder and browsed to the feature class directly.

Any chance you are feeding it the results from a previous step in the model that is stripping off any text fields?

In your pics, I don't see any of the 'Sum' fields in the GP tool example.

R_

AmberMillison
Regular Contributor

Hi Rhett,

Thanks for your response. I am feeding it the results from a previous step in the model - does this cause the text fields to be removed? And if so, I'm guessing the solution would be to run the first part of the model up to that input, then add that output back into the model straight from the folder and then run the Dissolve tool? I think this may be the solution! Thank you!

The 'Sum' fields are still in the GP tool but they are all the way at the end of the table so they just weren't showing in the screenshot I took.

0 Kudos
AmberMillison
Regular Contributor

@RhettZufelt  - just tried re-adding the input dataset into the model straight from the folder and it worked! Thanks so much for your help!

0 Kudos