We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please specify what version of the library you are using: [2.0.6]
Please specify what version(s) of SharePoint you are targeting: [SPO]
Multiline Text field is updated with no errors
A type named 'SP.FieldNote' could not be resolved by the model error.
await sp.web.fields.getByInternalNameOrTitle('fieldtitle').update({ // update params });
Metadata for this request:
"__metadata":{"type":"SP.FieldNote"}
If I explicitly set the type to be SP.Field (as it was in v1 of the library) - everything works:
SP.Field
await sp.web.fields.getByInternalNameOrTitle('fieldtitle').update({ // update params }, 'SP.Field');
The text was updated successfully, but these errors were encountered:
This is coming out of the change made in #1187 to make the field type optional. You can always override it like you did.
We've updated the code in update to pull the odata.type which seems to reflect the true type which FieldTypeKind does not.
Sorry, something went wrong.
Fixing pnp#1294
41d7c35
Merge pull request #1297 from patrick-rodgers/version-2
ca74846
Fixing #1294
This issue is locked for inactivity or age. If you have a related issue please open a new issue and reference this one. Closed issues are not tracked.
Successfully merging a pull request may close this issue.
Category
Version
Please specify what version of the library you are using: [2.0.6]
Please specify what version(s) of SharePoint you are targeting: [SPO]
Expected / Desired Behavior / Question
Multiline Text field is updated with no errors
Observed Behavior
A type named 'SP.FieldNote' could not be resolved by the model error.
Steps to Reproduce
Metadata for this request:
If I explicitly set the type to be
SP.Field
(as it was in v1 of the library) - everything works:The text was updated successfully, but these errors were encountered: