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

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

  Все выпуски  

Бюллетень "Lotus Notes CodeStore" No 105 от 2008-11-21


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

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

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

comp.soft.prog.lotuscodesrore

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

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

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

В БД Lotus приходят письма - там картинка должна быть внутри текста,
а она уезжает вниз, на том месте где картинка была пишется [IMAGE]

Почему так ? Как включить красиво ? :-)
День добрый,

подскажите пожалуйста , есть ли возможность настроить лотус клиент 6.5.4 таким образом,
чтобы каждое новое сообщение автоматом сохранялось как draft ?

Заранее спасибо!

Да, спасибо за замечание, это моя опечатка... Но в настройках ее нет.
Ситуация: есть профильный документ, на форме имеется несколько Rich Text полей. В поля кладутся аттачменты (по одному в каждое). На этом этапе все ОК. Однако если документ закрыть и снова открыть, то доступным остается только аттачмент, добавленный последним. Остальные визуально на месте, однако при попытке их открыть или сохранить на диск выдается "Note item not found". Не знает ли кто, в чем тут может быть дело?
Версия Lotus - R7, база изначально создавалась в R5.
Прежде всего- два сервера на redhat... На Server1- Domino 6.5 а на втором Server2- Domino 8.0.1 (если получиться)
Я создала второй сервер в домене (тоже под линуксом, причем первый создавали года два назад и сейчас некому помочь) и этот сервер будет не только под почту использоваться, поэтому его сперва хотела протестировать. Мне нужно создать независимую копию первого, но чтобы они между собой обменивались всей почтой, а также изменениями в базах, и клиенты могли подключиться как к первому, так и ко второму , ну и в случае чего- потом заменить первый (т.е. второй сделать главным), вариант с кластером помоему не поддерживается нашей лицензией, хотя конечно хочеться сделать это попроще.

В итоге у меня возник вопрос при установке второго сервера в домене... Сперва я зарегистрировала его на первом сервере (получила server.id). Затем произвела установку воторого до момента удаленной установки. Создала пользователей и группы, папки... Потом запустила удаленную инсталяцию, которая доходит до указания сервера ,чтобы использовать его базы (рисунок я прикрепила к письму) и вот тут начинаются непонятные вещи.
http://forum.sysfaq.ru/index.php?act=attach&type=post&id=6099
Предложено два варианта: первый указав сервер для копирования баз (я указала Server1/Firma и его адрес server.firma.com), но я так понимаю необходимо произвести настройки и на самом Server1 и я не знаю как и что? Какие сделать репликации либо переносы?

И второй это с использованием сети или указанием маршрута, чтобы перенести базы, с первого Server1 на второй Server2. Опять таки- какие базы из database или откуда и куда?

Буду Вам очень признателена за помощь.
Иногда появляется уведомление о новом письме - открываю, деляю F9 нет ничего нового.как с этим бороться?
Набираешь текстовку, выделяешь Create -> Hotspot -> Link Hotspot и в поле Value указываешь путь к файлу и название файла (_например:_ \\comp\#new\image.jpg) после сохранения, можно жать на выделенное слово (выражение) и откроется указанный файл.
Иногда появляется уведомление о новом письме - открываю, деляю F9 нет ничего нового.
Я пробовала создать Hotspot с вычисляемым URL, где часть адреса - это путь к сетевому диску, а остальное имя файла, которое возьмется в дальнейшем из Excel. Но пока безрезультатно. Не подскажете, как правильно прописывать формулу?
Привет всем! Нужна помощь!
Начальство потребовало установки Lotus Sametime для проведения собраний по области. Слово начальства закон, поэтому на тестовый сервер (Lotus Domino Server 7.0.1) был установлен тестовый сервер Lotus Sametime Standart Server 8.0.1, установлены тестовые Lotus Sametime Connect на несколько машин. Клиенты работают нормально, работает текстовый разговор и есть возможность вызова (звук то бишь работает). Но есть проблема, когда загружаешь собрания, нет ни звука, ни видео (себя пользователь видит, а вот текущего выступающего нет)! Но всё остальное работает нормально. Помогите плиз)))
В БД Lotus приходят письма - там картинка должна быть внутри текста,
а она уезжает вниз, на том месте где картинка была пишется [IMAGE]

Почему так ? Как включить красиво ? :-)
Помогите пожалуйста с такой проблемой:
Стоит сервер domino v8.0.1 64bit на windows 2003 64bit. Существует несколько пользователей снаружи домена, которые работают по pop/smtp. Нужно разрешить им релей через наш сервер, но ничего не получается! Что делать, подскажите?
Стоит опция Exceptions for authenticated users: Allow all authenticated users to relay.
А в логах пишет:
SMTP Server: Authentication succeeded for user Пользователь/Ourdomen ; connecting host **.**.***.***
Router: Message 006AFBD1 not routed to recipient anybody@yandex.ru for policy reasons
Router: Policy Reason: Router: user@ourdomen.ru is restricted from sending mail through server LOTUS/OURDOMEN
Набираешь текстовку, выделяешь Create -> Hotspot -> Link Hotspot и в поле Value указываешь путь к файлу и название файла (_например:_ \\comp\#new\image.jpg) после сохранения, можно жать на выделенное слово (выражение) и откроется указанный файл.
Иногда появляется уведомление о новом письме - открываю, деляю F9 нет ничего нового.
Иногда появляется уведомление о новом письме - открываю, деляю F9 нет ничего нового.как с этим бороться?
В адресной книге (names.nsf) есть вьюха Configuration в ней All Server Documents, находишь свой сервер и в поле Server Access прописаны все кто имеет доступ к серверу.
И теоретически и практически возможно. Дело в том что нужно понимать разницу от новой копии базы и репликой базы. А отличаются они Replica ID. При копировании базы, Replica ID на двух копиях будут одинаковыми, так же как и при создании новой реплики...
В рамках одного сервера это невозможно. База будет реплицироваться сама с собой и в зависимости от формулы репликации можно потерять документы.
Во первых, домен Domino и домен в DA никак не взаимосвязаны.
...
А почтовая база находится на одном сервере? Других реплик нет?
все действия по сохранению документов производятся исключительно по кнопке. Т.е. можно автоматически сохранять копию отправленного письма в send, но до этого действия, все равно ж нажимается кнопка send. Также как и в Word? при создании документа, он...
Проблема с орфографией решается изучением русского языка.
...
1. Что имеется ввиду под словом передача файлов? Почта?
2. Используйте значения Route Cost в документах connection
А если у меня есть поле, допустим fldname (текстовое), в котором содержится только название файла, например, в одном документе это image12.jpg, а в другом image13.jpg, но находятся они в одной и той же сетевой папке. Как правильно прописать вычисляемый...
Добрый день! У кого-нибудь есть опыт получения данных из Oracle в Lotus?
Помогите пожалуйста с такой проблемой:
Стоит сервер domino v8.0.1 64bit на windows 2003 64bit. Существует несколько пользователей снаружи домена, которые работают по pop/smtp. Нужно разрешить им релей через наш сервер, но ничего не получается! Что делать, подскажите?
Стоит опция Exceptions for authenticated users: Allow all authenticated users to relay.
А в логах пишет:
SMTP Server: Authentication succeeded for user Пользователь/Ourdomen ; connecting host **.**.***.***
Router: Message 006AFBD1 not routed to recipient anybody@yandex.ru for policy reasons
Router: Policy Reason: Router: user@ourdomen.ru is restricted from sending mail through server LOTUS/OURDOMEN
Добрый день! У кого-нибудь есть опыт получения данных из Oracle в Lotus?
Интересные темы:
Список форумов:

Tips. Советы

Let's say you have a view of support tickets that are awaiting processing. The older the ticket gets the more important it is that somebody does something about it.

graded How do we convey this to the user though? Well, there's various methods, but yesterday I came up with a new way, which I think you'll like. Imagine each row of the view is a varying shade of red, based on the document's age. The older the document the redder the row.

You can see an example of this in the screen-grab to the right and in this DEXT demo page. On the demo page you'll need to scroll down to see it in effect.

How Does It Work?

In terms of CSS this works by virtue of the fact you specify a colour as three numeric values representing the mix of red, green and blue. You might be used to seeing something like this:

<tr style="background-color:#ff0000;"><td>I should be bathed in red</td></tr>

But did you know you can also do it like this (in all browsers!):

<tr style="background-color:rgb(255,0,0);"><td>I should be bathed in red too</td></tr>

An RGB value of 255,0,0 is red, whereas 255,255,255 is white. You can specify any shade of pink by passing 255 for the Red value and any number for Green and Blue, as long as they're both the same. See this table as an example:

rgb(255,0,0) Red
rgb(255,60,60)
rgb(255,127,127) Pink
rgb(255,200,200)
rgb(255,255,255) White

The smaller the number you specify for Green and Blue the redder the colour. Can you see where this is going?

How This Works In Domino

What we need to do in our view is have each row calculate a number between 0 and 255. Brand new documents need to come out of the formula with a value of 255, whereas really old documents need to compute to 0.

The view itself needs to be treated as HTML and one of the columns would have a formula like this:

days_passed:=1+(@Date(2008;11;20)-@Date(@Created))/(60*60*24);
factor:=20;
val:=@Min(@Round((1/(days/factor))*255); 255);
"<tr style="\""background-color:rgb(255,"+@Text(val)+",+@Text(val)+");\">

As you can see (hopefully) the G and B values of the row colour are worked out as a "percentage" value of 255, based on how many days have passed since it was created.

The number you multiply 255 by should be somewhere between 0 and 1. If it's 0 then you get red. if it's 1 then you get white. So it might seem the opposite way round to what you'd expect.

Note that I've introduced a "factor" in to the formula above. What I found was that you need to spread the shading of your rows out over the range of dates you expect to encounter. The factor needs to be about the same order of magnitude as the top end date expected. The best way to work this out is to play with it in your real world scenario.

Using Dates In View Columns

By now you might have noticed the view uses today's date in a column formula. Although the way I've done doesn't invoke the problems with indexing that using @Today does you might be wondering how it gets updated, as the date appears hard-coded.

Remember I've talked before about how you can use scheduled agents to update view selection formula. Well, you can do the same thing with column formulas too! Imagine this code running every night at shortly past midnight:

Set TodayDT = New NotesDateTime(Now)
tmp = |days_passed:=1+([+TodayDT.DateOnly+|]-@Date(@Created))/(3600*24);
factor:=20;
val:=@Min(@Round((1/(days_passed/factor))*255); 255);
"<tr style="\""background-color:rgb(255,"+@Text(val)+","+@Text(val)+");\">"| Set folder = database.GetView("TicketsByDate")
folder.Columns(1).Formula = tmp
Call folder.Refresh

It's as easy as that. There's little wonder I'm so fond of Notes.

Summary

Used in the right place this technique can add much usefulness to the user and help them immediately recognise documents in need of attention. How you use it is down to you (it doesn't have to be a support ticket system!). It doesn't have to be shades of red either. You can use shades of any colour, as long as one of the RGB values always stays the same. Brilliant.

Next blog entry will discuss the use of this technique with LotusScript.

Click here to post a response

If you have a Lotus Notes 7 client on your computer and install Lotus Notes 8 on the same machine, the Notes 8 installation will upgrade your existing Notes client automatically. However, it's also possible to deploy Lotus Notes 8 and retain a version of Lotus Notes 7. Discover how to keep a version of the Lotus Notes 7 client on your computer after upgrading to save your existing binaries and data.

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

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

Author: Sue Topliss
Tags: view colour coloumn
Idea:
I need to allow my users to personalise their Notes application by picking  colour scheme.  The app in question is now 12 years old and is need of a bit of 'sexing up', it's also big & complex.
 
So I added a colour column to my view so that they could pick a colour scheme. Am more than a bit miffed that this has absolutely no effect on categorised columns.  Ideally I'd like to be able to change the category colours rather than the standard column colours.
 
Anyone else think that we should be able to change the colour of the text on a categorised column?

Author: Richard Hogan
Tags: Notes client designer Tooltips usability
Idea:
Recently I found myself mousing over a Notes view column header, expecting a little tooltip to appear to tell me what the column showed.  After I spotted my error I thought why not?  Ideally I would like options for:
-  Tooltips on view column headers
-  Tooltips on Action buttons in views, and on forms
-  Tooltips for Sub-Actions when they appear as a menu. As an example, hover over the shortcuts in the Accessories menu in Windows!!
(As an aside, can we have text in the tooltips for Lotus Notes shortcuts on windows? - it only requires the 'comment' field to be completed - see shortcut properties!  )
 
I'm sure other people can think of more places for Tooltips,  but these would be good for starters!!
 

Author: Kerr Rainey
Tags: @text formula format-string
Idea:
Currently there is no way to easly get a hexidecimal, octal or binary representation of a number in @formula.
 
I propose a new format-string be added to @Text such that it would be possible to specify the radix required for the conversion of a number to a string.  The format string would be "RXX" where R stands for radix and XX is the base.
 
Examples:
 
@Text(255, "R16") would give "FF"
@Text(888, "R8") would give "1570"
@Text(42, "R2") could give "101010"
 
 

Author: Scott Leis
Tags: form formula lotusscript
Idea: I'd like both a @function and a LS method (as a member of NotesUIDocument) to return the name and alias of the form used to display the currently open document.
Both the @function and the method must work in a new (unsaved) document, thus removing the need for a Form field in my form design.
Author: Scott Leis
Tags: lotusscript debugger
Idea: There should be a LS function (or perhaps a property of NotesSession) that returns True if the LS debugger is running, False otherwise.

This would be useful in cases where an API call shows a modal window that prevents user interaction with the debugger - the code could then specify that the modal window only appears when not debugging.
Еще записи:
Интересные блоги специалистов:

Статьи и Документация

Lotus iNotes 8.5 includes the support for Lotus Notes widgets. This article gives you a couple of quick and easy examples, that show how to use the inotes_config.xml.template that is included in Domin
This file contains information you need for installing and running this Lotus Notes Cumulative Client Hotfix 1 (CCH1) for 8.0.2 build. It also contains information about the SPRs included in this build. The hotfix is available for download at Fix Central: http://www.ibm.com/support/fixcentral/.
IBM® Support hosted a Tech Exchange Webcast on the topic of "NSD case studies for Domino® on System i" on November 4, 2008. This Webcast covered three specific cases that showcase how Domino for System i Support analyzes outages that may occur on your Domino server.
Trying to view a Policy or Settings document results in the error "Document has been deleted".
If you have created or installed a Notes widget component that opens a Notes view, document or frameset, and then open the component in a new window or tab, the icon that appears in the component window/tab will display as a large Notes icon.
Также почитатай:
Найти документацию можно на сайтах:

В избранное