Forum Discussion
Pavel2235
Oct 01, 2023Brass Contributor
Create Sharepoint library using pnp js
Hi!
I want to create Sharepoint library, using pnp js, but when I try to run my code, Sharepoint list created.
await sp.web.lists.add("My Lib", "This is a description of doc lib.", 101, true, { OnQuickLaunch: true });
Could you tell me please, how can I create library?
- What verison of the Library are you using ?