We were testing out an Lotus Notes application and wondering why the Responses property for any document object was returning a collection of no documents. After trying a few things and searching for several different combination on the Notes Net forum, we finally found this document: http://www-10.lotus.com/ldd/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/bc40ce0ae4368fd58525688c0023eafc?OpenDocument.
Read more…
Viewed 9301 times by 2484 viewers
Agent logging is a great feature that’s been around in Notes ever since LotusScript has been around (starting in Lotus Notes R4). But it’s something not everyone takes advantage of. One of the reasons (IMHO) for this is because way too much information is logged every time the agent runs, causing an overload of information to be written to your Lotus Notes agent log, that you don’t look at anyway. Logging is one of those things that you wish you had in there, but only when you need it. This tip talks about implementing what I call “conditional logging” for your scheduled agents.
Read more…
Viewed 9270 times by 2604 viewers
Recently I was working on an application and had a need to show information in multiple columns in Lotus Notes to save screen space. The source field was going to contain somewhere around 30 items, but the exact number was unknown. And the values to display we’re short, either. Although I’m not at liberty to say exactly what the values were, a good example would be capitals for each of the United States of America. The user would pick somewhere around 30 state capitals and the values would be shown.
Read more…
Viewed 11254 times by 3479 viewers
The new formula is @UpdateFormulaContext in Lotus Notes, and all it does, in lay terms, is switch where the code is running. For example, if you compose a document, normally the code would continue to run where you were before the document was composed. But using the new @-function tells the Lotus Notes 6 client that the code should now run in the composed document.
Read more…
Viewed 8146 times by 2023 viewers
Replication/Save conflicts document are a necessary in a distributed environment like Lotus Notes. A developer can do all he/she can to minimize conflicts through things like setting the form properties to merge conflicts if possible and using document locking in Notes 6. But maybe document locking is something that can’t be implemented, because your users aren’t on Notes 6 yet or because the application is really distributed (users with local replicas and no network access can edit existing documents). In that case, you’re bound to have conflicts and will need to deal with them.
Read more…
Viewed 9968 times by 2995 viewers
In Lotus Notes Web, You’re probably familiar with the famous formula:
@ReplaceSubstring(@Subset(@DbName; -1); “\\” : ” “; “/” : “+”)
which will take the path to the current database and make it “browser-friendly”.
After getting sick of adding this to every single link and image tag that needed it, we decided there had to be a better way.
Read more…
Viewed 8026 times by 1947 viewers
As an Lotus Notes administrator, you attempt to change the manager of a room in the Resource Reservations database. However, you receive the error : Unable to interpret time or date
This error can also occur when creating a new room in the Resource Reservations database.
Read more…
Viewed 7822 times by 2126 viewers
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 8438 times by 2440 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 7546 times by 1862 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 7459 times by 2081 viewers