Hello
I am having trouble is my script tool to set the parameters for the expressions and the code block. Is this something that is possible? If it is, to check Im adding the paramters correctly what do I need to specify? (ie data type, direction) Thank you so much for your help!
import arcpy
POAlayer = arcpy.GetParameterAsText(0)
POAexpression = arcpy.GetParameterAsText(1)
POAcode = arcpy.GetParameterAsText(2)
# Calculate field
arcpy.management.CalculateField(POAlayer, "POA", POAexpression, "PYTHON3", POAcode)