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

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

  Все выпуски  

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


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

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

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

comp.soft.prog.lotuscodesrore

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

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

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

D!m@n:
Ясно... А что у этого чисто принтового агента в Document Selection?

Чем могу:
http://www-1.ibm.com/support/docview.wss?r...;rss=ct464lotus

Мне кажется, для начала нужно апгрейднуться до наиболее актуальной для Вас версии Domino, т.е. до 6.5.6.
kizarek:
Цитата(D!m@n @ 4:08:2008 - 22:41)
Ясно... А что у этого чисто принтового агента в Document Selection?

пусто.

Цитата(D!m@n @ 4:08:2008 - 22:41)
Чем могу:
http://www-1.ibm.com/support/docview.wss?r...;rss=ct464lotus


ссылка как понимаю на ошибку, это видел, но у тебя ссылка битая.

Цитата(D!m@n @ 4:08:2008 - 22:41)
Мне кажется, для начала нужно апгрейднуться до наиболее актуальной для Вас версии Domino, т.е. до 6.5.6.


клиент обновлять или сервер?))
AndryG:
Доброго времени суток.
Свела судьба с Лотусом ... учусь разбирать почту.
В папку spider\atm\upc с помощью правил в Notes переносятся пришедшие документы.

Используя COM (скрипт на PHP, но это не имеет значения в данном случае) подключаюсь к базе, просматриваю эту папку, обрабатываю каждый документ и переношу его в архивную папку.

Код:
  $n_session = new COM("Lotus.NotesSession");
  $n_session->initialize($conf->get('notes_password')); // Подключаемся ...
  $n_dir = $n_session->GetDbDirectory($conf->get('notes_server'))->
             OpenMailDatabase()->
             GetView('spider\atm\upc'); // получаю объект папки
  $n_doc = $n_dir->GetFirstDocument();
  while(is_object($n_doc)){
   /* здесь была обработка документа ... она работает нормально */
    $n_doc_next = $n_dir->GetNextDocument($n_doc); // получаем объект следующего док.
    $n_doc->PutInFolder('spider\arh\atm-upc'); // копируем в архив
    $n_doc->RemoveFromFolder($n_dir->name); //удаляем текущий док из рабочей папки !!!!! ПРОБЛЕМА
    print_r($n_doc->GetItemValue('Subject')); //отладочная штука - дабы видеть, сколько доков обработали
    $n_doc = $n_doc_next; //Следующий док становится текущим.
   }
echo "End of script.\n";


В папке имею пять док. При запуске скрипта сперва обрабатывается три, при следующем - два.
Если убрать строку удаления документа - все пять при первом запуске.

Документы приходили на ящик тоже сперва два, потом (через пару часов) три - так "группами" и обрабатываются.

Откройте секрет ... в чем загвоздка ... понимаю, что теряется ссылка на след. документ ... но как исправить - не могу придумать.

Oksana:
Цитата(Medevic @ 5:08:2008, 12:39 )
Как запускается агент? Нужно запускать на сервере методом notesAgent.RunOnServer.

раньше не использовала, туплю-с... blink.gif
скопировала из хелпа код, подставила имя своего агента, выдает Success, но фактически ни чего не происходит.

1. This agent runs the agent named "Agent to be run LotusScript."
Sub Initialize
Dim s As New NotesSession
Dim db As NotesDatabase
Dim agent As NotesAgent
Set db = s.CurrentDatabase
Set agent = db.GetAgent("Agent to be run LotusScript")
If agent.RunOnServer = 0 Then
Messagebox "Agent ran",, "Success"
Else
Messagebox "Agent did not run",, "Failure"
End If
End Sub
Уважаемые коллеги.
Начал искать новую работу ибо на этой версия "дурдома" только растет, кто знает что такое ComputerAge тот понимает, есть большое
желание работать в интеграторе. Ну нравиться мне там работать.

Прошу учесть что все же не разработчег а админ но LS не пугает.С помощью отдельных личностей,которым огромное спасибо (и пиво с меня, велкам ту Коломенская)!!! могу вести не сложную разработку и доработку приложений

Резюме
AndryG:
Спасибо! Заработало ... всё забрало с первого прохода.

Если не лень ... можете пояснить в двух словах, что такое Entry и в чем отличие от Document?
И почему первый вариант не работал?

Глубоко и серьезно Лотус я изучать не собираюсь (просто столкнулся с ним) но в общих чертах узнать бы, что за беда была...
___
P.S. Вдруг кому интересно будет ...
Код:
  $n_session = new COM("Lotus.NotesSession");
  $n_session->initialize($conf->get('notes_password'));
  $n_list = $n_session
            ->GetDbDirectory($conf->get('notes_server'))
            ->OpenMailDatabase()
            ->GetView('spider\atm\upc')
            ->AllEntries;
  echo "Docs: ".$n_list->Count."\n";
  $n_entry = $n_list->GetFirstEntry();
  while(is_object($n_entry)){
    if($n_entry->IsDocument){
      $n_doc = $n_entry->Document;
      echo ' Date: '.$n_doc->GetFirstItem("PostedDate")->text."\n";
      $n_doc->PutInFolder('spider\arh\atm-upc');
      $n_doc->RemoveFromFolder('spider\atm\upc');
    }
    $n_entry = $n_list->GetNextEntry($n_entry);
  }

D!m@n:
Добрый день, уважаемые участники!

В разделе "Lotus - Программирование" есть тема "Сертификация разработчика Lotus". А в этом разделе аналогичной я, увы, не нашел...
Давайте обмениваться здесь материалами, которые могут помочь в сдаче экзамена на сертификаты администратора Lotus.

Внесу свои первые 5 копеек.
Программа от PrepLogic, имитирует сдачу теста по администрированию 6-ки (вопросы комбинируются из 620, 621 и 622):
http://stream.ifolder.ru/7601669
Естественно, for private use only и т.д. и т.п. smile.gif)

С уважением,
Дмитрий
При открытии документа:
Analyzing Image Colors...
Optimizing 9 Image Colors...

При закрытии:
Reassigning Image Colors

и так постоянно в статус строке клиента, как єто убрать?
kilcher:
Всем доброго дня! Прошу вас о помощи!

Существует список людей для рассылки документа. У каждого свое поле,в котором находится его lotus Имя. Затем все lotus имена я собираю в одно поле-rassulka,от куда при нажатии кнопки письма и должны уходить адресатам. Формула в этом поле такая @SetField("rassulka";namelot1_1+namelot2_1+namelot3_1+namelot4_1+namelot5_1+namelot6_1). Полей у меня много.

Запись,я думаю, некорректна. Т.к. в итоге адреса записывются без пробелов и каких либо разделитей.
"Sergey Knizhen/SYSTEMVyacheslav Lapushkin/SYSTEMTimur Petrov/SYSTEM"
Соответственно и не понятно кому отправлять.


Подскажите, пожалуйста, как это исправить?
Спасибо!
Есть только описание программного продукта:
Это каталогизатор файлов по расширению и по описанию.

Подскажите кто что может заранее спасибо
Cleric-Lviv:
K-Fire
Полностю согласен!!!!!!!!

Цитата(Akupaka @ 6:08:2008 - 08:49)
ну, не всегда все так просто как хочется smile.gif


Почему? если компания не используєт Lotus то спрос с админа "0"
Konstantin1984:
Lotus Domino 6.5.5
при регистрации пользователей система выдаёт сообщение:
Ошибка при обновлении учётной записи заверителя.

Произошла ошибка при попытке обновить сертификаты из каталога выбранного сервера, хранящиеся в учётной записи заверителя:

Не найдена запись в индексе

и предлагается два варианта: продолжить без обновления учётной записи заверителя? Да Нет.


чем данное сообщение может быть связано?
и как исправить данную ошибку?
wavb:
Здравствуйте.
Есть два пользователя А и Б.
Долго мучили сервер и почтовые правила в ящике пользователя Б для пересылки копий писем приходящих пользователю Б на ящик пользователя А.
Добились сносной работы. Затем необходимость в пересылки отпала, правило удалили, но копии писем все равно пересылаются smile.gif
Даже Lotus перезагружали, одна фигня.
Вобщем:
правила по пересылки писем в другой ящик нет;
на сервере (Configuration -> Messaging -> Messaging Settings ->Restrictions and Controls -> Rules) никаких правил нет.
Но копии писем всё равно пересылаются. Где копать?
Хэлп!

Добавление.
Лог с почтовика:

Router: Message 001CD701 auto forwarded by Б/Ivo/Cen/RU to А /Ivo/Cen/RU

Но правил в ящике пользователя Б нет ! Правда правило было удалено пользователем самостоятельно.
Или я чего-то не догоняю, или... одно из двух.
Интересные темы:
Список форумов:

Tips. Советы

The other day I got asked:

This might seem like a silly question, but can we use google analytics on a private (login access only) site? The way I've seen it work so far is only on public facing sites.

Not a silly question at all. Well, maybe it is, but I didn't know the answer either. In reply I said that I couldn't see any reason why not and that I'd take a look.

From the way I understood it to work you just need to load the external Google-hosted JavaScript file in to your page and that's all it takes. Although there is one step in the sign-up process which limits where you can use Analytics. Before Google will start tracking a site it takes a look at the site in question to make sure you've added your unique tracking code to the bottom of the page found at the domain you want to track. For this reason the site must be Internet-facing.

If you want to track hits to a site not available on the Intranet using the Analytics code this answer from the Google site might help:

If you have content behind a security firewall or on an intranet or internal network that prevents you from using the Google Analytics service, Urchin 5 software is for you.

Now, assuming the site is accessible from the Internet, what happens if you require a login to access the site? Well, Google will only ever see the login form, so you just need to make sure your tracking code is on the bottom of the login form. When Google "pings" the site you're trying to setup to see if it can find the tracking code it gets a login form. This doesn't matter though. As long as the code is in the HTML returned.

To test the theory I tried if on a site of my own. If you look at clients.rockalldesign.com you'll see a login page for my home-made CRM package. Look at the bottom of the source and you'll see the Google tracking code. It all works as expected and I can now see how much use the CRM is getting -- even though Google itself can't get past the login form and/or see any of the actual content beyond it.

If you host lots of sites and want to track them in different Anayltics accounts then you'll need to either use multiple custom Login forms or have the code which displays at the bottom of the login form compute itself based on the Server_Name field and the site being accessed when the login form appears.

Hope that helps.

Click here to post a response

Trying to programmatically replace the design of several Lotus Notes databases, but can't find an out-of-the box solution? This LotusScript code can help.

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

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

Author: Ben Poole
Tags: view default notesdocument notesdocumentcollection
Idea: If a database does not have a default view specified (which is easily done), certain areas of functionality don't work as intended -- especially when it comes to document collection operations (e.g. code that generates doclinks).

A co-worker recently encountered a particularly nasty issue in which looping a document collection failed (no document objects set), despite the collection reporting a valid "count" attribute.

It would be useful to warn developers about this in Domino Designer, if they have no default view specified.
Author: Peter Presnell
Tags: notesuidocument notesuiview
Idea:
There are times when it can be useful to know in which frame a document or view has been loaded.  e.g. I can be previewing a document because it is in the NotesPreview pane for a view preview or it can be in a completely different type of preview pane because I have a Preview Parent pane for a response document.  Even though both are preview panes I may not want the form to act the same way in each case.  I can set which frame a view/document is loaded but cannot do a query to retrieve this information.  By adding a Frame (or similar) property to the NotesUIDocument and NotesUIView class I can start to build the logic for treating the host framews differently.

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

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

Forwarding stationery in Lotus Notes leads to all email sent using that stationery getting the "Forwarded" icon ($RespondedTo="2").
You receive an error message during server and ODS upgrade to Domino 8.0.1.
You are using Lotus Domino Designer to remotely debug an agent. You select the desired agent, select Open, and receive a "Cannot connect to remote system" error message. Why does this happen?
Within the Lotus Domino Designer client, you attempt to use the remote debugger, From the File menu, you select Tools --> Remote Debugger --> Debug Target, but the expected agents do not list even though they are running on the server. You may see some running agents listed but not others.
A Lotus Domino server running on AIX crashes on pth_locks_ppc_mp.global_lock_ppc_mp().
A Lotus Domino server crashes when you start multiple Domino partitions on Solaris 10. In this case, another application limited the amount of space available in /tmp.
Domino is crashing when performing a full text search that returns highlighted items. This issue is now fixed in SPR# MBER6Z9MH8
Internet password lockout lets administrators set a threshold value for Internet password authentication failures for users of Lotus Domino applications, including Lotus Domino Web Access.
In this article, we give an example of how to build a customized search center using the IBM® Lotus® Quickr content services. In the example, the Lotus Quickr search service is used to get search results and the Lotus Quickr document services are used to retrieve detailed properties of the search results, which are then used to implement customized functions such as sorting, categorizing, and filtering.
Internet lockout is a new feature of IBM® Lotus® Domino® 8. This article describes Internet lockout, documents the configuration, and provides a sample that shows how to create a custom login form.
In Lotus Domino, creating a group with more than one minus sign (-) in the name causes an error message and users in that group to have no access to databases. Why does this happen?
You Bcc yourself on a message while working from a clustered replica of your mail file. The mail will be lost from the 'Sent' view of your mail file.
Также почитатай:
Найти документацию можно на сайтах:

В избранное