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";
В папке имею пять док. При запуске скрипта сперва обрабатывается три, при следующем - два. Если убрать строку удаления документа - все пять при первом запуске.
Документы приходили на ящик тоже сперва два, потом (через пару часов) три - так "группами" и обрабатываются.
Откройте секрет ... в чем загвоздка ... понимаю, что теряется ссылка на след. документ ... но как исправить - не могу придумать.
Как запускается агент? Нужно запускать на сервере методом notesAgent.RunOnServer.
раньше не использовала, туплю-с... скопировала из хелпа код, подставила имя своего агента, выдает 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 не пугает.С помощью отдельных личностей,которым огромное спасибо (и пиво с меня, велкам ту Коломенская)!!! могу вести не сложную разработку и доработку приложений
В разделе "Lotus - Программирование" есть тема "Сертификация разработчика Lotus". А в этом разделе аналогичной я, увы, не нашел... Давайте обмениваться здесь материалами, которые могут помочь в сдаче экзамена на сертификаты администратора Lotus.
Внесу свои первые 5 копеек. Программа от PrepLogic, имитирует сдачу теста по администрированию 6-ки (вопросы комбинируются из 620, 621 и 622): http://stream.ifolder.ru/7601669 Естественно, for private use only и т.д. и т.п. )
Существует список людей для рассылки документа. У каждого свое поле,в котором находится его lotus Имя. Затем все lotus имена я собираю в одно поле-rassulka,от куда при нажатии кнопки письма и должны уходить адресатам. Формула в этом поле такая @SetField("rassulka";namelot1_1+namelot2_1+namelot3_1+namelot4_1+namelot5_1+namelot6_1). Полей у меня много.
Запись,я думаю, некорректна. Т.к. в итоге адреса записывются без пробелов и каких либо разделитей. "Sergey Knizhen/SYSTEMVyacheslav Lapushkin/SYSTEMTimur Petrov/SYSTEM" Соответственно и не понятно кому отправлять.
Подскажите, пожалуйста, как это исправить? Спасибо!
wavb: Здравствуйте. Есть два пользователя А и Б. Долго мучили сервер и почтовые правила в ящике пользователя Б для пересылки копий писем приходящих пользователю Б на ящик пользователя А. Добились сносной работы. Затем необходимость в пересылки отпала, правило удалили, но копии писем все равно пересылаются Даже Lotus перезагружали, одна фигня. Вобщем: правила по пересылки писем в другой ящик нет; на сервере (Configuration -> Messaging -> Messaging Settings ->Restrictions and Controls -> Rules) никаких правил нет. Но копии писем всё равно пересылаются. Где копать? Хэлп!
Добавление. Лог с почтовика:
Router: Message 001CD701 auto forwarded by Б/Ivo/Cen/RU to А /Ivo/Cen/RU
Но правил в ящике пользователя Б нет ! Правда правило было удалено пользователем самостоятельно. Или я чего-то не догоняю, или... одно из двух.
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.
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:viewdefaultnotesdocumentnotesdocumentcollection 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.
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.
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 crashes when you start multiple Domino partitions on Solaris 10. In this case, another application limited the amount of space available in /tmp.
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?