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

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

  Все выпуски  

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


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

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

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

comp.soft.prog.lotuscodesrore

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

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

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

Здравствуйте уважаемые коллеги! Помогите пожалуйста с проблемой: в форе есть поле “поле со списком” мне нужно программно формировать список его значений и подставлять их в поле в реальном времени. Список значений формирует небольшой алгоритм на LotusScript, но мне ни как не удается “запихать” результату его работы в поле. В свойствах поля есть возможность получать список значений по формуле, но формулой я не могу сформировать нужный мне список значений. Т.е. по сути вопрос в следящем: как с помощью LotusScript задать список значений для выбора поля со списком? Спасибо.
Я вас категорически приветствую!
Вот сейчас в поисках шаблона под базу знаний, медленно схожу с ума.
Помогите, если можете.
В консоли Lotus Domino постоянно появляется сообщение
Policies and settings documents signed signed by CN=notes administrator/O=Telecom; CN=notes administrator/O=Telecom are no longer valid because this person does not have the required access level or roles to the Domino Direcory
Проверял - доступ учетки к базе Domino Directory на уровне manager, все роли выставлены.
Пожалуйста, подскажите где собака зарыта?
Денис Кириченко:
Цитата(Medevic @ 10:06:2008, 13:29 )
Если права нормально сделаны(через Readers), то и не увидит(если конечно не стащить сам файл базы с сервера). Но это с лотусом не связано.
Если не сделаны, то ССЗБ.

Как бы права хороше не были сделаны(прописаны) при копировании БД можно убрать флаг ACL и все. Каждый пользователь сможет войти в любую запись. Может можно убать возможность копирования вообще.
Да и на счет сташить из Lotus это тоже можно сделать при копировании указать путь.
Medevic:
Цитата(Денис Кириченко @ 10:06:2008 - 13:37)
Как бы права хороше не были сделаны(прописаны) при копировании БД можно убрать флаг ACL и все. Каждый пользователь сможет войти в любую запись. Может можно убать возможность копирования вообще.

«А мужики-то не знают»©
Весь мир в опасности. Манагеры уже копируют базы(не забыл снять галку wink.gif) и продают конкурентам. Фирмы разоряются. biggrin.gif

Цитата(Денис Кириченко @ 10:06:2008 - 13:37)
Да и на счет сташить из Lotus это тоже можно сделать при копировании указать путь.

Админ кричит и рвет волосы.
Notes 8 поставляется с интегрированным Sametime 7.5.1. А как заменить его на стандартную 8 ?
Здравствуйте, уважаемы коллеги! У меня возникла проблема с перебором документов на Java. Казалось бы что может быть проще? Но тем не менее тут есть проблема. Итак проблема: в представлении присутствуют 100 000 документов. Агент на java, приведенный ниже, перебирает примерно 10 000 плюс мину причем всегда цифра обработанных документов разная.. Я не понимаю в чем проблема. Аналогичный алгоритм на LotusScript перебирает все. Я пробовал разные способы и все они приводили либо к перебору части документов, либо к вылету клиента notes. Например пробовал сформировать коллекцию документов из представления – клиент вылетел с ошибкой аунтификации. В представлении нет сортированных столбцов. Авто обновление тоже отключал - не помогает. import lotus.domino.*; public class JavaAgent extends AgentBase { public void NotesMain() { try { Session session = getSession(); AgentContext agentContext = session.getAgentContext() Database db = agentContext.getCurrentDatabase(); View view = db.getView("myView); Document doc = view.getFirstDocument(); int cnt=0; while (doc != null) { cnt++; doc = view.getNextDocument(doc); } System.out.println("cnt="+cnt); } catch(Exception e) { e.printStackTrace(); } } }
Необходимо было настроить мониторинг состояния MQSeries на машинке под HP-UX 11.11 средствами Tivoli. Столкнулись с неожиданной проблемой - Tivoli не хотел вставать, ругаясь на то, что более новая версия GSkit уже установлена в системе.
Ясное дело, что downgrade - не решение.

После бесплотных попыток запинать тех-поддержку IBM, решили проблему следующим образом.


1) Определяем версию GSKit установленную на системе
Код
#swlist | grep gsk
  gsk7bas                                       7.0.4.11       IBM gsk7 RUNTIME KIT
  gsk7bas64                                     7.0.4.11       IBM gsk7 RUNTIME KIT

Запоминаем - 7.0.4.11 (так-же нормально работало и с другими версиями)
2) Распаковываем и инсталлируем в штатном порядке
Код
#tar -xvf ./C89XSIE.tar
#./install.sh

Enter the name of the IBM Tivoli Monitoring directory
[ default = /opt/IBM/ITM ]:[enter]

"/opt/IBM/ITM" does not exist
Try to create it [ y or n; "y" is default ]?[enter]

Select one of the following:

1) Install products to the local host.
2) Install products to depot for remote deployment (requires TEMS).
3) Exit install.

Please enter a valid number:  1

Initializing ...
Software Licensing Agreement
----------------------------skip----------------------------
2. English
----------------------------skip----------------------------
Please enter the number that corresponds to the language
you prefer.

2
[enter]
Software Licensing Agreement
----------------------------skip----------------------------
Press Enter to continue viewing the license agreement, or,
Enter "1" to accept the agreement, "2" to decline it or
"99" to go back to the previous screen.

1
Preparing to install the IBM Global Security Kit (GSkit)

=======  05/27/08 17:19:07 WSTDST  BEGIN swinstall SESSION
----------------------------skip----------------------------
       * Beginning Analysis and Execution
       * Session selections have been saved in the file
         "/.sw/sessions/swinstall.last".
ERROR:   "hostname:/":  1 filesets have a version with a higher revision
         number already installed.
       * The analysis phase failed for "hostname:/".
       * Analysis and Execution had errors.


ERROR:   More information may be found in the agent logfile using the
         command "swjob -a log hostname-0063 @ hostname:/".

=======  05/27/08 17:19:12 WSTDST  END swinstall SESSION

install.sh error: Prerequisite IBM GSkit failed to install. Retry install.sh after the problem has been corrected in your environment.

Этот шаг нужен для создания необходимых каталогов и распаковки в них инсталляционных скриптов, для последующей их правки. В изначальном архиве править не получается. (точнее получается, но инсталяция потом не проходит - ругается на стадии проверки целостности/совпадения версий)
3) Правим скрипт установки GSkit
Код
#vi /opt/IBM/ITM/bin/runGSkit

Находим следующие строки:
Код
gskInstallDir()
{

  # Update the line below to force installation of a new version of GSKit
  # but on if a new CANDLEHOME w/ this file is installed
  version=7.0.3.18

Меняем version на существующую (7.0.4.11). Получаем:
Код
version=7.0.4.11

4) Запускаем инсталляцию заново
Код
#./install.sh

Ну и далее по мануалу - ошибка более не возникнет.

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

Tips. Советы

Apply this LotusScript agent to the Mail File to detect incoming email messages tagged as 'spam:' in Lotus Notes, and move them to the junk mail folder.

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

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

Author: souad souad
Tags: accounts
Idea:
bbbbbbbbbbbbbbbbbbbbbb

Author: souad souad
Tags: tag1
Idea:
dddddddddddddddddddddddddddddd

Author: Peter Presnell
Tags: agents
Idea:
I would like to see concepts such as AJAX replicated in the Notes Client with the ability to fire off agents that run asynchronously.  While the agent is running the user would have the ability to continue to interact with the Notes client.   Ideally the feature would provide (just as it does with Ajax) the option of a visual indicator that blocks part of the application/form/view whilst it is being refreshed.
 
e.g. When one application is busy running an agent I could work with another Notes application.  Or I could run an agent that modifies selected documents in a view and while that is running I could open one of the documents in the view and work with it.  Or I could trigger an agent that refreshes part of the document that is presently being displayed while allowing the user to continue to edit other parts of the document. 
 
 

Author: Michel Poleur
Tags: resource reservation
Idea:
...or to change the site associated to a resource. From time to time, in the Resource db, sites have to be renamed. Currently, you have to delete the associated resources and create them again with the new site. The new functionality should rename all references to the resource whose site has been changed in all meetings documents referencing it.

Author: John McDonough
Tags: Mail
Idea:
To quickly determine if the sender is in the Address Book, and therefore likely not a Spam sender, a button above the inbox view, or in the Tools button that would allow a quick check against the Address Book.  If Yes, then the odds are good you have a valid sender and not a spam sender.  Even with Spam filters occasionally spam gets through.  My usual options are to check the Address Book and check the Body field to see what text is there before opening.  Now that I said that a button to open the Body field for viewing would help also.

Author: Peter Presnell
Tags: connections
Idea:
A lot of the clients I work for refuse to install Lotus Connection because of the need to install (and hence support) DB2 & Websphere.  I would like to see some of the functionality of Lotus Connections made available in the Notes/Domino (only) domain.  e.g. Provide an extended Names.nsf (Domain and PAB) that supports some of the profile features.  A Notes template for Activities...

Author: Angi Blasberg
Tags: Template bookmark color designer
Idea:

Often a "live" database and its template are both open in the designer i.e. if you had to change agent schedules. You can't really differ the database from the template. Often it happens that you made changes in the database by mistake and with refreshing the db you are loosing all your changes :-(

It would be great, if the bookmarks for templates would be shown in another background-color than the bookmarks for databases, that are not templates


Еще записи:
Интересные блоги специалистов:

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

Your Domino server crashes when a DWA user forwards multiple e-mail messages containing attachments with the same name and over quota.
Your Domino® server crashes with "PANIC: LookupHandle: handle not allocated."
In Notes 7, there is no visible way to paste a Notes link into a new instant messaging window. The Edit menu does not appear until at least one instant message has been sent.
This document describes the limitation of Lotus Symphony in handling the Microsoft Excel option to fill a cell with a repeating character.
Is Transport Layer Security (TLS) 1.0 or 1.1 a supported security protocol with Lotus Domino Internet services?
The Domino server was shut down for maintenance and now it will not start. The QNNINSTS joblog shows error LNT0928 Completion Code X'00000AC5'.
You find that Lotus Domino, Lotus Notes, as well as some Microsoft Windows operating systems, incorrectly reflect time entries when using the Namibia time zone. Note: The Namibia time zone definition displays using "Windhoek".
A Domino server crashes after HTTP panics in "EnsureUnlock" in the ShimmerPreferences procedure.
In Lotus Domino, you want to extract attachments as MIME from incoming mail messages using LotusScript, without converting the message to rich text in order to do this. Can this be done?
From a Lotus Notes client or Domino Designer, when enabling a "Before new mail arrives" agent or an "After new mail arrives" agent you receive an error. Subsequently, the "Before new mail arrives" executes but the "After new mail arrives" agent does not. What does this mean?
This article shows you how to develop a composite application in IBM® Lotus® Notes® 8.0 that integrates the calendars in Google and Lotus Notes, based on the Atom API and XSLT technology. It demonstrates the ease with which you can create a composite application and consume the Atom API.
This article provides an introduction to the administration console, new in IBM® Lotus® Quickr™ 8.1, a short description of a new policy feature in Lotus Quickr 8.1, and a detailed look at the REST-based service that the console uses and that you can reuse to enhance your server's management.
This is the initial page for "guided troubleshooting" of the Domino Server deployment steps. == Troubleshooting Script =Select the following links if you want help downloading Domino server install fi
IGAA Install Troubleshooting Tree == Troubleshooting Script =Select which type of Domino install you need help troubleshooting: Troubleshooting the installation of the first server in a Domino Domai
troubleshooting Domino first install == Troubleshooting Script == Did the link listed below address your question? No - my problem isn't with the install wizard, go to the next step == Additional Info
Troubleshooting the installation of a partitioned server == Troubleshooting Script == Did the link listed below address your question? No - my problem isn't with registering a server, go to the next s
Troubleshooting the installation of a partitioned server == Troubleshooting Script == Did the link listed below address your question? No - my problem isn't with the install wizard, go to the next ste
Troubleshooting the installation of a partitioned server == Troubleshooting Script == Did the link listed below address your question? No - my problem isn't with the setup wizard, go to the next step
Troubleshooting the installation of a partitioned server == Troubleshooting Script == Did the link listed below address your question? No - this didn't solve my problem, please contact our support li
Installation of a language pack == Troubleshooting Script == Did the link listed below address your question? No - this didn't solve my problem, please contact our support line at 1 (800) 426-7378. ==
Также почитатай:
Найти документацию можно на сайтах:

В избранное