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

Bug report: m365 spo page clientsidewebpart add does not work on vertical section #6265

Open
hsantens opened this issue Aug 22, 2024 · 2 comments · May be fixed by #6566
Open

Bug report: m365 spo page clientsidewebpart add does not work on vertical section #6265

hsantens opened this issue Aug 22, 2024 · 2 comments · May be fixed by #6566

Comments

@hsantens
Copy link

Priority

(Medium) I'm annoyed but I'll live

Description

When a SharePoint page has a vertical section (create manually or by CLI) you cannot add a webpart to this section by m365 spo page clientsidewebpart add. Error is {"error":"Invalid section '2'"}
However, the m365 spo page section list and m365 spo page section get returns the section.

Steps to reproduce

  • Create a vertical section on a SharePoint page
  • Add a webpart to the section e.g. m365 spo page clientsidewebpart add --webUrl $site --pageName "Home.aspx" --standardWebPart Image --section 2 --column 1

Expected results

The webpart being added to the vertical section

Actual results

Webpart is not added.
Error: {"error":"Invalid section '2'"}

Diagnostics

No response

CLI for Microsoft 365 version

v8.0.0

nodejs version

v20.12.0

Operating system (environment)

Windows

Shell

PowerShell

cli doctor

No response

Additional Info

No response

@hsantens hsantens added the bug label Aug 22, 2024
@hsantens hsantens changed the title Bug report: m365 spo page clientsidewebpart add does not work on vertical section Bug report: m365 spo page clientsidewebpart add does not work on vertical section Aug 22, 2024
@milanholemans
Copy link
Contributor

Thank you @hsantens for reporting this issue. I was able to reproduce it. We'll have a look at it.

@Adam-it Adam-it added the hacktoberfest Issue perfect for hacktoberfest label Sep 24, 2024
@Adam-it Adam-it removed the hacktoberfest Issue perfect for hacktoberfest label Nov 3, 2024
@mkm17
Copy link
Contributor

mkm17 commented Dec 29, 2024

Hi @milanholemans I can check it.

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

Successfully merging a pull request may close this issue.

4 participants