How to Update a Notes Document From Volt Using Domino Access Service?

Hello,

We have a sample App which shows data from a Notes Database using a URL Service. Now, we are trying to update a single document in the Notesdatabase. We have created a URL-PUT-Service which looks like this: "https://www.myserver.de/mydatabase.nsf/api/data/documents/unid/id" and we want to call the service from a Button. Unfortunately we are getting a message the service call failed. Is it possible to do updates in a Notes Database by a service call and how is the way, step-by-step to do this?

Any help will be appreciated.

Thanks Brigitte

Hi Brigitte,

Yes it is possible. When setting up the service did you add the "Accept" and "Content-Type" headers, with a value of "application/json"? Have you specified the "Authorization" header?

Have you checked the logs to see the specific error?

To get more detail on why the service is failing, let's increase the Volt log level (https://help.hcl-software.com/domino_volt/1.0/troubleshooting.html). Add "com.ibm.fom.nitro.service.*=finest" to the rcpinstall.properties file and then call the service from the form. Then check the log files, send them to me (christopher.dawes@hcl.com) if you would like help interpreting them.