2010年8月18日 星期三

Reference current document in Java Agent

// get the current document
Document currentDoc = agentContext.getDocumentContext();

// get a value of a field named 'testField' from the current document
String str = currentDoc.getItemValueString("testField");

// print the value of the testField of the current document into java console
System.out.println(str);


轉自: http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/79bc69e4d4f91db085257372004fb206?OpenDocument

2010年8月11日 星期三

Lotus Notes R6.56 與 JasperReport+iReport 透過Java Agent整合產生PDF 製作流程說明

參考文章

pureXMLでJasperReportsを楽しもう

pureXMLとJasperReportsのXML連携
小川 直人 (naogawa@fsi.co.jp), 主任, 富士ソフト株式会社
概要: JasperReportsは、SQLを発行し、その結果をレポーティングすることができます。しかし、XQueryはサポートしていません。簡単な拡張で、JasperReportsでXQueryが使えるようになります。


http://www.ibm.com/developerworks/jp/data/library/dataserver/j_d-jasperreports/index.html?ca=drs-