Skip to content
New issue

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

Problem on expanding for descripton field on sitePages #9922

Open
Marius20031 opened this issue Sep 17, 2024 · 0 comments
Open

Problem on expanding for descripton field on sitePages #9922

Marius20031 opened this issue Sep 17, 2024 · 0 comments
Labels
Needs: Triage 🔍 Awaiting categorization and initial review.

Comments

@Marius20031
Copy link

Marius20031 commented Sep 17, 2024

What type of issue is this?

Question

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Target SharePoint environment

SharePoint Online

Issue description

While using the SharePoint API via the following link: https://learn.microsoft.com/en-us/graph/api/sitepage-get?view=graph-rest-1.0&tabs=http (GET /sites/7f50f45e-714a-4264-9c59-3bf43ea4db8f/pages/df69e386-6c58-4df2-afc0-ab6327d5b202/microsoft.graph.sitePage?$expand=canvasLayout) I received a solid response for the canvasLayout field.

However, the description field was truncated and too brief for my needs. It returned something like this:
{"description': 'Blurred Blurred Blurred minimizes the security impact on cloud computing resources and automates security management using comprehensive integrations with technologies from Blurred, Blurred, Blurred, and public clouds such as Blurred and Blurred. Blurred…'} (as you can see i didn't get the whole text ... )

I attempted to expand the description field using the following queries:
...microsoft.graph.sitePage?$expand=*
...microsoft.graph.sitePage?$expand=description
...microsoft.graph.sitePage?$expand=canvasLayout,description
...microsoft.graph.sitePage?$select=description
However, none of these worked to retrieve the full description. Any idea how I can fully expand the description field?

Thanks for the help! 💖

@VesaJuvonen VesaJuvonen added the Needs: Triage 🔍 Awaiting categorization and initial review. label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Triage 🔍 Awaiting categorization and initial review.
Projects
None yet
Development

No branches or pull requests

2 participants