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

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

  Все выпуски  

LO56332: CANNOT OPEN XPAGE WHEN LANGUAGE INTERFACE IS RUSSIAN. ERROR RECEIVED: REFERENCEERROR: XSP IS NOT DEFINED


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

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

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

comp.soft.prog.lotuscodesrore

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

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

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

Добрый день .
Ситуация следующая стоит сервер с Lotus Domino 7 для внутренней почты на самом сервере письма вижу в Mail file вот через Outlook принимать не хочет как бутто там нет писем . Авторизация проходит без проблем но писем нету.
В чем проблема подскажите за ранние благодарен.
Ну,вообще можно *.NSF файлы не удалять из папки Data.. Достаточно просто удалить нижнею часть файла notes.ini, примерно с того места, где заканчивается описание установленных настроек. После чего Лотус просит ввести пароль при входе и Ву-а-ля)
Интересные темы:
Список форумов:

Tips. Советы

Dennis van Remortel needed to re-route messages but was soon seeing: "No route found to Domain from Server, Check Server..." messages. He created a formula agent to fix the problem.

Read | Permalink
Bill Malchisky has posted some information on using the "top" program in Linux to help you see who is running what on your Domino server.

Read | Permalink
Adam Osborne is looking for some people willing to provide feedback on using Defrag.NSF for Notes. If you're interested, please contact Adam.

Read | Permalink


WHAT'S THE MOST COST-EFFECTIVE & RESPECTED TRAINING RESOURCE FOR LOTUS PROFESSIONALS?
Visit THE VIEW Online Knowledgebase at www.eview.com.

Julian Buss has posted some information on using dijit.form.Combobox without the OpenNTF Extension Library. He's included the code for a function to make it work.

Read | Permalink

Last Wednesday we went away for a break (nothing to do with Thanksgiving, which we don't celebrate in the UK). Our plan was to spend a couple of days in Sleights, near Whitby, before heading further north to visit friends in Sunderland for the weekend.

The plans changed when we woke up Thursday morning and drew back the curtains to this scene of un-seasonally bad weather:

bbbei.jpg

We decided to cut our losses and head to the North East a day earlier - not realising the weather up there was about to get a whole lot worse.

We had fun in all the snow. Well, the kids lasted about 5 minutes per outing. The photo below is down by the sea at Sunderland, where it was bitterly cold *.

IMG_5673

No children were harmed in the making of that photo and we were soon back in the warmth of the car.

All the while I was keeping one eye on the local travel news to see how likely it was we'd get home - as planned - on Sunday.

While checking the travel news I noticed some funny reports of the A1 being "wide open both ways".

image

Wide open? Both ways?

"Come on Karen", I thought, "pack the bags! Lets get going while the roads are empty!!"

After a while I worked out that, in fact, Wide Open must be the name of a place up there. Sure enough, after asking a local and checking the map I found a place on the A1 called Wideopen (which I guess is pronounced "wide open").

image

Luckily we didn't hit the road at that point and waited until last night, by which time the roads were almost clear and we got home safely.

Anyway, I just thought the above anecdote might be amusing. Probably not, but it made me laugh.

Click here to post a response

By David Gewirtz

On Saturday, April 21, 2007, I published a small article in DominoPower called, Technical analysis: the White House email controversy. I'd been watching the news and hearing reports about missing email in the Bush Administration White House.

What bothered me was the way they were characterizing Lotus Notes was wrong, based on everything I knew from my years of experience as DominoPower's editor.

So I wrote that article. Then another. All told, over the next few months I wrote 12 full articles, which eventually wound up in a book, Where Have All The Emails Gone? How Something as Seemingly Benign as White House Email Can Have Freaky National Security Consequences.

During the months I researched those articles and wrote the book, I was grateful to have had the support of both our advertisers and you, our readers. I got exceptional feedback after each article was published by some of the top technical experts dealing with email and messaging management. And I got encouragement and suggestions for more questions to ask and avenues to research.

Since then, over the years, I've written a steady flow of articles and special reports about White House communications for CNN, CBS Interactive's ZDNet Government blog, for Counterterrorism Magazine, for Harvard's Nieman Foundation for Journalism, and more. I've done hundreds of interviews on Presidential communication and advise homeland security professionals on countering cyberterrorism and conducting and defending against cyberwarfare.

And in July, as a direct result of the small articles begun because of my gig here as editor of both DominoPower and OutlookPower magazines, I had the opportunity to participate in the filming of a History Channel special, The President's Book of Secrets, which premieres Wednesday night at 9pm.

The President's Book of Secrets takes viewers on a journey inside White House history to unveil staggering information about secrets known only to the President, from top-secret intelligence and classified events to covert codes and future technologies.

The President's Book of Secrets features exclusive interviews with Washington insiders, including former CIA Director Michael Hayden, former Director of Homeland Security Michael Chertoff, former Vice President Dan Quayle, former White House Press Secretary Dana Perino and presidential daughter Susan Ford who reveal what it is like to live and work in the White House.

Additionally, Former Speaker of the House Newt Gingrich, journalists Dan Rather and Jonathan Alter and other experts (that'd be me!) share what they know about the secret world of the presidency.

My part in the program is a discussion of the Internet and the Presidency, along with White House email, communications, and messaging technologies. You know, the usual.

Kudos to the producers for their patience while they were filming me. I haven't seen the program yet, but they've promised that even though I've got a face for radio, I won't break your TV screen.

Please tune in. I'm sure it'll be a fascinating program. Set your TiVos. And, if you don't happen to catch it Wednesday night, check the History Channel's schedule for future broadcasts.

David Gewirtz is the author of How To Save Jobs and Where Have All The Emails Gone? For more than 20 years, he has analyzed current, historical, and emerging issues relating to technology, competitiveness, and policy. David is the Editor-in-Chief of the ZATZ magazines, is the Cyberterrorism Advisor for the International Association for Counterterrorism and Security Professionals, and is a member of the instructional faculty at the University of California, Berkeley extension. He can be reached at david@zatz.com and you can follow him at http://www.twitter.com/DavidGewirtz.

Keith Brooks reminds us that R6 produced the Single Copy Template (SCT) option. With it came the benefit of saving lots of space and the terror of something happening to that single template. Keith explains how he recovered mail after accidentally overwriting that template.

Read | Permalink


LEARN XPAGES WITH TLCC, THE LEADER IN NOTES AND DOMINO TRAINING
Tap here for more information and to try a free demo course!

Eric Mack uses CTRL+M to create new messages in Notes. But he had problems using it on his new laptop. He discovered BING was interfering with the keys and how to get it working again.

Read | Permalink
Lotus Development and Support Engineers are hosting an hour-long conference call on Wednesday 8 December 2010. You can submit your questions in advance.

Read | Permalink
Bruce Elgort has posted a 15.5-minute video of a presentation by Jason Fried on why people don't get work done at the office. If you work in a large office, you will probably recognize much of what is said.

Read | Permalink

Ever wondered how to create multiple rows in a SQL Server table using ASP.NET?

You could of course do a loop inside C# code that adds a row at a time by calling a simple INSERT statement. But what if something goes wrong half way through the loop and you want to delete all the rows already added (rollback) so you can try it all again later?

A better way to add many rows at once is to pass a DataTable object directly to a Stored Procedure. Yes, you can do that. And it's fairly easy. Since discovering this approach I've used it in quite a few places.

Let's look at how simple it is.

Last week I mentioned a C# function to create unique voucher codes. Now, let's say we have two tables in a database to store these voucher codes - one called "VoucherRequests" - to store details of who, why and when the codes were requested and one called "VoucherCodes" to store the actual codes generated for each request. The tables are linked together by VoucherRequest row's ID column as a foreign key.

Now, assume our application POSTs the following information to the server:

description=some+vouchers+to+hand+out&quantity=50&value=100&expires=2011-11-23

The server then uses this information to create the right number of vouchers in our tables.

The C# code would look something like this:

requestsTableAdapter rta = new requestsTableAdapter();
vouchersTableAdapter vta = new vouchersTableAdapter(); DataTable vouchers = new DataTable();
vouchers.Columns.Add("VoucherCode");
vouchers.Columns.Add("VoucherValue");
vouchers.Columns.Add("VoucherExpires"); int count = Convert.ToInt32(context.Request["Quantity"]);
int value = Convert.ToInt32(context.Request["Value"]); DateTime validUntil = DateTime.ParseExact(context.Request["Expires"], "dd/MM/yyyy", CultureInfo.InvariantCulture);
validUntil = validUntil.AddDays(1).AddSeconds(-1); //Adjust time to 23:59:59 of the date in question int i=1; do
{ string code = CreateRandomString(8); if (vta.TestCodeUniqueness(code)<1){ DataRow dr = vouchers.NewRow(); dr[0] = code; // System.Guid.NewGuid().ToString("D"); dr[1] = value; dr[2] = validUntil.ToString("yyyy-MM-dd HH:mm:ss"); vouchers.Rows.Add(dr); i++; }
} while (i <= count); rta.AddVouchers(context.Request["Description"], vouchers);

You should be able to see what this is doing. Even if some of it makes no sense - the principal is what's important.

What it does is build a temporary DataTable with 3 columns. Then it keeps trying to create a unique code to add to this table until it has added as many as was requested. Then it passes this table as-is, along with a description of the request, to a Stored Procedure (SP) via a TableAdapter.

The key to making this work is having a User-Defined Table Type in SQL Server, so that it knows how many column to expect and what data type they should be.

Here's the SQL to create this Table Type:

CREATE TYPE [dbo].[VouchersTableType] AS TABLE( [VoucherCode] [nvarchar](36) NOT NULL, [VoucherValue] [int] NOT NULL, [VoucherExpires] [datetime] NULL
)

Once the Table Type is in place we can create a SP that uses it. Here's the SQL for SP to add multiple rows in one go:

CREATE PROCEDURE [dbo].[VoucherRequestADD]
( @description NVARCHAR(255), @TVP VouchersTableType READONLY
) AS SET NOCOUNT ON DECLARE @RequestID INT; BEGIN TRANSACTION INSERT INTO dbo.voucher_requests ([description], [created]) VALUES (@description, GETDATE()); SET @RequestID = SCOPE_IDENTITY(); INSERT INTO dbo.vouchers ([voucher_request_id] ,[voucher_code] ,[valid_until] ,[value]) SELECT @RequestID, VoucherCode, VoucherExpires, VoucherValue FROM @TVP; IF @@ERROR != 0 BEGIN ROLLBACK TRANSACTION --Roll back transaction on error SET @RequestID=0; GOTO handler END COMMIT TRANSACTION handler:
SELECT @RequestID;
GO

The key part of this SP is that the INSERT statement uses a SELECT to get its data values. The SELECT statement refers to the Table Type passed in to it.

Notice the INSERT part of the SP is wrapped in a TRANSACTION so that, if anything goes wrong, we can rollback to a previous state and abort the code.

This example is quite specialised, but the principle is the same and can be applied in lots of other scenarios. For example - a shopping cart which has multiple rows per item and one row in the main table to store data about the user and other bits.

I'm posting this here primarily as I hope it will help people Googling in the future, but also as an insight in to a different world for my regular (Domino developer) readers.

Click here to post a response

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

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

Author: Alexey Katyushyn
Tags: new email mail features notes
Idea:
Mail tips may be helpful to inform the possible exceptions before they happen. Example:
- The excess of the quota on message size
- The use of encryption for mailing outside notes domain
- Select the group with a lot of addressee
- Not specified recipient or subject
- Etc.
Configure Mail tips should be an administrator.

Author: Lasse Jarvinen
Tags: text color input enabled field
Idea:
When input enable formula returns false the text on the field becomes tan (even in read mode). It makes the text hard to read even on white background. The selected text color should remain at least in read mode or there should be possibility to select the text color when input is disabled.
 
In version 7 the text color does not change for Notes style fields but at least in 8.5.2 it does. Of course you can you can use computed for display fields and hide-when formulas but that takes away the whole idea of using the Input enabled formula (+ you have to fix all the applications that worked well with version 7 client).

The resources page on http://xpages.info/resources has been updated. The commercial products section shows in addition to the link to the Lotus Business Solutions Catalog also the first search results for XPages inline. Technically an Atom feed is ...
Author: Patrick Kwinten
Tags: rich text security input enabled
Idea:
works for most other fields, why not for rich text?

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

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

This issue only occurs on the client site when the interface language in the Notes client option is set to Russian. The
The customer has noticed that they are having trouble closing mails using the ESC button, normally most tabs in the iNotes
After upgrade from 8.5.1 Notes (without FixPack) to Fix Pack 5. Whe user went to create an email and enter an email address got
This document describes the behavior of some text boxes in Microsoft Word documents when opened in Lotus Symphony.
Managed Mail Replicas is a new feature implemented in Domino 8.5.2 via policies. The following video from IdoNotes walks through the highlights, comparisons to local replicas and implementation. object width"640" height"385"param name"movie" ...
H1 Problems connecting devices to Lotus Notes Traveler with Session Authentication enabled.H1 Many customers have reported issues connecting various device types to Lotus Notes Traveler when Domino Session Authentication is enabled. The problem is that many devices do not support HTML form ...
Customer reports that the "Find" and "Search This View" rt-click menu options or selections are no longer available in 8x as were used to using in earlier client releases. Within a database, the user would simply rt-click on the name of a view/folder and be able to select one of these options. They no longer appear on the rt-click menu in Notes 8x.
Meeting invitations are not being auto processed when an incorrect value is in the "Domino mail Domain" field in the location document.
The Notes client may crash when clicking resend on a message.
When a return receipt is requested and the Reply To field is set, Notes ignores the Disposition-Notification-To field.
You can add a hotspot to a graphic or a section of a graphic in emails, calendar entries, and other Notes documents. A hotspot links to a web site or other location, displays a text popup (like this), or performs an action. To add a hotspot to a grpahic, follow these steps: Click the graphic, and ...
Также почитатай:
Найти документацию можно на сайтах:

В избранное