Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

Column Modified by cannot be loaded (400) The query to field 'Editor' is not valid. #63

Open
jakprovaznik1 opened this issue Jul 29, 2020 · 0 comments

Comments

@jakprovaznik1
Copy link

I am using this syntax:

return sprLib
.list({
name: this.config.answers,
baseUrl: this.state.queryBaseUrl
})
.items({
listCols: {
dataObjectID: { dataName: "Id" },
status: { dataName: "STATUS" },
notes: { dataName: "NOTES" },
lastModifiedAt: { dataName: "Modified" },
modifiedBy: { dataName: "Editor"}
},
queryFilter:
"Title eq '" + queryString.parse(this.props.location.search).bid + "'"
})

This is in the error message: The $select query string must specify the target fields and the $expand query string must contains Editor

How can I use expand parameter in this case?

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

No branches or pull requests

1 participant