lotus-notes

Notes 9, rewriting URLs

回眸只為那壹抹淺笑 提交于 2019-12-06 06:57:57
How do you rewrite a URL in Notes 9 XPages. Let's say I have: www.example.com/myapp.nsf/page-name How do I get rid of that .nsf part: www.example.com/page-name I don't want to do lots of manual re-direct because my pages are dynamically formed like wordpress. I've read this: http://www.ibm.com/developerworks/lotus/library/ls-Web_site_rules/ It does not address the issue. If you use substitution rules like the following, you can get rid of the db.nsf part and call your XPages directly as example.com/xpage1.xsp: Rule (substitution): /db.nsf/* -> /db.nsf/* Rule (substitution): /* -> /db.nsf/*

c# generated csv file sent via email embedded to bottom of email in lotus note

主宰稳场 提交于 2019-12-06 06:50:48
I am having this weired issue that CSV attachment sent via email using .NET SmtpClient appeared at the bottom of the email rather than attachment in Lotus Note. I just don’t know how to figure it out and I have no access to client computer makes debugging very hard. What are the possible steps I can take and possible gotchas I need to be aware of? Code is as below: var smtpClient = new SmtpClient { Host = ConfigurationManager.AppSettings["smtpServer"], Port = Convert.ToInt32(ConfigurationManager.AppSettings["smtpPort"]) }; var mailMessage = new MailMessage(); mailMessage.Attachments.Add(new

Can I access Lotus Notes' database?

不问归期 提交于 2019-12-06 06:01:51
This is my first time working with Lotus notes so I only know how to use it. I am also a developer so I know a bit about databases. Currently I receive requests for adding users to AD accounts or disabling users from AD or even modifying their attributes in AD. These requests come to me through Lotus Notes. I was wondering that Lotus Notes has to have some sort of database so could I possible get access to these ESM requests through their databse? So what I am saying is, can I access these ESM requests directly through database and not Lotus Notes? EDIT: I have worked wiht PHP/mySQL before so

Creating an appointment for lotus notes programmatically

拟墨画扇 提交于 2019-12-06 04:24:42
I need to create an appointment (Calendar entry) and distribute it to certain invitees automatically. I have two issues right now: 1) The calendar entry does not appear on the calendar for the chair. I have worked around this by adding the chair as a required attendee which sends them a notice to confirm, however I would like to know how to add it automatically. 2) The invitees are being sent an invitation, but they can not confirm it. Lotus throws an error saying that they cannot process the invitation because the even does not exist in their mail file. My code is in JAVA, but I can port to

lotus notes search by date with Java api

﹥>﹥吖頭↗ 提交于 2019-12-06 03:09:56
I'm trying to select records by date from a Lotus Notes database and have run into trouble with correctly formatting the date. Here's the relevant code: public void runNotes() { Session s; try { s = NotesFactory.createSession((String)null, (String)null, "mypassword"); Database hkDB = s.getDatabase("NBHDH001/YNM", "H\\DHH00001.nsf", false); DocumentCollection docs = hkDB.search("[Date]>[2012/03/20]"); Date is a field in the record, and when I looked up records (with FTSearch), the date came back in the format above: [yyyy/mm/dd]. The parameter of the search is what I need here. i.e. what should

Lotus Notes 7 - copy / move docs. ( parent & response docs ) without changing the UNID ?

僤鯓⒐⒋嵵緔 提交于 2019-12-05 22:40:06
I have 2 databases : let say dbA and dbB. Actually, dbB is a ''child'' database of dbA, because the forms/views/frameset/etc that it contains they all are also in dbA. I want now, to copy from a view ( let say vwA ) from dbA some 8K docs to the same view ( vwA ) from dbB. THese 8k contains both parent and child docs, which in dbA are listing OK, with @Text(@UniqueDocumentID). I just made a test, copy one parent doc and its response, and pasted in the 2nd database, but unfortunately the connection between the 2 docs isn't made... I guess the UNID had changed... Is there any solutions? Thanks

Where are the javadocs for Lotus' Notes.jar?

爱⌒轻易说出口 提交于 2019-12-05 22:26:39
问题 I need to use Lotus Notes/Domino as a data source from a Java application. The documentation at IBM says that the Notes.jar contains everything I will need, but where are the javadocs? 回答1: I believe the APIs are detailed in the Domino Designer Help. 回答2: From what I quickly read, there isn't a set javadocs available. However, I stumbled upon this utility that generates them for you. Would this help? 回答3: Here comes Notes.jar of Domino 8.5 Java API document 回答4: Have a look at the

How can I export a list of databases resident on a given Domino server?

社会主义新天地 提交于 2019-12-05 21:30:55
I have a Lotus Domino server with a truly astounding number of Domino databases on it, arranged in various folders. Is there some means of exporting a list of all these databases, with their titles and creators' names, in a spreadsheet format of some kind? I have the Domino Admin and Domino Designer software, and I have or can get whatever access rights I'd need. You'd think there'd be a way in the Domino Admin, but there's no way to export the list. So, your best bet I think is to use the Domain Catalog database. To build it, go into the server configuration doc > Server Tasks > and turn on

Save email message as eml using C# in Lotus Notes

…衆ロ難τιáo~ 提交于 2019-12-05 21:23:21
I need to export (save to) hard drive my Lotus Notes emails. I figured out the way how to save attachments to HDD, but I can't figure out the way of how to save the whole email. The code below shows how I export attachments. Can you suggest how can I modify it to save emails? PS- I am new to programming. using System; using System.Collections.Generic; using System.Linq; using System.Text; using Domino; using System.Collections; namespace ExportLotusAttachments { class Class1 { public void ScanForEmails() { String textBox1 = "c:\\1"; NotesSession session = new NotesSession(); session.Initialize

Way to check is an user a document author?

守給你的承諾、 提交于 2019-12-05 20:48:24
问题 Hello Domino programmers! I work on a lotus database + xpages and i ran into a following problem: I have Authors and Readers fields on document and both can contain users and groups. Both fields are set on XPage using NamePicker control. When document is saved i would like to hide an "Edit" button when user doesn't have rights to do so. Is there a way to just check on document, datasource or context - if current user is document author? Or i have to check it all way long, comparing Authors