Hi Eric,
Yes, I added UDF through Code. But I first created ARD, installed it on Server. I added all fields including this field using ARD on Server. Then all users got logged in the system.
So I firstly created this field on Server. I would say this to you.
Regards