SharePoint Asked on November 5, 2021
I want to add a row to document library without using document/file uploading. I want to write a row only text. How can i do this?
I would suggest you look on to the requirements first on what you are really trying to achieve, currently document libraries will need to have a document as an item before you can update its metadata.
How about maybe instead of document library, use a list, then add the files as attachments. You can use Pnp powerful library for list manipulations.
Or If you really would want it to be document library, you will need a 2 step process, on creating it in a list, then on approval or status / metadata change copy the list item to the document with the list metadata, more on combination of custom script and msflow.
Above is only a suggestions, so, Hope the concept helps on any way. Happy Coding! :)
Answered by Edwin on November 5, 2021
A library is a location on a site where you can upload, create, update, and collaborate on files with team members.
It is not supported to add a row without using document/file uploading to document library.
You need to create list to add a row without using document/file uploading.
Answered by Lisa Chen MSFT on November 5, 2021
I recommend using PnP/PnPjs. First, you need to upload the file and after that, you can update the file item. Or you can simply make a list and write text into it.
Answered by AnB on November 5, 2021
1 Asked on October 28, 2020 by tezz-chaudhary
1 Asked on October 24, 2020 by leebongee
1 Asked on October 22, 2020 by snowburnt
0 Asked on October 12, 2020 by kurt-cooney
1 Asked on October 6, 2020 by rajat-raj
1 Asked on October 4, 2020 by user615993
1 Asked on October 3, 2020 by jl421
1 Asked on September 28, 2020 by robert
2 Asked on September 23, 2020 by chetan
1 Asked on September 19, 2020 by plouie21
1 Asked on September 17, 2020 by f_gulay
1 Asked on September 6, 2020 by sharepointman
1 Asked on September 3, 2020 by fjay
2 Asked on August 31, 2020 by j-dock
1 Asked on August 27, 2020 by nicholas-snr
1 Asked on August 26, 2020 by rohit-waghela
1 Asked on August 20, 2020 by yamini
Get help from others!