How to update meta data in document library using Rest Api

Mohammad Qasim 576 Reputation points
2021-01-28T12:39:50.92+00:00

Greetings,

i am using sharepoint 2016 on-prem

Solution Required: I want to update meta data field in Document Library.
I have one document library name 'showdossier' , there is 1 date field name 'applieddate'
I want to update this ''applieddate' fields

Sharing image for reference which I am trying to do.
61491-documentlibrarymetadatacode.png

61458-errorhavingrestapi.png

Thanks

Microsoft 365 and Office SharePoint Server Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Baker Kong-MSFT 3,801 Reputation points
    2021-01-29T01:45:39.917+00:00

    Hi @Mohammad Qasim ,

    Please make sure the value of type/list name/item id is correct. From the error status, it shows the item not found. If possible, can you print the request log in the network tab?

    Thanks
    Baker Kong


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.