How do I get access to a calendar entry's description, not just the title/subject?
Well here is how I got to the body: DDocument doc = ddb.getDocumentByUNID(docid); if(doc != null) { Iterator i99 = doc.getItems(); while( i99.hasNext() ) { Object o99 = i99.next(); if( o99 instanceof DRichTextItem ) { DRichTextItem dRichTextItem99 = (DRichTextItem) o99; if( dRichTextItem99.getName().equals("Body")) { // System.out.println(" Body: " + dRichTextItem99.getUnformattedText()); body = dRichTextItem99.getUnformattedText(); } } }
} else { // System.out.println("No doc found."); }
Log in to post a comment.
How do I get access to a calendar entry's description, not just the title/subject?
Well here is how I got to the body:
DDocument doc = ddb.getDocumentByUNID(docid);
if(doc != null)
{
Iterator i99 = doc.getItems();
while( i99.hasNext() )
{
Object o99 = i99.next();
if( o99 instanceof DRichTextItem )
{
DRichTextItem dRichTextItem99 = (DRichTextItem) o99;
if( dRichTextItem99.getName().equals("Body"))
{
// System.out.println(" Body: " + dRichTextItem99.getUnformattedText());
body = dRichTextItem99.getUnformattedText();
}
}
}
}
else
{
// System.out.println("No doc found.");
}