0

Is there any way for logging the exceptions into ULS logs on sharepoint 2013 on-premise version? And it should be done using csom only.

2 Answers 2

1

SPDiagnosticsServiceBase is not available via CSOM.

3
  • Is there any other way to log(whether to sql table or list) those exceptions using CSOM?
    – Arun
    Apr 25, 2016 at 15:19
  • If you manually log any encountered errors to a SharePoint List, you could use CSOM to enumerate that list.
    – user6024
    Apr 25, 2016 at 15:21
  • Sorry to troubling you, As I'm new to SharePoint, can you pls explain how to log manually into list on SharePoint Online?
    – Arun
    Apr 25, 2016 at 15:24
0

Have a look here:

http://tech.bool.se/log-to-uls-using-javascript/

Although it appears to using SOAP, which I'm personally not fan of.

1
  • Thanks for your update.. Is there anyother way to achieve this using CSOM(not javascript)?
    – Arun
    Apr 27, 2016 at 18:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.