Home > Ask the Domino Experts > Questions & Answers > Write agent to create calendar entry
Ask The Domino Expert: Questions & Answers
EMAIL THIS

Write agent to create calendar entry

>
QUESTION:
I'm new to LotusScript. I need to write an agent to create a calendar entry or appointment. How do I go about this? I have searched on LDD and OpenNTF but can't find an example. Do you know where I can find a snippet?


RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


Andre Guirard EXPERT RESPONSE FROM: Andre Guirard

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site
ANSWERED July 2004:
If you were to use Java, there's an API called Domino Collaboration Objects (DCO), which you can download from the IBM website as part of the Domino Java Toolkit. For LotusScript, I don't know of a corresponding utility. However, all DCO is, is an extension of the normal Notes functionality. A calendar entry is just a NotesDocument in the user's mail file, with certain field values. Here's sample code for creating them:

http://www-10.lotus.com/ldd/46dom.nsf/0/b3db80db49c254728525688d0040a321?OpenDocument
http://www-10.lotus.com/ldd/46dom.nsf/0/55f043373393c2c285256b7a00651b00?OpenDocument
http://www-10.lotus.com/ldd/46dom.nsf/0/f3f81e989e596ef285256e4e005c9238?OpenDocument

Many more examples can be found by searching for appointment and notesdocument in either the Notes 4/5 forum or Notes 6 forum on IBM/Lotus DeveloperWorks (a.k.a. LDD).

An easy way to find out what fields need to have what values for the particular style of calendar entry you want to create: create one using the Notes client user interface. Then, from the Calendar view, open the Document Properties dialog and use the second tab to see the names, datatypes and values of all the fields.

Do you have comments on this Ask the Expert question and response? Let us know.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Lotus Notes Domino on Blackberry and mobile devices
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2010, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts