shareplum
                                
                                 shareplum copied to clipboard
                                
                                    shareplum copied to clipboard
                            
                            
                            
                        Can’t add fields to new list
I’ve been trying to add data to a newly created SP list, and it keeps telling me the field I have doesn’t exist. The only way I can get this resolved is manually create the fields in Sharepoint. Is there a programmatic way to add fields and their values. I’m passing a list of dictionaries when trying this.
There is, but it kinda sucks. I've started working on this problems a bunch of times, but I can never figure out how to make the code clean enough to be remotely useful. It's pretty easy to pull up the Microsoft documentation on how to do this and add it to SharePlum, but the amount of effort it would take to specify how to create the new field in code, you could have done it ten times manually. I know that there are situations where it could be useful to do this programmatically. I just can't come up with a good way to do it.