Pages

Showing posts with label PnP JS. Show all posts
Showing posts with label PnP JS. Show all posts

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

Friday, August 27, 2021

SharePoint Framework (SPFx) starting points

 Introduction

In this blog post we will look at some basic SPFx ideas for a easy start on SPFx. These points can be changed according to the individual and I'm sharing these points based only on my own experience. 

Saturday, June 2, 2018

Create SharePoint Online Single Page Application with Angular 5, @PnPJS and SP-Rest-Proxy

Introduction

I was creating a Single Page Application using Angular 5, PnPJS Libraries and sp-rest-proxy.

I have created a boilerplate project in GitHub. Please clone and run the project after installing npm packages (npm install).

To run the project open two command prompts and type

npm run hmr

npm run serve.

You will be asked your SharePoint Online site url and the credentials in the command prompt. Feel free to provide them.

Once you done with these steps browse with http://localhost:4200/ and you will see your basic detail as below.

Since then you can develop your complex single page application.

image

GitHub Url

https://github.com/SuhailCloud/Angular5-PnPJS-SPRestProxy

Resources and References