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).
Solved! Go to Solution.
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.
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.