tag:blogger.com,1999:blog-8705297068966115777.post8485358097679747510..comments2023-07-03T13:51:23.493+05:30Comments on SharePoint Kings: Add Choice column to list programmaticallyParth Patelhttp://www.blogger.com/profile/05132175585607358084noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8705297068966115777.post-90912491012944220952012-02-20T04:56:15.487+05:302012-02-20T04:56:15.487+05:30Thank you for this.
I was surprised at how importa...Thank you for this.<br />I was surprised at how important it is that you create the field, add it to the list, update the list and then, get a reference back to the field by name.<br /><br />I was doing this in a slightly different order. I stored away an object reference to the newly created field at the time of creation, and then tried to add the list items to it. This gave me the error: "0x80070057"<br /><br />When I followed the order here in your article it all started working for me.<br />You just helped me move forward with my project. Thank you!Adam Collingshttp://collingszone.wordpress.comnoreply@blogger.comtag:blogger.com,1999:blog-8705297068966115777.post-81988118779551848402012-02-01T05:33:09.908+05:302012-02-01T05:33:09.908+05:30Simple and 'to the point'. Thanks for this...Simple and 'to the point'. Thanks for this. This very quickly showed me the syntax I needed.<br />Good on ya.Adam Collingshttp://collingszone.wordpress.comnoreply@blogger.com