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

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

  Все выпуски  

Knowledge Collection - The Administration Process (AdminP) in Domino


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

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

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

comp.soft.prog.lotuscodesrore

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

Option Public
Option Declare Dim mappedDrives As Boolean
Sub Initialize
Call mapNetworkDrives
If Not mappedDrives Then Exit Sub
End Sub
Sub mapNetworkDrives
Dim network As Variant
Set network = createobject("WScript.Network")
Dim drivesAreGood As Boolean
drivesAreGood = checkMapping("h:", "\\emrml01\projects") 'substitute your own drive letter and UNC path here. If drivesAreGood Then
Messagebox "Drive H is mapped to \\emrml01\Projects",0,"Drive mapped correctly"
mappedDrives = True
Else
Messagebox "Drive H is not mapped to \\emrml01\Projects. I will now attempt to map it myself.",0,"Drive not mapped correctly"
Call network.MapNetworkDrive("H:", "\\emrml01\Projects")
'see if we were able to connect
If checkMapping("h:", "\\emrml01\projects") Then
Messagebox "I did it!! Drive H is mapped to \\emrml01\Projects",0,"Drive mapped correctly"
mappedDrives = True
Else
Messagebox "Can't map the drive. Your H drive must be mapped to \\emrml01\Projects to proceed. Please connect to the network.",0,"Stopping"
End If
End If End Sub
Function checkMapping(driveLetterCheck As String, uncCheck As String) As Boolean
'given drive letter and unc path, check to make sure it's mapped OK. Dim i As Integer
Dim drives As Variant
Dim net As Variant
Dim networkResult As Variant
Dim driveLetter As String
Dim unc As String
Dim drivesAreGood As Boolean Set net = createobject("WScript.Network")
Set drives = net.EnumNetworkDrives()
checkMapping = False For i = 0 To drives.Count() - 1 Step 2
driveLetter = Lcase(drives.Item(i))
unc = Lcase(drives.Item(i+1))
If driveLetter = driveLetterCheck And unc = uncCheck Then
checkMapping = True
Exit For
End If
Next
End Function
Еще примеры:
Больше кодов на сайтах:

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

Как подружить? DB2 ставится нормально, базы-таблицы создаю (штатными средствами). Есть сервер Domino 8.5 специально под db2 (с соответствующей галкой при регистрации). При попытке Enabled DB2 на сервере db2 создалась база DOMINO (не в лотусовой папке, а в домашней пользователя), из администратора не видна. Поля в серверном документе заполнились. db2 info выдаёт, что db2 not enabled или не запущен процесс. При попытке создать новую базу та же ошибка. Domino 8.5 и DB2 9.7 на одной железке под SUSE10 SP1.
Что ещё посмотреть/запустить?
Спасибо.
Интересные темы:
Список форумов:

Tips. Советы

Denny Russell is looking for the best end-user tips out there, the kind of tips that might make users' days easier. He says this is something he's working on for the Lotus community.

Read | Permalink
This article on essentials and best practices has just been published to the WebSphere Portal family wiki.

Read | Permalink


POWER TOOLS 4.0 - GET THE MOST OUT OF NOTES AND DOMINO
Tap here to learn more about this set of 73 administrative utilities for Lotus Notes & Domino.

It seems everyone was too eager to get information on the IamLUG agenda yesterday and XPages went on vacation. If you had trouble seeing the agenda, it's now available as a PDF.

Read | Permalink
John Roling was trouble-shooting a mail database when the server console gave him a really interesting error message. It is rather humorous, if you can manage to maintain your sense of humor.

Read | Permalink
Chris Toohey's customer needed to create web browser client front-ends for some Notes applications but weren't running Domino 8.5 and couldn't upgrade right away. So Chris found a work-around that he expects to still work when they do upgrade.

Read | Permalink

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

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

Author: Joseph Hoetzl
Tags: mail rules mailrules filter filtering
Idea:
The "Edit Rule" dialog should have an "edit" button below the "Add" button in the conditions area.  If you accidently to an "AND" instead of an "OR", you have to re-enter the rule condition and there is no direct way to cut/copy/paste the existing condition.

Author: Joseph Hoetzl
Tags: dde designer objects forms ui
Idea:
When viewing the Objects list for a form in designer, instead of just fieldname (Field), tell me what kind of field "(Field)" is.
 
e.g. (Field - Text)

Author: Steven Santamorena
Tags: mail template
Idea:
Put the mail folders in a separate frame in the mail template navigator.  This way the "key" views/folders (inbox,drafts, sent, etc) won't scroll off the screen as you navigate a long list of folders.

A busy week at OpenNTF, heres a summary of some of our activities: New Projects Elenchus - XPage based Q&A application. Uses Voting and Karma points to build up answer reputation. Fugue Icon collection - The Fugue icon collection in an NTF ...
Author: Jan Schulz
Tags: debug LotusScript
Idea:
A function, which prints out (recursively) names and content  of the current available variables would be a great addition to the stacktraces, you can get via OpenLog.
 
For notes internal classes, it should print relevant information (like the UNID for NotesDocuments)

A new ideaspace has been created on IdeaJam (sponsored by Elguji Software) on OpenNTF for ideas for the next generation of the discussion template. Please help us to prioritize the features that you want to see in a future discussion template. See ...
Еще записи:
Интересные блоги специалистов:

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

This Knowledge Collection addresses the major features and most common issues associated with the Administration Process (AdminP) in Lotus Domino versions 6, 7 and 8. It is not a listing of all issues or technotes, but the most common and highest impact ones.
The Administration Process (AdminP) is a server task that is required for several features in Lotus Notes and Domino 6 and later. This document provides Domino administrators with guidelines for maintaining AdminP and its underlying database, as well as providing links to more detailed information.
Despite there being plenty of available disk space, the install of Japanese Notes 8.5 All Client package (part number CZ1FNJA) fails during InstallShield extraction with the error "Not enough disk space".
The parameter, "RouterDisableSenderElim=1", does not work as expected in Lotus Notes and Domino 7.x and higher releases when the mail domain is not appended to group in the To: field.
If you choose to display a conversation from within an open message and Simple MAPI is used, a conversation box appears but it contains all documents in your mail file.
Under certain circumstances, a Lotus Domino server crashes in DbFreeSBResBitmapHandle when closing a database.
This white paper explains the detailed steps to migrate a Microsoft Exchange server and Outlook client to IBM Lotus Domino and Lotus Notes with the help of Binary Tree's Common Migration Tool (CMT).
Versions 1.1.2 or 1.1.3 of the Domino Application Portlet do not work with WebSphere Portal 6.0. You appear to be able to configure the portlet (you can click the wrench icon and enter configure mode), but when you attempt to make any changes to the configuration and save the changes, a "You are not authorized.." error message occurs.
Также почитатай:
Найти документацию можно на сайтах:

В избранное