Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Develop And Package Client Side Web Part Files To A SharePoint Library
WhatsApp
Srujana Anishetty
8y
4.9
k
0
0
25
Blog
Create client side web part.
Md DeploywebparttoSP
Cd DeploywebparttoSP
Yo @microsoft/sharepoint
Run the code to open Visual Studio code.
Navigate to the
write-manifests.json
file in config folder to update the CDN path with SharePoint Library path.
Run "
gulp bundle –ship"
command to bundle the files.
Files generated will be available in temp\deploy. Upload them to SharePoint library.
Run
"gulp-package gulp package-solution"
to generate the app file. These files will be available in SharePoint\solution folder.
Upload the sppkg file to the pap catalog. It will prompt for trusting the solution and provide an option to deploy. Click "Deploy".
Go to SharePoint site -> Add an app-> click on the app and install it.
Edit a SharePoint page. Now, you should be able to see the client side webpart created
After adding the web part successfully, the below screen will be displayed.
Client Side Web Part Files
SharePoint
SharePoint Library
Up Next
Check in a file in SharePoint 2010 document library using web service in powershell
Ebook Download
View all
Getting Started with SharePoint Framework Development using TypeScript, PnP JS, and React JS
Read by 4.9k people
Download Now!
Learn
View all
Membership not found