Pages
Home
About Me
Friday, February 18, 2022
How can we create hidden list in SharePoint Online via SPFx using PnP JS
Problem Background
I wanted to create Hidden List to store some setting values. The list is provisioned in SharePoint Online using SPFx with the help of PnP JS.
Solution
sp
.
web
.
lists
.
ensure
(
"ListName"
, "List Description
"
,
100
,
false
, {
Hidden
:
true
});
Reference
https://github.com/pnp/pnpjs/issues/2068
https://pnp.github.io/pnpjs/sp/lists/
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment