Updating document in Sharepoint library

  • 29 November 2021
  • 2 replies
  • 33 views

Hi,

 

I have created a listview with a sharepoint(SP) library smartobject. Using this I am able to Add (Upload Document), Delete the item from the listview. However, I am unable to find a method which will allow me to update or edit the document i.e. Can you please suggest  how to edit an existing list item ,  delete the old document and upload a new one ?

 

Thanks


2 replies

Userlevel 2
Badge +10

Hi shikha_taksande,


 


It sounds like you are using List View setup to display data, I think you will need an Item View to upload/edit/create new record in SharePoint library. The Item view can bind to either Upload Document method or Update Document Metadata by ID method.



 

@khanh , Hi

I tried using Update document metadata method but if you check its input properties there are no property of type "File" , hence it does not allow you to change or update the document , it only allows to change other properties or columns in your library.


Please let me know if I missed something or if you have tried any example .


 


Thanks

Reply