In AppDev Pack v1.0.17 Trying to use the Doc examples to retrieve Rich Text Field field

This is not working (is there more documentation on Java?)

ErrorHandler<DocumentException> errHandler = new ErrorHandler<DocumentException>() {

@Override

public void onErrorHandler(DocumentException dominoDbException) {

System.out.println("Exception" + dominoDbException.getMessage());

}

};

OptionalChunkSizeKb chunkSize = new OptionalChunkSizeKb(32);

ReadRichTextMgr readManager = database.getReadRichTextMgr(

"Form = 'Company' and Codigo = '1234'",

Sets.newHashSet("Obs", "Observacoes"),

errHandler,

chunkSize);

ReadRichTextMgr readManagerUnid = database.getReadRichTextMgrByUnid(doc.getUnid(), Sets.newHashSet("Body"),

new OptionalArg[0]);

Hello.

I found only the following information on the handling of rich text in the AppDevPack.

https://doc.cwpcollaboration.com/appdevpack/docs/en/domino-db-advanced-java.html

And, unfortunately, AppDevPack is no longer supported last year.

https://support.hcl-software.com/csm?id=kb_article&sysparm_article=KB0105781

The alternative product is Domino Rest API, so you can continue to use the Rest API.

https://opensource.hcltechsw.com/Domino-rest-api/index.html

Or, if you use Java, the easiest way to use domino objects is to use "Domino Java classes" in CORBA. CORBA is a very old technology, but it is still available.

https://help.hcl-software.com/dom_designer/9.0.1/appdev/H_JAVA_NOTES_CLASSES_JAVA.html

Regards,

Shigemitsu Tanaka

Thank you for your help!

Helped me a lot!