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

Add "UpdateAndPushChanges" methods on IField #889

Closed
jansenbe opened this issue Jun 22, 2022 · 1 comment
Closed

Add "UpdateAndPushChanges" methods on IField #889

jansenbe opened this issue Jun 22, 2022 · 1 comment
Assignees
Labels
area: model 📐 Related to the core SDK models

Comments

@jansenbe
Copy link
Contributor

jansenbe commented Jun 22, 2022

See #888.

Will require using Graph to build a field update payload containing "propagateChanges": true.

See https://docs.microsoft.com/en-us/graph/api/columndefinition-update?view=graph-rest-1.0 for the Graph info, see https://github.com/pnp/pnpcore/blob/dev/src/sdk/PnP.Core/Services/Core/Query/QueryClient.cs#L737-L864 for sample code on how to get the modified IField properties.

Note: there's no Graph mapping for IField, so manual property name mapping would be needed (if needed)

Alternative approach is using CSOM

@jansenbe jansenbe added area: model 📐 Related to the core SDK models help wanted Extra attention is needed labels Jun 22, 2022
@jansenbe jansenbe self-assigned this Jun 27, 2022
@jansenbe jansenbe removed the help wanted Extra attention is needed label Jun 27, 2022
jansenbe added a commit that referenced this issue Jun 28, 2022
@jansenbe
Copy link
Contributor Author

Implemented (using CSOM)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: model 📐 Related to the core SDK models
Projects
None yet
Development

No branches or pull requests

1 participant