Why are deleted documents reappearing?
A purge interval prevents replication of deletions
When a document is deleted, it leaves behind a deletion stub. When the database replicates, the deletion stub is used to identify and delete the same document in the replica. To save disk space, Notes purges deletion stubs that remain from document deletions according to the replication setting “Remove documents that have not been modified within the last [ ] days.” If Notes purges the deletion stubs before they have a chance to replicate, deleted documents can reappear after the next replication.
Read more…
Viewed 8431 times by 2439 viewers
During development of a new application, we ran across a situation that I’m sure some of you have seen. We have a parent document and children documents. The children are only displayed in an embedded view in the parent document. So, when you open up the parent, you see an embedded view with “show single category” enabled that shows all the children of that parent. Those children don’t show up in any other view, so you must open up the parent to see them. There’s buttons in the parent to create a child, edit a child, delete a child, etc.
Read more…
Viewed 7535 times by 1857 viewers
Most of you know that in the United States dates are shown in MM/DD/YYYY format, where many parts outside the U.S. use DD/MM/YYYY format. (And us Americans are also clueless about the metric system that everyone else uses, but that’s another topic). Anyway, on to the tip. What if you have a text date in a certain format and need to convert it to a Notes date-time value?
Read more…
Viewed 7451 times by 2077 viewers
This JavaScript regular expression will validate a Notes ID. To use the function, call “isValidNotesID” and pass in the Notes ID to be checked and an optional parameter of the number of slashes that should be in the ID. If the parameter is omitted, it defaults to 1 slash. For example, if the ID is supposed to be in the format of “John Doe/MyCompany”, then you can call isValidNotesID(myString). But if the format is supposed to be “John Doe/MyCity/MyCompany”, then you’ll need to call isValidNotesID(myString, 2).
Read more…
Viewed 7571 times by 2059 viewers
Notes has provided access to the formula language in any text field. If you place a valid @-formula into a text field and press SHIFT+F9, the formula will be computed and the value for the text field replaced with the results of the formula.
Read more…
Viewed 7773 times by 2216 viewers
We were working on a web application recently. The application was to be used on the client’s server and had only one “foreground” agent (accessed through the ?OpenAgent URL). Since we wouldn’t have access to run agents on their server, the agent was set up to run as the current web user. The agent, when this setting is enabled, runs under the authority of the currently logged-on web user (or under “Anonymous” if the user hasn’t authenticated). Or so we thought…
Read more…
Viewed 6513 times by 1884 viewers
You Cannot Copy, Forward or Print a Form or Message in Lotus Notes You Have Created Even Though You Did Not Choose To Prevent This.
There are occasions when you are unable to forward, print or copy a message or form despite the fact that you have not chosen this option. How does this occur, and what are all the ways of adding the $KeepPrivate field to a document in order to discourage copying, printing and forwarding?
Read more…
Viewed 9020 times by 2595 viewers
Starting with version 5.03 of the Notes API, the ability to refresh the design of a database through the API has been exposed. The API call, in its most basic form, is surprisingly easy to use in LotusScript. This tip shows you how to do it.
Read more…
Viewed 5664 times by 1548 viewers
Yes, I know the title of this tip doesn’t mean much. But I couldn’t come up with a meaningful title in just a few words. So let me describe the situation. Let’s say you have a multi-value keyword fields that contains state names. And another multi-value keyword field that contains city names. The choices for the city names come from the selected state names. If you choose some cities, and then go back and remove a state, how do you eliminate those selected cities that are no longer choices?
Read more…
Viewed 8574 times by 2241 viewers
When creating a new application recently, I was given a logo image by the customer to be included in the upper left corner of the application (it was a Notes client application). The customer wanted also to have the application name appear on top of the image.
Read more…
Viewed 5552 times by 1752 viewers