?
Solved

Access to Lotus Notes UI from C#

Posted on 2010-09-24
7
Medium Priority
?
1,393 Views
Last Modified: 2013-12-18
I am starting a new project to link our CRM (which is written in C#) to Lotus Notes.  I have already linked our program to Outlook and GroupWise, now I need to do the same for Notes.

I need to create Emails, Appointments, Tasks and Contacts.  I have read how I can create these objects in code, and that's not my main question right now; what I want to know is once these objects are created, (and I add my custom values, Fields, Tags, etc.) is there a way to allow my users to use the familiar Lotus Notes UI to edit and save/send these items?

For example, in the Outlook object model you can create an appointment object in code and then display the normal appointment window:

Appt.Display(true);  // assuming Appt is an appointment object

So far I've read that maybe the UI is only available via LotusScript, but I'm wondering if there is a way to invoke the UI directly from C# as I have done with the others?

Thanks.

bob
0
Comment
Question by:marketware
  • 3
  • 3
7 Comments
 
LVL 22

Accepted Solution

by:
mbonaci earned 750 total points
ID: 33753088
No, unfortunately UI classes are only available in LotusScript.
0
 
LVL 5

Assisted Solution

by:iPinky
iPinky earned 750 total points
ID: 33754115
well.. mbonaci is right, OLE (or COM) only allows background stuff...

what you might try (it's really just a workaround) is something like that:

that you open the URL of that Notes document in a browser window:

URL : document.notesurl

this would open the just now created mail/contact/whatever in the Notesclient, but in READ mode.. there is (I think) no work around for the readmode....

I guess though (not 100% sure) that for mails/invitations which are not yet sent.. they automatically go into edit mode!
0
 

Author Comment

by:marketware
ID: 33754907
Thanks guys.  

That sort of confirmed by suspicions, but before I decided to write my own UI I thought I'd "ask the experts".  

I think that a browser UI would not cut it (we want spell check, etc.), so I'll write the UI myself.

bob
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Closing Comment

by:marketware
ID: 33754926
Too bad.  No UI access in Notes for C# programmers.  Maybe that's why we are an Outlook/Exchange shop here.
0
 
LVL 5

Expert Comment

by:iPinky
ID: 33756977
when you open the document via the Notes://server/database/view/unid URL.. it will NOT open in the browser, it will open in the client!!!! exactly what you want..

go to document properties the <+> tab and copy the Notes URL of ANY document, past it into your Internet browser and see what happens!!
0
 

Author Comment

by:marketware
ID: 33757293
Cool.  I will check it out.
0
 
LVL 5

Expert Comment

by:iPinky
ID: 33757641
sometimes it does not work properly when the client is not installed correct, but normally it works just fine…
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Loops Section Overview
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question