I am using Sharepoint pnp js library to create a list: https://pnp.github.io/pnpjs/sp/lists/
How do I specify list URL (not title) when creating it?
Means, if I want my list URL to look like this (for example):
https://contoso.sharepoint.com/sites/Site/lists/SomeCustomListUrl
I am interested how do you specify lists/SomeCustomListUrl
part when creating a list.
For example, if I create it using CSOM, there Url
parameter in ListCreationInformation
, in SPMeta2 there is CustomUrl
parameter in the list definition. I could not find anything similar in pnp js?
If not possible with pnp library, is it possible to do that with REST api?