Lotus Notes and DominoPosted by Martin Tue, July 31, 2012 11:22:05
Lotus usergroup ist ein Forum wo man viele neue Sachen über Lotus Notes und Domino entnehmen kann. Die Neuerungen wie auch Bugs die herumgeistern oder sogar Vorbote was in den nächsten Zeiten kommen wird.
Viel Spass beim durchstöbern!
Lotus Notes and DominoPosted by Martin Tue, July 31, 2012 11:10:07
Lange haben Anwender, Entwickler und Administratoren auf diese Version gewartet. Neben zahlreichen neuen Funktionen hat sich auch das Lizenzschema geändert
. Und wieder können IBM Lotus Kunden ohne Zusatzkosten weitere Produkte nutzen, um noch kreativere Lösungen und Infrastrukturen aufzusetzen. Für weitere Informationen verfolgen Sie die Ankündigungen von IBM Deutschand
Notes ProgramingPosted by Martin Thu, October 01, 2009 12:52:41
In the introduction to XPages in Domino 8.5, a basic downloadable example included is included that displays data from a simple view. In a real application, you would also want to examine individual documents behind a view and possibly modify selected documents. This tip gives you the tools to do this.
To examine the new XPages sample download it from following website and read the previous article for background information on how to install and run any database that contains XPages.
The value of this example is in seeing how this particular code works, while also serving as a test bed for your own experimentation. Install and run this example as is to make sure that it works. Then, you can modify or extend it for your own applications.
To begin, open the new database with Domino Designer and go to the XPages category. You will see two XPages: LaunchPage and Form1Page.
1. LaunchPage is a view-like page that will be displayed when the database is opened with a Web browser.
2. Form1Page is an XPage that acts like a Notes form and shows all fields in a single document.
Double-click on LaunchPage to open it. Within LaunchPage, you'll see some plain text and an embedded view control. Next, follow these steps:
1. Click in the upper-left of the view control to select the entire control.
2. In the lower portion of the screen, select the Properties tab, then the Data sub-tab.
3. This panel controls what data appears in the view control. Note that it references a view in the database named View1.
4. Click on the left-hand column of the view control and look at the Properties/View column. This column displays the plain text value of the data and presents a link to edit the underlying document.
5. Save and close LaunchPage. Be sure to save it under an ID that matches the following security setting:
Go to the server's names.nsf -> Configuration -> Servers -> All Server Documents -> <your-server> -> Security -> Sign agents or XPages to run on behalf of the invoker. Add the name of the person who last saved the XPage. In this example, that will be you.
Double-click on Form1Page and you will see several labels and fields that are similar to those in a standard Notes form. Next, follow these steps:
1. Click outside of the table to select the entire page.
2. In the lower portion of the screen, select the Properties tab, then the Data sub-tab.
Note that the page is bound to the Notes form named Form1 in the current database.
3. Click on each of the three fields in the table. For example, if you look at Properties/Data, you'll see that each is bound to the matching Notes field from Form1.
4. Click on the cell that contains the Submit button – do not click on the button itself. Choose Properties/All Properties below to see the Rendered property. This computed value hides the submit button when the page is opened in read-mode.
5. Save and close Form1Page, making sure to save it under an ID that matches the aforementioned security setting.
Next, look at the database with Lotus Notes 8.5.
1. Open the database, which contains a single view, one form and a short list of documents.
2. Right click on -> Application -> Properties > Launch to examine the launch property of xpages3.nsf. The browser launch is set to use the XPage named LaunchPage.
Run the full sample from a Web browser to see XPages in action.
1. In your Web browser's address bar, enter: http://nnn.nnn.nnn.nnn/xpages3.nsf, where nnn.nnn.nnn.nnn is the IP address or name of your test Domino server.
Notice that xpages3.nsf opens directly to the launch page that you examined and that it displays a view containing the documents of the database.
You can see that the left-hand column of the view contains clickable links. Clicking one should open the underlying document, using the XPage named Form1Page.
You can modify the data in the document then press Submit.
2. After doing so, you may need to use the browser's Back button a couple times to return to the launch page and refresh the page to see the modified data.
Lotus Notes and DominoPosted by Martin Tue, March 31, 2009 18:48:01
Today I had a support call from a customer who had bought an SSL certificate from Verisign to cover their entire domain. Verisign had issued the certificate and it had been applied to their existing IIS servers however they now wanted to use it on their Domino web server as well. The scope of the certifier covered the Domino server (same wildcard domain) but Verisign wouldn't process another request from a Domino keyring file as they had already issued the key in response to the IIS request. They agreed to cancel the IIS certificate and issue a new one for Domino but according to their tech support
"the use of the wildcard domain covers you for up to 10 servers so long as you can copy the same certificate between the servers. As Domino and IIS are incompatible you have to buy a new certificate"
Well that seemed like a gyp so I decided to prove it could be done. With the help of some related IBM technotes this is what I did to get it working.
1. Created an exported pfx file from IIS
2. Went to a domino server and from a prompt found the directory \domino\jvm\bin directory and ran the file "ikeyman" within it
3. Created a new Key DB file by browsing to the IIS exported pfx file and importing it as PKCS
4. Examined the imported certificate and noted the certificate settings such as Organisation, OU, L etc
5. Closed ikeyman
6. Created a new key ring file using the Secure Certificate Admin db on Domino
7. Gave it the exact same settings as the original IIS certificate noted down in step 4.
8.Installed the trusted root certificate into the key ring file
9. Copied the .kyr and .sth files to the server where ikeyman ran and where the PKCS file generated in step 3 was located
10 Downloaded gsk version of ikeyman to handle Domino key ring files from here
11. xtracted zip file to folder 'gsk' on server (folder can be called anything but no spaces)
12 Ran "gskregmod.bat Add" from command prompt within extracted folder
13. Launched the ikeyman from dos prompt in the newly extracted folder by typing "runikeyman.bat"
14. Chose Key Database File - Open and selected the kyr file I copied to the server in step 9
15. Go to Personal Certificates and click 'Import' then choose 'PKCS' and import the file generated in step 3
You should now have a .kyr file that contains the certificate and can be copied back to your destination Domino server along with its .sth file.
Notes ProgramingPosted by Martin Fri, March 20, 2009 08:53:50
This "one-size-fits-all" routine performs all of the tasks in bulk -- similar to what Lotus Notes does automatically. The logic then can be encoded directly in the HTML attributes for any input and div tags involved.
This example adds hidewhen attributes to the div tags, but they can also be used with other tags. For the input tags, validation and prompt attributes were added.
The following line is not
required: <input type="text" name="example" size="30" /><br> <input type="submit" value="Submit" /> </form> </body>
The challenge we presented ourselves with was to use getElementById instead of document.all in HideWhen() and combine "validation" and "prompt" to one HTML attribute.
Lotus Notes and DominoPosted by Martin Thu, March 19, 2009 09:04:33
Here a little Review from a MAC User in the PC Magazine about Lotus Notes 8.5.
Lotus Notes and DominoPosted by Martin Tue, March 10, 2009 18:04:44
The release of Lotus Notes 8.5 introduces a new administrative feature called Domino Attachment and Object Storage (DAOS). In this article, contributor Mike Kinder explains what DAOS is, its different components, some requirements and caveats and why DAOS is important to your Notes 8.5 environment.
At Lotusphere, Paul Mooney and Gabriella Davis, led a session that covered three new administrative features in Lotus Notes 8.5: ID vault, DAOS, and roaming.
Paul Mooney presented on DAOS and let me use his presentation as a guide to summarize this new feature in Notes 8.5. To view the full presentation, visit Paul's website.
What is DAOS?
DAOS -- Domino Attachment and Object Storage -- is a process that is separate from Lotus Domino, but works with it, to remove attachments from documents. The process replaces the attachments with a "ticket" in the document. The ticket references the attachments that were originally contained in the documents; the attachments are then stored in Domino server's file system.
Note: The documents can be from any type of database, not just the mail database.
DAOS consists of four different components:
DAOSManager -- DAOS Manager is the focal point of the DAOS feature; it runs under and separate from the Domino server.
NLO -- NLO is the new file extension of any attachment the DAOSManager handles from a database. For security reasons, Lotus didn't copy the attachment and use its own extension. It's also important to note that it is an encrypted version of the attachment. The server's ID file encrypts the attachment. This does, however, create some of the following caveats.
DAOS Catalog -- This is a Lotus Notes database that contains a list of the NLO files and their references. The DAOSManager process reads this database for information related to attachments it's managing.
Note: This database cannot be accessed by anyone directly. You will receive an error if you try.
Tickets: These are the references that remain in the rich-text fields of Lotus Notes documents where DAOS removed attachments. They are used to reference the appropriate NLO files for that document.
Why should I care about DAOS?
The most obvious reason to run DAOS is the disk savings, especially in a mail environment where many attachments are exchanged. This has a domino effect where backups are smaller and backup times are shortened. Less resources are also required for backups.
What is required to use DAOS?
- Lotus Domino 8.5 server
- DAOS only works against attachments, not embedded objects.
- Space on a server where the attachments can be stored.
- Any database that DAOS manages must use the new ODS 5.1.
- Any database that DAOS manages must be transactionally logged.
- Any database that DAOS manages must have the new database property
for DAOS enabled and then compacted.
- Any database DAOS is manages must be an NSF, as it does not support
Does DAOS have any special configuration options?
Fortunately, DAOS is not something that you turn on and then have no control over. DAOS lets you control how big an attachment must be before it removes it from a document and moves it to an NLO file. It also lets control other things such as how long an NLO file stays around after all tickets have been removed.
There are also new server console commands related to the DAOSManager process (called DAOSMGR), and new features of other server commands. For example, compact has new arguments related to enabling DAOS, namely "load compact mail\mailfile.nsf –c DAOS on."
Caveats to be aware of before implementing DAOS
There are also some things that must be aware of before implementing DAOS:
- Your backup process must change. When attachments are initially stored in the OS, the directory of NLO files needs to be backed up, in addition to the databases on the Domino server that you were backing up before. When performing the backup, it's a good idea to back up your databases first, then the NLO files.
If you back up the NLO files first, but a new message comes in with an attachment later, it is possible that the email would be backed up, but the related NLO would not.
- If copying/replicating a DAOS-managed database from one server to another (or to a client) where DAOS is not enabled, the attachments are re-added to the NSF, so it will be much larger. Make sure that the new destination has the necessary disk space to handle the database with all of the attachments added in.
- NLO files should not be copied (at the OS level) from one server to another. The files are encrypted by the Domino server ID. If they are moved to another server where a different server ID file is used, the NLO files are useless.
What do you do if you need to move a DAOS-enabled database from one server to another server to make it DAOS ready? You don't need to do anything, just use the Admin client to create a copy/replica. DAOS and Domino will do the rest. They add the attachments back onto one server and remove them from the other server.
Lotus Notes and DominoPosted by Martin Mon, March 09, 2009 17:50:40
Wenn der Inbox korrupt ist, da es sich um einen Folder und nicht einer View handelt gibt es mindestens 3 Weise dies zu regeln. Mit oder ohne vorhandenem Backup. Siehe den IBM Link