script-samples icon indicating copy to clipboard operation
script-samples copied to clipboard

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

Open pkbullock opened this issue 2 years ago • 5 comments

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

pkbullock avatar Jul 06 '22 20:07 pkbullock

Can you please assign this to me?

Jitenparmar avatar Jul 07 '22 07:07 Jitenparmar

@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 ?

reshmee011 avatar Jul 07 '22 09:07 reshmee011

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

pkbullock avatar Oct 08 '22 06:10 pkbullock

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

Jitenparmar avatar Oct 10 '22 13:10 Jitenparmar

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

Jitenparmar avatar Oct 10 '22 13:10 Jitenparmar

@Jitenparmar the link seems to work just fine for me

kasperbolarsen avatar Nov 19 '22 17:11 kasperbolarsen

@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.

reshmee011 avatar Apr 06 '23 05:04 reshmee011

Closing :-)

pkbullock avatar Mar 09 '24 16:03 pkbullock