pnp / pnp/cli-microsoft365

[Enhancement] - Add more options to `spo site set`

Open
#5,422 3 comments 0 reactions 1 assignee View on GitHub

@ganesh-sanap is already working on this.

Since Aug 28, 2023.

enhancement needs design
Dominant language
TypeScript
Stars
1.5k
Forks
413
Avg merge
5d 6h
Merged PRs (30d)
21

Description

Can we enhance spo site set cmdlet to support additional parameter for the site properties which are currently missing in the command?

For example:

  • CommentsOnSitePagesDisabled
  • RequestFilesLinkEnabled
  • RequestFilesLinkExpirationInDays
  • ListsShowHeaderAndNavigation
  • DisableAppViews

I would like to contribute to this library for above enhancement request. Thank you!


Option Description
--commentsOnSitePagesDisabled [commentsOnSitePagesDisabled] Disable comments on all site pages. Allowed values: true, false.
--requestFilesLinkEnabled [requestFilesLinkEnabled] Enables or disables the Request Files link on the site. Allowed values: true, false.
--requestFilesLinkExpirationInDays [requestFilesLinkExpirationInDays] Specifies the number of days before a Request Files link expires for the site. The value can be from 0 to 730 days.
--listsShowHeaderAndNavigation [listsShowHeaderAndNavigation] Set a property on a site collection to make all lists always load with the site elements intact. Allowed values: true, false.
--disableAppViews [disableAppViews] Determines whether the App Views feature is disabled in the site collection. Allowed values: Unknown, Disabled, NotDisabled.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.