pnp / script-samples

A sample gallery of scripts to manage all things Microsoft 365.
https://pnp.github.io/script-samples/
MIT License
223 stars 140 forks source link

Update needed - SPO Management Shell - Create and add list template to SharePoint site #326

Closed pkbullock closed 8 months ago

pkbullock commented 2 years ago

Example: https://pnp.github.io/script-samples/spo-add-list-template-with-custom-library/README.html?tabs=spoms-ps

Get-SPOListDesign - no longer exists, the sample will break with the latest version of SPO Management Shell.

Reference to use: https://docs.microsoft.com/en-us/sharepoint/lists-custom-template

Jitenparmar commented 2 years ago

Can you please assign this to me?

reshmee011 commented 2 years ago

@pkbullock : Interesting as there are missing documentation on Get-SPOListDesign and Invoke-SPOListDesign on Microsoft docs since last year. I failed to add documentation on Invoke-SPOListDesign being a non Ms employee (refer to https://github.com/MicrosoftDocs/OfficeDocs-SharePoint-PowerShell/pull/49 ) . I edited https://docs.microsoft.com/en-us/sharepoint/lists-custom-template to add reference to Get-SPOListDesign and was merged by the maintainers. I only noticed the Get-SPOListDesign and Invoke-SPOListDesign cmdlets by chance to be honest without them being documented anywhere. Do you know if there has been formal communication about Get-SPOListDesign being deprecated since I never saw any formal documentation from MS about Get-SPOListDesign or Invoke-SPOListDesign ?

pkbullock commented 2 years ago

Hi @Jitenparmar - will you be working on this one or can I release to the community?

Jitenparmar commented 2 years ago

Hello, @pkbullock apologies for the delay I will complete this by this weekend. Thanks for the reminder.

Jitenparmar commented 2 years ago

@pkbullock I am not able to find the first link? is it removed from the script samples?

kasperbolarsen commented 2 years ago

@Jitenparmar the link seems to work just fine for me

reshmee011 commented 1 year ago

@pkbullock : The cmd Get-SPOListDesign is present from the doc https://docs.microsoft.com/en-us/sharepoint/lists-custom-template

image

I think the issue can be closed.

pkbullock commented 8 months ago

Closing :-)