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

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

  Все выпуски  

Бюллетень "Lotus Notes CodeStore" No 80 от 2008-09-24


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

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

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

comp.soft.prog.lotuscodesrore

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

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

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

Здравствуйте. Сервер Lotus Domino 6.5, пользователи подключаются через WEB.
В Person документе пользователя на админской вклаке устанавливаю галочку в поле "Force user to change Internet Password on next login:". Пользователю при входе предлагается заменить пароль. Он его меняет, но почему-то и по истечению суток остается возможность войти на сервер под старым паролем, подновым к стати тоже. Подскажите пожалуйста что не так делаю?
Сделайте обраточик.

Функцию в библиотеке. Лучше на LS, но можно и формулами.

Соответсвенно эту функцию вызываете в PostSave документа.

Удачи.
Сделайте обраточик.

Функцию в библиотеке. Лучше на LS, но можно и формулами.

Соответсвенно эту функцию вызываете в PostSave документа.

Удачи.
Интересные темы:
Список форумов:

Tips. Советы

When two Domino developers had to process large arrays in Lotus Notes forms for an international company, they devised a solution that reduced the coding, debugging and testing time involved. Get the LotusScript code they used to easily process the arrays.

It might be old news to some, but have you seen how easy it is for a (power) user to alter a web form so they can pass any field values they like back to the server!?

As an example, let's say you have a form with a computed field called Status on it. In edit mode the field's value is displayed to the user, like so:

 

 Screen1

Now let's look at how easy it is to turn this computed field in to an editable one. Assuming you have Firebug installed, right click the Draft message (or anywhere on the page for that matter) and select Inspect Element. You'll then be able to edit the HTML that forms the page, like so:

 

Screen2

What if you edit the text and replace it with some HTML, like so:

 Screen3

 

Now look at the web page again; there's a field where the wasn't one before:

Screen4

Imagine this happening in a workflow scenario where you'd expect the newly-submitted document to have a Status of "Awaiting Approval", but, as you can see above, they've managed to jump past approval and get it published straight away.

Now imagine it happening in a shopping cart scenario where you skipped the "Awaiting Payment" status and went straight to "Paid", which triggers the logic in the WQS event to mail out the merchandise. Hey, it could happen.

Even if no harm is done there's always the embarrassment factor and it never looks good if a solution you've sold a customer is "hackable".

What I can't work out is how to counter an attack like this. In a SQL-based environment, when a form is submitted you can use an Update() request to change the stored values of only certain "fields" -- the ones you'd expect to be "editable" by the user. In Domino there's no way to easily say "hang on, how come that fields changed?" or "Hey that shouldn't have changed, let's change it back to what it was. Hang on, what was it again?"

Any ideas on this one folks? Is it just a case of trusting your users either not to know how to or simply not wanting to hack you site?

Click here to post a response

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

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

Author: Matt Buchanan
Tags: connections activities notes domino limited use license
Idea:
Much like Sametime was introduced to R6.5, give passport customers who use Notes/Domino a limited use to the Activities part of Lotus Connections. In my (humble, of course :) opinion, Activities is a much better fit functionality wise with Notes/Domino than it is Connections anyway.

Author: Matt Buchanan
Tags: connections activities notes domino limited use license
Idea:
Much like Sametime was introduced to R6.5, give passport customers who use Notes/Domino a limited use to the Activities part of Lotus Connections. In my (humble, of course :) opinion, Activities is a much better fit functionality wise with Notes/Domino than it is Connections anyway.

Author: Daniel Nashed
Tags: 64bit Domino
Idea:
On AIX, Solaris the OS is 64bit for a long time. But since Domino 7.0.2 is supported on Win64 I got questions and issues in the 64bit area.
I would like to do either a jumpstart (maybe two hours are too long) or best practices session about Domino in the 64bit world.
About benefits, best practices, technical background, 32bit Domino on 64bit OS, 64bit native Domino and other details.

We have multiple customers running into some issues and I am also working with business partners porting their applications. My two most complex applications are already up and running on native 64bit.

There are some important details even if you just run on a 64bit OS with Domino 32bit on Windows (like all add-on applications need to be compiled /LARGEADDRESSAWARE).
And I could also show experiences and best practices from porting applications to native 64bit.

There is a lot of confusion about performance improvements and why to move to 64bit.
And this session could give customers and also business partners details they need for the 64bit world.

Author: Daniel Nashed
Tags: Domino storage
Idea:
Currently I am looking into DAOS deployment options and how much benefits we will see in real world scenarios.
But I am also looking into all the other options like document/design compression, on demand sort columns.

I could present best practices and what you should before enabling DAOS in your environment (e.g. aligning object storage, enabling LZ1 compression and other details) and all the other storage optimization features in Domino 8.0.x and beyond.
In addition I would show scenarios where those new options play hand in hand with native Domino archiving and what this might mean to your current add-on archive solutions.

There is a very high potential reducing the storage costs of Domino - not only because reducing the size of your mailfile.
The session could give also technical background about storage and ways to measure your current I/O and other low-level technical details.

Author: Daniel Nashed
Tags: clustering
Idea:
I would like to present a comprehensive Clustering Session (maybe as a jumpstart).
This session would be about conceptual design, architecture, best practices how to implement it and show what Domino clustering makes so unique.
I can present details about how to set it up, monitor it and also talk about the new features in Domino 8 on server and client side.
The session would also include details about clustering tuning, clustering stats and specially about the SAI.

The SAI (server availability index) is still not working in the current releases.
There will be SPRs fixed in 7.0.4 / 8.0.3 / 8.5 that make the SAI more reliable and also introduce new debug and tuning settings.
I have been working with several customers and IBM support to get those details addressed in the next release.
We got a hotfix (addressing multiple SPRs) currently tested at one larger customer to ensure it finally works -- looks good so far.

Author: Daniel Nashed
Tags: shortcut past
Idea:
Most of the times I would like to paste text unformatted with the Past Special/Plain Text. But this option seems not to have a short cut.
 
In 80% of the cases I am using this option and it would save me going to the menu all the times.
 
 

Author: Matt Buchanan
Tags: parent response timestamp document
Idea:
It always annoys me in threaded response views that the view can only be sorted using the data in the parent document - particularly in discussion forum style applications, where active discussions can easily roll off the front page.
 
Wouldn't it be cool if there was an option (maybe tied to a Form design element) that could automatically timestamp a parent document with the date of the most recent response? Something like a $LastResponseTime field. To allow maximum control, I'd say the following options would be useful:
  • Stamp the parent document only
  • Recursively stamp parent documents (i.e. all the way back up the thread)
  • Stamp the top-most parent only
  • Only stamp when a new response is created (i.e. ignore modified response documents)
I think this would have to be implemented at the server (possibly at the ODS) level, since in most cases, I'd imagine the responder wouldn't have access to update parent documents under their own identity. The timestamp should probably also be excluded from creating replication/save conflicts (i.e. the most recent update would always win)

Author: Matt Buchanan
Tags: parent response timestamp document
Idea:
It always annoys me in threaded response views that the view can only be sorted using the data in the parent document - particularly in discussion forum style applications, where active discussions can easily roll off the front page.
 
Wouldn't it be cool if there was an option (maybe tied to a Form design element) that could automatically timestamp a parent document with the date of the most recent response? Something like a $LastResponseTime field. To allow maximum control, I'd say the following options would be useful:
 
  • Stamp the parent document only
  • Recursively stamp parent documents (i.e. all the way back up the thread)
  • Stamp the top-most parent only
  • Only stamp when a new response is created (i.e. ignore modified response documents)
 
I think this would have to be implemented at the server (possibly at the ODS) level, since in most cases, I'd imagine the responder wouldn't have access to update parent documents under their own identity. The timestamp should probably also be excluded from creating replication/save conflicts (i.e. the most recent update would always win)

Author: Dale Dean
Tags: Quickr Development
Idea:
Please provide basic Quickr development training for those who are new to Quickr, and have little development background.

Author: Jim Casale
Tags: Domino Backup Disaster Recovery
Idea:
Just like you can't blame your dog for eating your homework anymore, you can't blame "not knowing" for being unprepared to recover from a major Domino meltdown. Knowing how to backup Domino is just the first step needed for an effective Domino recovery plan. This session will cover techniques used to backup Domino, basic data restoration, and advanced recovery techniques including bare metal restore. The session will also cover backing up DB2 nsf's and Domino 8.5's DAO.

The worst time to think about disaster recovery is after you've had a disaster. This session will give you the knowledge you need to develop a data restoration and recovery plan that best fits your environment.

Author: Dale Dean
Tags: Lotusphere sessions agenda
Idea:
In the pocket agenda and flipbook agenda, I would like to see all alternative times/days listed on each session. This would make scheduling easier than flipping through 2 different books to find out when that session is being presented again. IBM did this at the Blade Center X-Series Conference, and it was VERY easy to set your schedule when there were 2 sessions you wanted at the same time.

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

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

A Lotus Quickr Enabling Fix is required in order for Lotus Quickr 8.0.0.2 services for Lotus Domino to run on Lotus Domino 7.0.3 on i5/OS (iSeries).
In Lotus Notes, the soft delete expire time to remove documents from mail files is set to 480 hours (20 days). If you delete a document from a folder, move the time clock forward five days on your machine, and then restore the deleted document, it shows up in the All Documents view instead of the folder from which it was deleted.
You start up the Domino server and it reports JVM errors, then crashes.
The Domino server appeared to be using 2 GB (shared + private memory) on AIX. The hang or crash is the result of a, out of memory condition.
Lotus Protector for Mail Security IBM's preemptive protective and spam control for Lotus Domino. Below are links with additional information. Home page Features and benefits System requirements
Desktop setting in a Policy is set to Logout (and lock Notes Display) if you haven't used Notes for XX minutes. The policy rolls out fine, however, the user can still change the setting in File>>Security>>User Security despite the setting being locked down in the policy. The setting is grayed out in File>>Preferences>>User preferences.
In this article, we use Ruby on Rails to build a Web application that communicates with an IBM® Lotus® Connections Dogear server to retrieve and display bookmark information using REST services.
Using the "Maximum number of non-lowercase characters required" field in a custom Lotus Notes password policy.
The idle timeout value for a Domino-generated LTPA token is not working as expected. User sessions expire, and users are required to log in again.
In Lotus Domino, you are unable to browse to the server home page and you receive the error "The page cannot be displayed". The server console reports the HTTP task is already running but the task is missing when you initiate a "show tasks" command on the server console.
Client crash while clicking on a hyperlink in a Calendar Entry
This document provides additional informations regarding the Technote 1273378. In Lotus Notes 8.0.2, you need to modify the notes.css including in a JAR file. To update this jar file, you need to fol
Также почитатай:
Найти документацию можно на сайтах:

В избранное