Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>As you can't use the lotus java libraries to access Lotus Domino, your best bet would be to access Lotus Domino via HTTP to get the data. The simplest way (if you have no experience whatsoever developing in Lotus Notes) would be to try and get the data from the existing views in names.nsf (the Server Directory) and the mail databases. To do so, you can call a view with the following parameters:</p> <pre><code>http://www.yourserver.com/names.nsf/($users)?readviewentries http://www.yourserver.com/names.nsf/($users)?readviewentries&amp;outputformat=JSON </code></pre> <p>In each case you are getting the data from the view "($users)" in the "names.nsf" database, in XML or JSON format.</p> <p>If you need more data than is available in the existing views, I would recommend against creating new views (as it would imply modifying the standard templates). For that, I would create a new database with agents that recovered de info you need and returned it in the format you prefer.</p> <p>Agents are just blocks of code (usually written in LotusScript, which is similar to VBasic, or Java). They can be scheduled to run at certain times or events, or called directly (from notes or via URL). You could call an Agent using an url as such:</p> <pre><code>http://www.yourserver.com/names.nsf/myAgent?openagent </code></pre> <p>From the agent you could access any data in the server (if you have permission to) and return a "text/html/whatever not binary" to the program requesting the URL.</p> <p><strong>Note:</strong> Lotus Domino 8.5.1, that has just been released, includes the ActiveSync protocol, so I'm not sure about the need to recreate the Notes Client in the iPhone.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. COIf you use the ?readViewEntries URL approach, note that the number of records returned will be limited, based on settings in the Server document in the NAB. The default is to only return 30 records. You can add "&count=-1" to force Domino to return the "maximum allowed", which is also defined in the Server document, and may also not be the complete set of contacts. Using an agent, you will not have such restrictions.
      singulars
    2. COTrue, I forgot about it. To solve it, however, I wouldn't modify the defaults for the server. I would recommend appending &count=50&start=0, and page through the results (changing the start parameter each time) until we get to the end of each view. P.S. I think an agent is the best solution (as you can basically do whatever you want), but you need some knowledge on Lotus development for that.
      singulars
    3. COI implement agent and according to me I think, Every User needs to install agent from their lotus Notes client and domino designer. I would have to supply Java Agent Code. So, the flow of application would be like : http://www.jminteractive.com/index.php/iphone/notes_pro_server_setup/ am I right? is it possible to write an agent that implements all the functionality like Login , then get mails for session etc.. And for that I should not supply the Agent code to user. and I can install my agent to domino server, which all user can access with their user name and password. Thanks....
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload