Use @Transform to build JSON and consume the output in an XAgent

June 1, 2012 – 10:26 am

OpenNTF XSnippets

  1. 2 Responses to “Use @Transform to build JSON and consume the output in an XAgent”

  2. Setting NotesViewNavigator.VN_ENTRYOPT_NOCOLUMNVALUES as an entry option is not a good idea in this case. This lets the ViewNavigator only read a few ViewEntry properties and no column values. But in your loop, you read the column values via entry.getColumnValues(), which leads to another server transaction to fetch that missing data.
    Setting nav.setEntryOptions(NotesViewNavigator.VN_ENTRYOPT_NOCOUNTDATA) should produce a better performance.

    By Karsten Lehmann on Jun 1, 2012

  3. Thx, Karsten. Updated the snippet

    By Ulrich Krause on Jun 1, 2012

Sorry, comments for this entry are closed at this time.