Wednesday, May 1, 2013

Do you know how to get the JSON and XML from Lotus notes view?

Here you go,

We have a way to get the JSON and XML format from Lotus notes view?

"https://servername/Db filepath/viewname?readviewentries&OutputFormat=JSON"
"https://servername/Db filepath/viewname?readviewentries&OutputFormat=XML"

After converting the JSON format , how to get the Key-Pair values from JSON?

Javascript : 

you have to use AJAX, and try the below code, you will get the details from the notes view


for(var i=0; i<data.viewentry.length; i++)
      {
     
           data.viewentry[i].entrydata[0].text[0]          
     


No comments:

Post a Comment