It seems like I've explained a solution to what must be a common problem enough times over the past couple of months to warrant answering it here (much easier to point to a link than to explain it over and over).
The Problem
Imagine you place an image on a Form using Passthru HTML. Something like this:
<img src="logo.jpg">
The problem is that when you create a new document using the form the image appears, but when you open the saved document in read mode it doesn't. It doesn't have to be an image. It can be any resource you load by URL, such as a CSS or JavaScript file, in which case the consequence would be much more obvious.
The Cause
This behaviour is down to the fact that the resource is being referenced as a relative URL. When the document is first being created the actual URL would be something like:
http://server.com/apps/help.nsf/ticket?OpenForm
So the browser will try and fetch the image from
http://server.com/apps/help.nsf/logo.jpg
This is the correct location and so the image loads. When the document is saved and re-opened the actual URL becomes something like:
However, if you're loading lots of images and/or resources it can become a drain on resources to compute the database path each time. Instead I'd recommend using the technique I use in all databases I create -- BASE href.
I know this must seem a bit nooby to most of you, but you'd be surprised how often I see it come up as a problem.
With continued growth in the IBM Lotus Notes install base and expanding deployments of Microsoft SharePoint, there has been renewed discussion about the competitive environment of IBM Lotus Notes/Domino versus Microsoft SharePoint. While the Notes versus SharePoint question is a timely topic for many organizations, it's useful to expand the analysis to include other solutions such as Quickr, Sametime and Connections.
As companies transition from employing Generation X to Generation Y workers, use of collaboration software such as Lotus Quickr and Microsoft SharePoint is beginning to gain steam for project and document management. For enterprises that rely solely on Lotus Notes/Domino and Lotus Quickr, the ability for individuals to share information is relatively straightforward and seamless. But even in Domino shops, new applications are cropping up virally that administrators must deal with. Windows SharePoint Server (WSS) 2003 is one such example.
When you click on an attachment in a document, you have the options to open or edit the attachment.
Wherever you click, the attachment will open/edit in the same application.
It would be nice if the application that open an attachment for reading is configurable.
So, by example, i can open an attachment for reading with the free MS Office Viewer, downloadable from Microsoft Web Site, and open the same attachment in OpenOffice or Symphony for editing.
I think, a migration from Microsoft Office to OpenOffice or Symphony would be easier, if you have the Opportunity to view and pring Office Documents in his originally look, as they would look like in MS Office.
When you click on an attachment in a document, you have the options to open or edit the attachment.
Wherever you click, the attachment will open/edit in the same application.
It would be nice if the application that open an attachment for reading is configurable.
So, by example, i can open an attachment for reading with the free MS Office Viewer, downloadable from Microsoft Web Site, and open the same attachment in OpenOffice or Symphony for editing.
I think, a migration from Microsoft Office to OpenOffice or Symphony would be easier, if you have the Opportunity to view and print Office Documents in his originally look, as they would look like in MS Office.
Design elements within Databases that inherit design, and design elements that inherit from other databases, should not physically exist in the inherited database, and instead be referenced by some kind of internal Domino pointer. This is made more practical today by using DB2 as a backend, where 'schemas' can be referenced (maybe??).
This would be a huge disk-space saving for mail databases for example, and reliable centralisation of shared code is possible.
In a Lotus Domino/Lotus Notes database, you start to notice an increased number of replication conflicts especially involving documents with attachments. In addition, you notice that agents are having trouble running because they aren't properly signed. Although they were last modified by the server, they are signed by the agent creator.
When you attempt to set up Quick Flags in your mail file, the following error occurs: "Operation failed". Note: Quick Flags are set either through the mail file view or by right-clicking on a document. This issue occurs from any view or folder in the mail file.
The Lotus Notes/Domino Out Of Office (OOO) feature cannot be enabled or disabled in any mail databases that are over quota. When you attempt to enable or disable the feature in an over quota database, you receive an error message indicating that the database is over its quota. Why does this happen?
If you enable the Lotus Notes Out of Office (OOO) agent to leave today and return tomorrow, and also opt to book busytime for these dates, a different amount of busytime is booked than if you set a return date other than tomorrow.
You unintentionally replicate your production version of the Lotus Domino Directory with an older replica. Now your production replica contains several person, group and settings entries that were previously deleted.
The Domino Administration Process (adminp) does not rename a person's name as expected in Lotus Notes and Domino when the name appears in the abbreviated hierarchical name format. Example: John Doe/West/Acme does not get processed by adminp, whereas CN=John Dow/OU=West/O=Acme does get processed as expected.
Your Domino server starts up without problem, but after about 5 minutes you see an error on the console. "Process nUpdate.exe has terminated abnormally".