Select to view content in your preferred language

Help with Model Builder "Parameter Name and Data Type are required" error

1355
1
Jump to solution
03-09-2022 10:58 PM
Labels (2)
LindsayRaabe_FPCWA
Honored Contributor

I have built a relatively simple model but have across an error I've not encountered before (and I do a fair bit in Model Builder). I'm trying to change some of my parameters to Optional, but the OK button is greyed out, and I'm seeing the below "Parameter Name and Data Type are required" message. You can see in the screenshot of the model that each parameter has a name, and they are all String type except for 4 (Long). The only 2 which are required are the first 2, then the rest are optional depending on what data is being loaded. The values are then called by the Calculate Field steps to fill in the relevant fields (will just calculate "" if the parameter is left empty). 

LindsayRaabe_FPCWA_0-1646895235363.png

LindsayRaabe_FPCWA_2-1646895324545.png

LindsayRaabe_FPCWA_3-1646895329477.png

 

 

Lindsay Raabe
GIS Officer
Forest Products Commission WA
0 Kudos
1 Solution

Accepted Solutions
LindsayRaabe_FPCWA
Honored Contributor

Found my own solution: Don't start a variable name that you need as a Parameter with numbers! Once I renamed them all to put the numbers anywhere but the beginning (i.e. Endorsement 8234?) it worked fine. 

Lindsay Raabe
GIS Officer
Forest Products Commission WA

View solution in original post

0 Kudos
1 Reply
LindsayRaabe_FPCWA
Honored Contributor

Found my own solution: Don't start a variable name that you need as a Parameter with numbers! Once I renamed them all to put the numbers anywhere but the beginning (i.e. Endorsement 8234?) it worked fine. 

Lindsay Raabe
GIS Officer
Forest Products Commission WA
0 Kudos