Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide methods to update list settings and add columns after it was created #9

Open
OndrejValenta opened this issue Apr 9, 2018 · 0 comments
Assignees

Comments

@OndrejValenta
Copy link
Contributor

Provide methods to update field settings and list settings to CSOMOperation.

op.GetList("Test list")
    .ModifyField<NumberField>("NumberField1", field => {
              field.Required = false; // property is made up use the proper one
              field.DefaultValue = 3.14; // property is made up use the proper one
     }

ModifyField method should be generic, if possible, to provide user with proper field properties without a need to convert the object to specific field type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants