Lookup Fields Missing in Results When Using renderListDataAsStream with CAML Query #10134
Open
2 of 9 tasks
Labels
sharepoint-developer-support
sharepoint-developer-support
type:bug-suspected
Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
SharePoint REST API
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
I'm encountering an issue since 5 days when querying a SharePoint calendar list via the REST API using the PnP JS library's renderListDataAsStream method. Even though I've included the lookup field explicitly in the section of my CAML query and verified that the internal name is correct, the lookup field is not returned in the response.
Steps to reproduce
Setup:
Execute the Query:
Construct a CAML query with OverrideViewXml that includes:
Set the Paging parameter to "Paged=TRUE".
Example CAML Query:
Observation:
The query successfully returns recurring event items.
However, the lookup field (Employee) is consistently missing from the returned data, even though it's defined in the .
Expected behavior
The lookup field should be included in the results alongside other fields (e.g., Title).
The text was updated successfully, but these errors were encountered: