We’ve created dynamic lookups to a json doc in our environment. As you may know, wich domino it is easy… we created a view to show the docs that we want to publish as JSON and traverse the view by maninpulating the URL to get the next x docs.
The problem is that we’re looking to implement a new feature where the JSON doc would actually be a Notes document that has the JSON in a notes field. Is there a resource for traversing that to only show the next x values? I’ve done several searches on “JSON” and “Navigation” but haven’t seen how this might be possible. Thank you in advance!
Subject: Navigate JSON doc
No. You could, of course, read the rich text field with a LotusScript or Java agent and serve only a part of the content at a time, but you’d lose the automated container hierarchy you get with a view. Then again, if the entire object structure is compact enough to be maintained as a single field entry, you are probably wasting time making multiple calls to the server for data – it would be better to call the whole shebang at once and do the segmentation in the browser.
Subject: RE: Navigate JSON doc
Thanks much for your reply Stan. Unfortunately I could be looking at thousands of entries to that probably wouldn’t be efficient in the browser. I’m still playing around with this but for the time being I’ve accomplished my task by creating a tabbed html table in the browser with only one tab showing at once. The initial load time is acceptable and obviously navigation is blazing fast once it is loaded.