Sep 15 2022 01:09 AM
I have create the spfx react webpart to to upload the the files and the metatdata of the document library but when i post the columns using the sphttprequest i have facing the issue of error 500 and throw a messeage To add an item to a document library, use SPFileCollection.Add() . please help me to resolve the iisue or any other solution to upload a document and create metadata of document
library.
Image sequence :
any other solution to perform CRUD Operation perform on document Library suggest me
Sep 15 2022 02:51 AM
Below is sample for File Upload using SPFx+React. You can get some idea from here.
https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-file-upload
Hope it will helpful to you and if so then Please mark my response as Best Response & Like to help others in this community
Sep 15 2022 02:57 AM
SolutionSep 15 2022 02:57 AM
Solution