359 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
Tools we use to build web apps
Sun, Sep 21st 2014 538
Status report / collection of web and mobile development frameworks and tools
Fri, Jun 27th 2014 353
Now on OpenNTF: Open Eclipse Update Site - based on IBM’s template but with extended functionality
Fri, Dec 6th 2013 240
Now on OpenNTF: Mindoo XPages2Eclipse - Eclipse APIs for XPiNC applications!
Thu, Nov 28th 2013 162
New on OpenNTF: Plugin to close XPiNC applications from CSJS code / to detect Notes ID changes
Mon, Sep 9th 2013 146
New on OpenNTF: Geospatial indexing for IBM Notes/Domino data
Tue, Jul 30th 2013 167
XSS security fix in Domino R9 HTTP server may break existing web applications
Mon, Jun 3rd 2013 168
Top 10
Tools we use to build web apps
Sun, Sep 21st 2014 538
Status report / collection of web and mobile development frameworks and tools
Fri, Jun 27th 2014 353
Now on OpenNTF: Open Eclipse Update Site - based on IBM’s template but with extended functionality
Fri, Dec 6th 2013 240
XSS security fix in Domino R9 HTTP server may break existing web applications
Mon, Jun 3rd 2013 168
New on OpenNTF: Geospatial indexing for IBM Notes/Domino data
Tue, Jul 30th 2013 167
Now on OpenNTF: Mindoo XPages2Eclipse - Eclipse APIs for XPiNC applications!
Thu, Nov 28th 2013 162
Notes 8.5.1: The new Java UI classes and Domino Designer extensibility API
Sun, Oct 11th 2009 160
New on OpenNTF: Plugin to close XPiNC applications from CSJS code / to detect Notes ID changes
Mon, Sep 9th 2013 146
Entwicklercamp 2013 slides about "Dojo 1.8 and AMD" now available in English
Fri, May 24th 2013 127
Fast Notes view reading via Java API:New ViewNavigator cache methods in 8.5.3
Thu, Jan 17th 2013 125


LS10/EC10 session sample #1: Notes Bookmark tools
Karsten Lehmann    

This is the first sample that we developed for our Lotusphere session about the Java APIs of Lotus Notes 8.5.1. And it's already the first one that we did not  actually show at Lotusphere, because we ran out of session time in our rehearsals and felt the need to reduce the amount of live demos.

The sample plugin is called "com.mindoo.bookmarktools". It adds two actions to the Open List of Lotus Notes:

Image:LS10/EC10 session sample #1: Notes Bookmark tools

Locate on workspace
This action uses the methods NotesUIWorkspace.addDatabase(NotesDatabaseData) of the new UI API, but instead of adding databases to the client's workspace, it actually only leverages the fact that addDatabase selects already existing databases and opens the right workspace tab.
As you may know, we are the developers of the MindPlan application (mindmapping and project management based on Lotus Notes). That's why my Open List looks like this when I'm searching for the keyword "mindplan" in my bookmarks:

Image:LS10/EC10 session sample #1: Notes Bookmark tools

Sometimes you want to know where a specific database is located on your workspace. One way is to open the database in the client and then switch to the workspace, where in most cases the right database chicklet is selected. That takes a lot of time in case the database needs to be loaded from a server. And sometimes opening the database does not really help to find it on the workspace, for example if the database opens a frameset that displays a view of your mail database. In that case, it's the mail database that is selected on the workspace, not the database with the frameset.

This new action helps in this case.

Open as workspace

The second action "Open as workspace" is something that you might know from older Notes Clients, e.g. from version R7. You could right click on a bookmark and select "Open as workspace". This would open a new tab that displays the bookmark folder content as chicklets like this:

Image:LS10/EC10 session sample #1: Notes Bookmark tools

Well, although this feature has not been officially implemented in the 8.x Standard Client (the was some discussion whether it should return in 8.5.2, but IBM decided to keep it out of the Standard Client), there is a way to open the workspace view for a bookmark folder.

Actually, it's pretty simple:
You may know that the Notes URL "notes:///ClientBookmark?OpenWorkspace" opens the normal workspace tab.
All you have to do is add a query parameter "id" to that URL: "notes:///ClientBookmark?OpenWorkspace&id=0". That ID is the internal bookmark folder id. The id 0 tells the workspace viewpart to display the first level of your open list (e.g. with your mail, calendar and a chicklet to start Domino Designer).
I haven't found out so far where the other id's come from (just checked the design of the bookmark.nsf, but it's no obvious ID of the folders design elements). But by using some internal Notes functions, we are able to grab the folder id when you right click on an Open List entry and launch the corresponding Notes URL.

So, what to do with this second action? I don't know. :-)
My first thought was to use this special Notes URL in a Composite Application, something like my personal start page for the Notes Client. You can for example use the Notes Document Container to display this URL and send URL changes to the "SetNotesDocumentURL" action to switch between several workspace folders. In my first tests, quickly changing this URL did not appear very stable (the client crashed) and I did not look into this any further.

Anyway, here are the source code for this sample and an update site for the installation (please refer to this article if you don't know how to install from an update site).

---------------------
http://www.mindoo.com/web/blog.nsf/dx/30.01.2010154312KLEKA4.htm
Jan 30, 2010
71 hits



Recent Blog Posts
538


Tools we use to build web apps
Sun, Sep 21st 2014 4:08p   Karsten Lehmann
In a recent comment in this blog, Andrew Magerman asked what frameworks I use to build web applications and whether we have looked into Angular. Since the answer got too long for a simple comment and might be interesting for others, I created this blog article. Server side I am using my own regexp based templating system, which simply fills some placeholders in static HTML and JS files and sends them to the browser, e.g. to compute URLs, to insert translated phrases and include content of ot [read] Keywords: domino ibm application applications database desktop development facebook integration java javascript mobile network server twitter
353


Status report / collection of web and mobile development frameworks and tools
Fri, Jun 27th 2014 2:34a   Karsten Lehmann
The last post in this blog has been written 6 months ago. Although I have had several ideas for new posts, project work and family life got in the way (our son was born last September). At Mindoo, we have been incredibly busy working on development projects and product prototypes. Some of them are still IBM Domino based with Responsive Web Design using Bootstrap and jQuery or Sencha's ExtJS, others are pure JSF applications using the Primefaces framework. In other projects, we produced E [read] Keywords: domino ibm notes notes client applications database development interface java mobile server twitter wiki
240


Now on OpenNTF: Open Eclipse Update Site - based on IBM’s template but with extended functionality
Fri, Dec 6th 2013 11:23a   Karsten Lehmann
I just created a new project on OpenNTF called "Open Eclipse Update Site". The Open Eclipse Update Site database is based on the OpenNTF project "Eclipse Update Site (updatesite.ntf)" from IBM with additional functionality, e.g. Mac Notes Client support (no SWT error messages like in the original template) View action to delete selected features from the database (no need to delete all like in the original template) Support for headless builds (automatic generation of update site, e.g. [read] Keywords: agent ibm notes notes client ntf database eclipse mac openntf server
162


Now on OpenNTF: Mindoo XPages2Eclipse - Eclipse APIs for XPiNC applications!
Thu, Nov 28th 2013 12:07p   Karsten Lehmann
I just created a new project on OpenNTF: Mindoo XPages2Eclipse. Our toolkit, which provides extensive Eclipse APIs to XPages developers in the IBM Notes Client (XPiNC), is now available for free! Here is the project description: XPages2Eclipse is a language extension for XPages-development within the Lotus Notes Client Find out how XPages2Eclipse simplifies the development of XPages-applications for the IBM Lotus Notes Client considerably. With the help of this extensive toolkit you w [read] Keywords: domino ibm lotus lotusscript notes notes client symphony xpages application applications css desktop development dojo eclipse integration java javascript linux mac mobile openntf server wiki
146


New on OpenNTF: Plugin to close XPiNC applications from CSJS code / to detect Notes ID changes
Mon, Sep 9th 2013 2:26p   Karsten Lehmann
There is a new project on OpenNTF that I created a few days ago: Mindoo Xulrunner Prefs.js Management Plugin. It's nothing big, only a small Eclipse plugin that can be installed in the Notes Client to manage the preferences of the Xulrunner engine that renders XPages in the Notes Client (XPiNC). The main purpose for this is to set the property "dom.allow_scripts_to_close_windows" to false on a number of machines (the plugin can be deployed via policy). This enables XPages applications to [read] Keywords: ibm notes notes client xpages application applications community eclipse javascript openntf password xml
167


New on OpenNTF: Geospatial indexing for IBM Notes/Domino data
Tue, Jul 30th 2013 5:08p   Karsten Lehmann
Last weekend I created a new project on OpenNTF.org, which is part of a pretty big "pet project" that I have been working on for several month and that will hopefully be ready for primetime someday. My original plan was to submit this pet project for the last XPages development contest, either in addition to or instead of the Mindoo FTP Server, but the project got bigger and bigger over time - and an FTP server was finally easier to polish and explain than my other idea. This idea has to [read] Keywords: domino ibm notes xpages apple applications database development google interface openntf server wiki




168


XSS security fix in Domino R9 HTTP server may break existing web applications
Mon, Jun 3rd 2013 3:36p   Karsten Lehmann
Last week we noticed that two of our web applications did not work as expected after upgrading our servers to Domino R9. We tracked down the issue and found the problem: In one REST API call, we have a query string parameter that contains a Domino fulltext query to filter the entries of a Notes view. Domino now reported that the query syntax was wrong. The same code had worked in 8.5.3. The reason is that the Domino R9 HTTP server contains a security fix to prevent applications from being v [read] Keywords: domino ibm lotus notes application applications javascript security server xml
127


Entwicklercamp 2013 slides about "Dojo 1.8 and AMD" now available in English
Fri, May 24th 2013 12:56p   Karsten Lehmann
My slides about "Dojo 1.8 and AMD" are now available in English. I have updated my original blog article: My EntwicklerCamp 2013 slides: Dojo 1.8 and AMD [read] Keywords: dojo
122


My EntwicklerCamp 2013 slides: Dojo 1.8 and AMD (German)
Wed, Mar 13th 2013 8:12a   Karsten Lehmann
The closing session of EntwicklerCamp 2013 has just finished. Here are the slides for my EntwicklerCamp 2013 session about "Dojo 1.8 and AMD": Download archive: Slides as ZIP-Archive To all English speaking readers: Google Translate is your friend - the slides are in German :-) My plan is to translate them to English though and publish my demos as soon as possible. [read] Keywords: archive dojo google
81


Quick tip: Fixing Dojo drag and drop issues in a Windows 8 VMWare on the Mac
Wed, Mar 6th 2013 11:59p   Karsten Lehmann
I am currently setting up a new dev environment with Windows 8 and Notes/Domino 9 to work on demos for my Dojo 1.8/AMD session at Entwicklercamp next week. To my surprise, I noticed yesterday, that drag and drop operations on Dojo widgets did not work as expected. For example, I could not drag the splitters of a BorderContainer layout widget and the columns of a LazyTreeGrid could not get resized. It seemed as if mouse events got lost, but I only got that effect in Firefox and Chrome. In IE, [read] Keywords: domino notes dojo firefox mac vmware widget widgets




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - Mobile Edition