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

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

  Все выпуски  

Бюллетень "Lotus Notes CodeStore" No 151 от 2009-03-09


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

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

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

comp.soft.prog.lotuscodesrore

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

Have you ever wanted to build your own custom document collections? I have, imagine my surprise when I came across this undocumented code within the R8 Mail Template which lets you do just that: CreateDocumentCollection() This handy little timesaver allows you to quickly initialize an empty collection. Here is an example: Dim MyCol As NotesDocumentCollection
Set MyCol = db.CreateDocumentCollection() You are now free to add documents to your empty collection. Note: Before this method the only way I knew of to achieve this was to "getalldocumentsbykey" using a key that does not exist.
I loaded the Yahoo User Interface via WebDav, into a Domino Database. Works well, and you don't need to beg the Administrator to put the files on the server for you.
This application is a sample of how you can create good looking charts from Lotus Notes data without the need of Microsoft Excel. Because this application directly reads out the values of this database and directly redraws the charts on the form, I think this example is much faster then starting Excel, exporting values, creating a Chart, save it as a graphic to disk and import it in an rich text field within your form. This version, v1.2, I added the ability to change the look of the charts in real time, and add the data table (as an embedded view). I also added an example of a Pie / Donut chart. You will need to download RMchart at http://www.rmchart.com/ and install it on your PC (a restart is required). Make sure the files RMchart.ocx and RMchart.dll are installed in your windows\system32 directory. RMchart is completely freeware. Go to their website for more information. I created this application because I could not find any free product to create realtime graphs from (view) data within Lotus Notes. Finally I found this software and this made my work a lot easier. No more excel and no more exports needed. This is a completly free solution and I think it works great. If you would like to use RMcharts in a real application make sure your users have the RMcharts installed. You could copy above files manualy or automatic via an script to windows\system32\ directory and use 'regsvr32' command line program to register the .ocx file in Windows. This database contains a view for the sales sample data and a lookup view I use to quickly & dynamic get the values to display in the charts. The dashboard form contains the embedded activex elements and all the code I used to get the data and display the data in the embedded activex elements. It makes use of a script library for the needed constants. TIP: You can build your own charts with RMCdesigner, also available at www.rmchart.com. Use the program to generate source code for VB6 / ActiveX and paste it in an Lotus Notes button in a form. With very limited changes you can use that generated code in your application. This appication does not work on the web. If you have any questions regarding this application, mail me. Ferry Kranenburg
Еще примеры:
Больше кодов на сайтах:

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

Ну так сразу и пишите как это реализовать. Спрашивает то новичек, а судя по второму его посту, то нужно детально описать где и как строить.
Можно сделать представление, потом в Эксельник, или агентом пройтись, а потом в эксельник.
А оттуда ты эту инфу никак не скопируешь в том виде, в каком она представлена.
А оттуда ты эту инфу никак не скопируешь в том виде, в каком она представлена.
Можно сделать представление, потом в Эксельник, или агентом пройтись, а потом в эксельник.
Ну так сразу и пишите как это реализовать. Спрашивает то новичек, а судя по второму его посту, то нужно детально описать где и как строить.
Интересные темы:
Список форумов:

Tips. Советы

Most of you are probably familiar with Sametime--that email-reducing, real-time chatting wonder. I, for one, can't function without it. But when I need to chat with someone, I'm also probably multit
Tim Tripcony offers one of those quick tips that sound like they shouldn't work but do.

Read | Permalink
Dennis Ruddigkeit decided to try rebuilding the Notes client workspace as described in Technote 1366835. It didn't work out quite as he envisioned.

Read | Permalink
Proving that even well written programs can be beaten when the user makes a mistake, Denny Russell crashed his Domino server. Just to make sure he understood his mistake, he repeated it.

Read | Permalink
Yes, webinars on Domino 8.5. Darren Duke provides links, phone number, and general information if you're interested in attending one of these sessions.

Read | Permalink
Security is wonderful, especially when it catches you off guard. As this Technote explains, Windows Server 2008 won't display the Domino Console if you start Domino as a Windows Service.

Read | Permalink

Dennis Ruddigkeit lists the FixPacks and Cumulative Client Hotfixes for Notes 8.0.2 and provides a link to the new fix pack as he wonders why there's a FP to a CCH.

Read | Permalink

Each time you guys perform a search on the demo I linked to yesterday it logs the search query and the number of hits.

ScreenShot001

It's funny seeing what you guys are searching for. Call it non-invasive user-testing. Although this isn't real user testing, as you guys are developers.  Which makes me think it must be badly designed if you, as developers, don't get it.

I'm seeing search strings like:

SELECT Title="Test*"

Or

@Contains(Title; "Test*");

Now, there's every chance that there could be a document with a title of "Test*", in which case you'd get a hit, but the likelihood is that you'll get nothing in return for those searches.

Wildcards are only supported by the "Is Like" option for string fields!

Other search strings with no hits include:

SELECT Title="wqqweqwewq" & Title="asasas"

Now, that's just plain bad logic.

For the most part that it looks like you get it, which makes me confident that Joe User might be able to.

It makes me wonder if bad logic can be caught. I'm guessing not as there are too many variants to cater for. It has to be down to the common sense of the user.

That said, one of the common mistakes I make is to write things like this:

@If(@LowerCase(field)="Foo"; this; that)

Then I spend ages wondering why it isn't working. Doh! You guys got any common logic errors you make?

Click here to post a response

Mike McGarel made some modifications to an existing web-based application only to notice some new, Domino-generated label tags enclosing each element of the radio button fields. He was able to fix it but wonders if this is normal behavior in 8.5.

Read | Permalink
Theo Heselmans is hoping the software has been partying in preparation for the weekend, because this simple Querysave in Notes 7 is returning some very strange results.

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.

One of the major shortcomings of the Flex "Accounts.nsf" database I've been talking about is recently that, while you can easily add documents, you can't edit them. Well, now you can.

Open the demo and double-click an incoming/outgoing in the view on the first tab. Below the view another form should appear, which lets you update the selected row (move your selection in the view and the field values change to match). You can then either press the "update" button to save the data to the Domino server and update the selected row in the view or press "cancel" to hide the form. There's also the option to leave the form open after the server has saved the document so that you can edit other rows without needing to double-click again.

By adding this functionality I'm hoping that soon the demo will be at a point where I can make it available for download (with Flex source code!) and it will act as a working demo of using Flex with Domino. This was always my intention, but, since starting out my intended direction for the app itself has changed (more on that in my next blog). Basically, I'm going to drop Domino as the backend.

There are just a few other bits I need to before I make it freely available. Not least of which is going through the code and tidying it up. I've been learning as I go with this app and it shows in the code (hence no source as yet - it's just embarrassingly amateurish). Hopefully I'll have the source with you before the week is out.

Click here to post a response

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

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

Author: Stefan Meyer
Tags: location dialog
Idea: When starting Notes I am prompted for password and my current location. In Notes 7 I could simply navigate in this dialog with the TAB key, and select the location by typing in its first character.

Notes 8 forces me to use the mouse. - At least to click into the field twice. Than the selection by character works.
Author: Matt White
Tags: ideajam charts flash
Idea:
Back in the early days of IdeaJam we used some flash charts rather than the static ones which we are using today. We had to stop using them due to some stability issues. But we have decided to revisit the Statistics page of the app for the next version and are planning to move back to flash charts (specifically AMCharts).
 
So the question - would you like to see Flash Charts in IdeaJam? (that's the promote / demote bit).
 
As a follow on, what charts would be useful to you?
 
We have already written charts to show the following:
 
  • Votes By Date
  • Votes By Week
  • Ideas and Comments By Date
  • Ideas and Comments By Week
  • Ideas By IdeaSpace
  • Comments By IdeaSpace
  • Votes By IdeaSpace
Now is the time to let us know what you'd like to see for the next version of IdeaJam.

Author: Mike Robinson
Tags: Calendar Repeating
Idea:
When you create a repeating meeting/appointment, you cannot edit the reoccurence information. For example, if I create a repeating appointment for every Tuesday for the next 5 weeks, and want to extend it. there's no way to edit this. 
 
I hate to say it, in Outlook, I intuitively edit the reoccurence and make my changes.  I've often wondered why this was left out of the Notes C/S.
 

IBM posted another sample to OpenNTF which demonstrates various simple XPages UI controls. ...
Jo Grant and Craig Wolpert from the IBM ISV enablement team have posted another sample on OpenNTF. ...
Еще записи:
Интересные блоги специалистов:

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

After installing an upgrade to McAfee VirusScan Enterprise 8, several Lotus Notes Scanner error messages occur when launching the Notes client. These eventually cause a crash. Why does this happen?
The purpose of this document is to describe when to use the Lotus Domino utilities (Updall, Compact, Fixup) and to explain how to use them for normal and abnormal maintenance.
You need to know how to manage Policy and Settings Documents when the document creator/editor moves on.
Eclipse architecture allows the integration into Notes of other applications, such as Productivity Tools and Composite Applications.
This document contains the detailed platforms requirements for the IBM® Lotus® Domino® 8.5 Server Language Pack.
Can the Lotus Mobile Connect product help my company to better utilize the Lotus Notes Traveler software?
IBM Lotus has prepared a set of LotusScript agents that will update any existing meetings, appointments, events, or reservations to conform to the new DST rules. These agents provide an IT organization flexibility on how to rollout these updates. They will work on Notes 6.x and higher template-based databases by default, with optional support for documents created using a Notes 5.x template. The agents are designed to run in Notes 6.x or higher clients (the agents are not operational from a Notes 5.x client
Uninstalling an NSD update on UNIX requires you to shut down the Lotus Domino server.
A Domino Administrator with "Author" access and "User creator" roles in the Access Control List (ACL) of the Domino Directory attempts to register a new user and the action fails with the error "You are not authorized to perform that operation."
This document explains how to resolve the Error LNT0920 RC8
You are running an application which changes the value of the Notes.ini file ServerKeyFileName parameter. What are the potential side effects?
Sending a message to a group or user in Notes generates the error "No names found to send mail to".
In Notes 8.5 Standard Configuration, you attempt to launch an OLE link from Microsoft Excel but you receive the error "Cannot start the source application for this object." After a Notes upgrade, it seems that one of the registry keys is being edited and therefore generating the error.
Также почитатай:
Найти документацию можно на сайтах:

В избранное