Menu

Calendar Description retrieval

blackdoor
2008-11-21
2013-06-03
  • blackdoor

    blackdoor - 2008-11-21

    How do I get access to a calendar entry's description, not just the title/subject?

     
    • blackdoor

      blackdoor - 2008-11-21

      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.