on 10-25-2018 8:53 PM
I need to save document id with other information into oracle database. how do i get document id from sharePoint after uploaded a document into sharePoint.
i am using java HttpClient. could you please advice me how we can do it using java.
go to Site Settings
and under Site Collection Administration > Site collection features
, we need to activate Document Id service. A scheduled job generally assigns document ids to all document existing in SharePoint.
Next we can use the endpoint /GetFileByServerRelativeUrl(filePath)/ListItemAllFields
to get the document id via SharePoint REST API.
Regards,
Adrian Gates
Jr. SharePoint Admin - Apps4Rent
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.