Skip to content
This repository was archived by the owner on Jan 18, 2021. It is now read-only.
This repository was 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

Description

@jakprovaznik1

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions