AnsweredAssumed Answered

Add Field then Set the Field Value?

Question asked by LUGDC on Jul 30, 2012
Latest reply on Aug 2, 2012 by LUGDC
I have a python script in which the end result is a single polygon in a file geodatabase that is added to the current map view. That part works fine.

What I want to do is create 2 new fields and set the values in those fields to be two parameters set in the original run of the tool (getparametersastext).

For example, would like to create two new fields: ZFile and Planner
Then set those fields to be equal to the parameters set manually at the start of the tool: Zfile and Planner

I've successfully created the fields, but I've had no success at setting the values for either.

As I mentioned, there is only one row in the dataset. I can set it manually, but the idea is to automate all of this.

Any points in the right direction are gratefully accepted.