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

[FEATURE] More options for the cmdlet Add-PnPPageWebPart Parameter -DefaultWebPartType #4363

Open
CohenBrown opened this issue Oct 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@CohenBrown
Copy link

Is your feature request related to a problem? Please describe.
This feature is not related to a problem, I believe that a cmdlet could have more functionality then what is provided however this is very specific for the education tenants.

We are currently using Get-PnPSiteTemplate and Invoke-PnPSiteTemplate to copy the layout of sharepoint sites to new sites as the year rolls over however there is still a lot of manual tweaking due to limitations.

Describe the solution you'd like
We would like the cmdlet Add-PnPPageWebPart -DefaultWebPartType parameter to include more options for educational tenants, in out use case having "Assignments" would help massively with year to year rollover of class sharepoints.

I believe Microsoft does include this as part of their Default Web Parts as documented here and it being available when editing the sharepoint site.
https://support.microsoft.com/en-au/office/using-web-parts-on-sharepoint-pages-336e8e92-3e2d-4298-ae01-d404bbe751e0
image

Describe alternatives you've considered
Is there currently a way of solving your problem with existing cmdlets? Optionally through the use of other PowerShell Modules (for instance by using the Microsoft Graph cmdlets or the Microsoft SPO Management Shell)

Currently, We have not found an alternative solution to this as we have staff manually adding the assignment webpart back into the site via documentation supplied.

Additional context
Just a side note, this feature would help massively for us as we are currently automating this for around 200 sites per year.

I am more than happy to do testing as chances are you may not have an educational tenant to test with.

@CohenBrown CohenBrown added the enhancement New feature or request label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant