Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need your help concerning this issue:

I want to upload a document to DocLib. Therefore I call the NewItem2 method

NewItem2(event, referenceURL);

Up to here - no problem. Now the issue:

I want to listen on this event and after the File was uploaded successfully should this:

statusId = SP.UI.Status.addStatus("Upload successful!");
SP.UI.Status.setStatusPriColor(statusId, 'green');

Thanks for all effort!

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.