jlalande
asked on
How are arguments passed to NSSession.GetCalendar and NSSession.GetDatabase in the Notes C++ SDK?
I have configured Lotus Notes with the server 'alpha-romeo/dev' and my administrator has informed me that my user file on the Domino server is jlalande.nsf. Therefore, my code to retrieve the Notes calendar is:
LNSTATUS status = session.GetCalendar(&calen dar, "alpha-romeo/dev", "jlalande.nsf", "jlalande");
The documentation indicates that I have to open the database before retrieving calendar items, which I do with:
LNDatebase db;
status = session.GetDatabase("jlala nde.nsf", &db, "alpha-romeo/dev");
status = db.Open();
However, db.Open fails with the message "File does not exist".
I suspect my parameters are not correct.
LNSTATUS status = session.GetCalendar(&calen
The documentation indicates that I have to open the database before retrieving calendar items, which I do with:
LNDatebase db;
status = session.GetDatabase("jlala
status = db.Open();
However, db.Open fails with the message "File does not exist".
I suspect my parameters are not correct.
You can check the name of your mail file in your person document in server's names.nsf.
GetCalendar questions in forums:
http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/a50ec2fda447ab868525705f004d6bc1?OpenDocument
http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/9a388702c7ba47fe852576640034778d?OpenDocument
http://www-10.lotus.com/ldd/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/651d66d8ac772d5b85256b96006caf32?OpenDocument
GetCalendar questions in forums:
http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/a50ec2fda447ab868525705f004d6bc1?OpenDocument
http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/9a388702c7ba47fe852576640034778d?OpenDocument
http://www-10.lotus.com/ldd/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/651d66d8ac772d5b85256b96006caf32?OpenDocument
ASKER
mbonaci:
I am double checking with the Domino administrator as to whether the file mentioned in my question 'jlalande.nsf' is actually the mail file listed in the server's names.nsf file.
I appreciate the links you've sent, but they mostly address the creation of calendar entries and I only need to read the existing entries. Or was there something in particular in those that you thought could help me?
Thanks!
I am double checking with the Domino administrator as to whether the file mentioned in my question 'jlalande.nsf' is actually the mail file listed in the server's names.nsf file.
I appreciate the links you've sent, but they mostly address the creation of calendar entries and I only need to read the existing entries. Or was there something in particular in those that you thought could help me?
Thanks!
You can also check the name and path of your mail file in your Office(Online) location document.
Local address book > Advanced > Locations
Mail tab > fields "Mail file location" & "Mail file"
Local address book > Advanced > Locations
Mail tab > fields "Mail file location" & "Mail file"
ASKER
mbonaci:
I am using 8.5.1 FP2 and I don't see this option at all.
I am using 8.5.1 FP2 and I don't see this option at all.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This is it. Thanks!
Here's an example from C++ API, Schedule:
Open in new window