From 63f9bd2ac496e09401a1ec37acee8c7a7020a882 Mon Sep 17 00:00:00 2001 From: Ethan <60406674+felpsey@users.noreply.github.com> Date: Tue, 13 Aug 2024 14:13:15 +0100 Subject: [PATCH] Correct broken list template codes reference .md --- docs/sp/lists.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sp/lists.md b/docs/sp/lists.md index 286c2fd87..4eb0484c7 100644 --- a/docs/sp/lists.md +++ b/docs/sp/lists.md @@ -70,7 +70,7 @@ console.log(r.Title); }); ``` -You can also provide other (optional) parameters like description, template and enableContentTypes. If that is not enough for you, you can use the parameter named 'additionalSettings' which is just a TypedHash, meaning you can sent whatever properties you'd like in the body (provided that the property is supported by the SharePoint API). You can find a [listing of list template codes](https://docs.microsoft.com/en-us/dotnet/api/microsoft.sharepoint.splisttemplatetype?view=sharepoint-server) in the official docs. +You can also provide other (optional) parameters like description, template and enableContentTypes. If that is not enough for you, you can use the parameter named 'additionalSettings' which is just a TypedHash, meaning you can sent whatever properties you'd like in the body (provided that the property is supported by the SharePoint API). You can find a [listing of list template codes](https://learn.microsoft.com/en-us/openspecs/sharepoint_protocols/ms-wssts/8bf797af-288c-4a1d-a14b-cf5394e636cf) in the official docs. ```TypeScript // this will create a list with template 101 (Document library), content types enabled and show it on the quick launch (using additionalSettings)