Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

need inserted document ID whie uploading mutiple documents using rest api

$
0
0

Hi,

Scenario:

I am uploading multiple documents into document library

(using below reference to use code)

https://social.technet.microsoft.com/Forums/en-US/68c2fc26-9b9c-4ceb-b75e-cb547b62d0e4/how-to-pass-others-fields-paramter-or-metadata-while-uploading-multiple-documents?forum=sharepointdevelopment.

Problem:

How can i get inserted document ID so I can execute my logic accordingly, as I may upload multiple as well.

from  where should I place below method "retrivedoc(...)" in above example (I marked answer there ) .as its taking newly inserted document ID..

* if I load multiple so this method would be called multiple times depends on number of uploaded document that's why I need inserted document ID...

function retrivedoc(insretedocID)

{

/// my business logic goes here

alert(insretedocID);

}

Thanks




Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>