Отправляет email-рассылки с помощью сервиса Sendsay

Бюллетень "Lotus Notes CodeStore"

  Все выпуски  

Бюллетень "Lotus Notes CodeStore" No 117 от 2008-12-19


Рассылку ведет: Программист на Lotus NotesLotus CoderВыпуск No 117 от 2008-12-19
рассылка о программировании на Lotus Notes/Domino
Обсуждения на форумах, блогах. Примеры программного кода на LotusScript,@formula, Java

рассылка:выпускархивлентаблогсайт

Бюллетень "Lotus Notes CodeStore" Выпуск 13 от 21.04.2008

comp.soft.prog.lotuscodesrore

CodeStore. Примеры кодов

Еще примеры:
Больше кодов на сайтах:

Форумы.Свежи темы и обсуждения

Интересные темы:
Список форумов:

Tips. Советы

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:

http://server.com/apps/help.nsf/tickets/788A7878ED562132322EA21312?OpenDocument

And, so, the browser then tries to load the image from the following URL:

http://server.com/apps/help.nsf/tickets/logo.jpg

When reading documents we are, in effect, one "directory" deeper in to the site's structure and so relative URLs become broken.

The Solution

The quickest solution is to make the reference to the image/resource absolute. Like so:

<img src="http://www.codestore.net/apps/help.nsf/logo.jpg">

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.

Click here to post a response

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.

Еще советы:
Смотри советы на сайтах:

Блоги. Что обсуждают и пишут

Author: Marius Jaeger
Tags: attachment open edit application
Idea:
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.

Author: Marius Jaeger
Tags: attachment open edit application
Idea:
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.

Author: Mark Demicoli
Tags: Design Inheritence
Idea:
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.
Password checking is enabled but a user is able to authenticate with the server using their old password.
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.
Smart Upgrade fails with "Error while trying to execute Notes Smart Upgrade. Entry not found in index".
You cannot drag and drop links from a Notes client to your desktop on a Windows Vista platform.
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.
Users start Notes 8 and log into the Sametime community they receive an error message "An internal error occurred during: BuddyListPolicyJob".
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".
If you add contacts using the Notes client, those contacts are not available when you access your mail file using Domino Web Access.
Wrong warning message display in Notes Brazilian Portuguese.
Также почитатай:
Найти документацию можно на сайтах:

В избранное