Skip to content

Feature request - m365 spo set --layoutType HeaderlessSearchResults #2821

@joakimhogberg

Description

@joakimhogberg

Description

Hi,

Not sure how to make a proper feature request/raise a question, I hope this will do. Been a while since I was here honestly :-)

I Might be missing something obvious, but I can't see how I can set layoutType as HeaderlessSearchResults on a custom search page in spo?

In PnP.PowerShell/Set-PnPPage I can set it to; Article, Home, SingleWebPartAppPage, RepostPage, HeaderlessSearchResults, Spaces, Topic while only the first two are available in m365 cli, correct?

Steps to reproduce

spo page set --name SuperSearch.aspx --webUrl https://contoso.sharepoint.com --layoutType HeaderlessSearchResults

Expected results

Expected layoutType to be set to HeaderlessSearchResults as if I've done it with PnP.PowerShell/Set-PnPPage

Actual results

Error: HeaderlessSearchResults is not a valid option for layoutType. Allowed values Article|Home

Diagnostics

No response

CLI for Microsoft 365 version

4.1.0

nodejs version

14.18.1

Operating system (environment)

macOS

Shell

zsh

cli doctor

No response

Additional Info

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions