We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
spo page default get
m365 spo page default get [options]
Gets the home page for a specific site
-u, --siteUrl <siteUrl>
Get the home page of a specific site
m365 spo page default get --siteUrl https://contoso.sharepoint.com/sites/Marketing
No response
To get to know which page is the current home page, execute this request:
GET https://contoso.sharepoint.com/sites/Playground/_api/Web/RootFolder?$select=WelcomePage
Thereafter, you should retrieve the site page with a GetFileByServerRelativePath request.
GetFileByServerRelativePath
The text was updated successfully, but these errors were encountered:
Assign this to me please.
...with a GetFileByServerRelativePath request.
assuming this command will return detailed information about the home page and not just the relative URL.
Sorry, something went wrong.
Assign this to me please. ...with a GetFileByServerRelativePath request. assuming this command will return detailed information about the home page and not just the relative URL.
Yes, the response should look the same as spo page get.
spo page get
Saurabh7019
No branches or pull requests
Usage
m365 spo page default get [options]
Description
Gets the home page for a specific site
Options
-u, --siteUrl <siteUrl>
Examples
Get the home page of a specific site
Default properties
No response
Additional Info
To get to know which page is the current home page, execute this request:
Thereafter, you should retrieve the site page with a
GetFileByServerRelativePath
request.The text was updated successfully, but these errors were encountered: