What SharePoint development model, framework, SDK or API is this about?
Microsoft Graph API (SharePoint pages)
Developer environment
N/A
What browser(s) / client(s) have you tested
[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[X] not applicable
[ ] other (enter in the "Additional environment details" area below)
Additional environment details
OAuth authenticated Microsoft Graph API HTTP requests using Postman.
Describe the bug / error
I'm not sure if this is a bug or limitation currently, but when returning either a single or multiple microsoft.graph.sitePage query response, I am not able to select nested properties for something like the "titleArea".
I can select the whole titleArea in a $select query, but I cannot selectively return just certain keys under this property.
I asked Co-Pilot and it seems to suggest the two notations should be possible, but neither work with differing results.
Is it possible to select specific keys within the nested property without returning the entire array? As the titleArea is not a navigation property, expand cannot be used.
Please forgive me if I am not understanding the OData syntax/documentation.
Steps to reproduce
Using the sample HTTP requests with OData $select properties outlined in the bug/error description, each result shows the current behaviour.
Expected behavior
The ability to have just a single or subset of properties be returned from the titleArea.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
Microsoft Graph API (SharePoint pages)
Developer environment
N/A
What browser(s) / client(s) have you tested
Additional environment details
OAuth authenticated Microsoft Graph API HTTP requests using Postman.
Describe the bug / error
I'm not sure if this is a bug or limitation currently, but when returning either a single or multiple
microsoft.graph.sitePage
query response, I am not able to select nested properties for something like the "titleArea".I can select the whole
titleArea
in a $select query, but I cannot selectively return just certain keys under this property.Examples:
Selecting top level keys with $select
Selecting the entire titleArea also works but returns all the keys under this which adds weight to the response size.
Trying to select a single property of the titleArea with dot notation returns no error but this is not returned in the response data
Trying to select a single property using the forward slash notation causes a bad request error.
I asked Co-Pilot and it seems to suggest the two notations should be possible, but neither work with differing results.
Is it possible to select specific keys within the nested property without returning the entire array? As the titleArea is not a navigation property, expand cannot be used.
Please forgive me if I am not understanding the OData syntax/documentation.
Steps to reproduce
Using the sample HTTP requests with OData $select properties outlined in the bug/error description, each result shows the current behaviour.
Expected behavior
The ability to have just a single or subset of properties be returned from the titleArea.