I needed to quickly make an application available in multiple languages. Luckily I had all strings already gathered in a properties file. So the following things I needed to add:
For the first step Google Translate was my friend. Step two was not so hard either:
So a couple of minutes work and a surprised customer 🙂
In the last webinar around #Domino2025 time was spent on announcing NodeJS to/for/on Domino, a new search engine, NSF improvements but very little was discussed about the AppDev environment.
Today we have XPages as AppDev tool. Nothing about the lifecycle of this was announced. Or embracing an open source UI framework for JSF like Primefaces.
Some words about an “open IDE” environment which might be good to have the option to choose your favorite development environment. But the main problem I have that the whole webinar sounded like a complete U-turn in technology.
What will be your options as a Java developer?
Is there hope that JSF on Domino will be upgraded to a recent version so you can bring in new opportunities to your applications?
What must companies do with their existing XSP applications? Re-write them (again)?
To me it sounded IBM is keeping its hands of from developing and maintaining any development framework. The “traditional” Domino development framework with forms, views, pages, subforms is left dead. The “Web 2.0” Domino development framework with XPages and Java will be left for dead. The only thing that remains is a platform where applications reside, services like mail, replication, http, etc runs on. BUT WHAT ABOUT APPDEV?
I am not aware if there are any drag and drop IDE’s for react or angular but the power to Notes was and has always been rapid application framework. I build applications in close relation to my customer (an IT manager or a LOB manager) which does not have the time or competence to set up and gather all the specifications in front. It is a journey of implementing capabilities and discovering opportunities. I may develop a new idea within an hour or rebuild or remove another idea within another hour.
I heard nothing about this during the webinar!
In a project I am working on I am modernizing a Domino application with XPages and JAVA MVC. To support the workflow in the application a “main” document must have at least 1 approved “sub” document for 9 mandatory areas. These “sub” documents appear then in a Notes view and an agent is keeping the overview if all 9 areas have approved documents .
The selection formula for this view is something as followed:
SELECT Form=”formA” & status=”40″ & notAuthorized = “”
To add a field to a document I normally use ReplaceItemValue as described in the XPages wiki. The Help in Designer says about this method:
Replaces all items of the specified name with one new item, which is assigned the specified value. If the document does not contain an item with the specified name, this method creates a new item and adds it to the document.
So that sounded that I was good to go. Except… the documents created by my script did not appear in my view.
When I compared the documents with ScanEZ / looked at the Document Properties tab / created on output via Document Viewer I could not find an explanation why the documents should not match the View selection formula 😕
Modifying the selection formula to something outrageous like
SELECT Form=”formA” & status=”40″ & notAuthorized != “SOMEOUTRAGEOUSCONDITION”
resulted that the documents appear in the view.
But I would rather like to keep the current data model of the View as is in place so the current code/UI could not become disturbed in any way.
Then I decided to change my code from
Item textItem = doc.replaceItemValue(“notAuthorized”, null);
and I noticed the documents appear now in the Notes View.
When I compare the two methods in the replaceItemValue method the field notAuthorized is empty but has a data-length of 1. In the Item method the field is also empty BUT the data-length is 0.
So something is added to the field. But what?
First I thought perhaps it’s due to the Summary property but in both methods the Summary property set (at least it looks like that).
Here is some more information from Designer Help:
The IsSummary property of the new item defaults to true, which means that the item value can be displayed in a view or folder.
So I am wondering if the replaceItemValue (in Java) is properly setting this property or maybe not?
IBM Domino Applications on Cloud is a subscription service that offers IBM hosted solution for Domino Apps over IBM Bluemix Cloud. The service offers a structured and planned migration process, avoiding business disruptions.
In this session you will be introduced to the offering, how it is structured and works including the pre-requisites, configurations and start-up options.
once super human software, now it seems to be demented 😕
Today I participated in the Domino2025 Jam here in Stockholm. The Jam is organised via a set of workshops around Application Development and Mail & Chat. I will not go into much details to cause a possible spoiler for you but I just want to mention a particular suggestion by an IBM Business Partner.
The suggestion was to tackle all the discussion / lost space / future of corporate mail to simply abandon the area and leave the space solely to the competitor.
What should you think of that? To me it would say that if IBM is not capable of providing a qualitative and competitive solution (mail & calendaring client + server) for Mail I seriously doubt what the capabilities of IBM are.
The Notes client on expeditor has never been the desired success (slow startup, significant code base, complexity to governance in combination with bad or lack of marketing and complexity in the UX) but developing a HTML5 (Domino) Mail client with a ID vault to ensure encryption would be doable right?
This would prevent the competitor to walk freely through the door of every customer and spreading their other competitive products. It is also a slap in the face for customers who have invested heavily in the IBM portfolio.
The idea to separate Mail from the Applications I believe is a widely accepted alternative future for the client.
Domino has some excellent goodies regarding mail & calendaring. A too big waste to throw overboard that easily. But that is not what this business partner specialized in migration wants to broadcast via these DominoJams.
So be alert!
Thank you IBM for the invitation and gathering awareness of the continuity of the Notes/Domino roadmap.
With a couple of days left to a DominoJam here in Stockholm was thinking what I think is really desired (perhaps needed) at the moment for development in IBM Notes.
Perhaps besides a stable and enhanced Domino Designer (hint) I would probably benefit most from a real appstore for Domino. With appstore I mean some sort of updatesite provided by IBM.
We all use the extension library in some form, if it the version that is shipped with the Domino server in form of an feature pack or a version that is available via OpenNTF.
Can you imagine starting a project WITHOUT that library nowadays? So this is a practical example of something that is good ON TOP of the Domino server when using it as an APPLICATION DEVELOPMENT platform, so MORE THAN JUST EMAIL.
In the beginning I heard several administrators and hosting companies (including IBM) complaining that they was no guarantee on the library. Well I do not know how many crashed servers you have had due to that extension but I can not remember a single one.
So if IBM would somehow guarantee the quality of plugins on that appstore (do some quality- & security checks and some code review) and there is hardly no argument for administrators not to install of plugins from that appstore (in Production).
An easy install from the Domino console (similar to npm – install) and voila! a plugin is installed. For paid plugins you should provide somehow a registered IBM account (you know how to bill us).
It would also could make Domino more attractive to developers if plugins could become available with a reasonable price (you do the suggestion here).
I do not think that the amount of plugins on the appstore will so overwhelming (lost opportunity?/not the most important) but at least the threshold to have the ability to extend the Domino server for your development projects is much less.
Good initial candidates for the store are:
My apologies if there are OpenNTF projects that I have been using during the years and do not appear in my list. Perhaps some projects could be split up in several projects with dependencies.
My goal would be a quicker, easier, latest (update) installment of stable and secure plugins and perhaps a wider range of offerings. This would enable me to quicker adapt new technologies and perhaps trigger myself to learn how to write an extension one day.
Ending with an adapted famous movie quote:
All right, plugins, plugins, plugins! Come on in plugin lovers! Here at the Titty Twister we’re slashing plugins in half! Give us an offer on our vast selection of plugins, this is a plugin blow out! All right, we got white plugin, black plugin, Spanish plugin, yellow plugin, we got hot plugin, cold plugin, we got wet plugin, we got smelly plugin, we got hairy plugin, bloody plugin, we got snappin’ plugin, we got silk plugin, velvet plugin, Naugahyde plugin, we even got horse plugin, dog plugin, chicken plugin! Come on, you want plugins, come on in, plugin lovers! If we don’t got it, you don’t want it! Come on in, plugin lovers!
Or more decent (from a colleague) :
When you roast old bread it becomes tasteful again.
Happy DominoJam 🙂
I received an invitation from IBM to participate in the think-group around IBM Domino and Notes in Stockholm at 6 December.
Perhaps I see you there?
Today I lost a complete development day due to errors related to DDE. After building a project I constantly get errors as followed:
HTTP JVM: com.ibm.xsp.webapp.FacesServlet$ExtendedServletException: javax.faces.el.EvaluationException: java.util.MissingResourceException: Can’t find resource for bundle java.util.PropertyResourceBundle, key strings
HTTP JVM: java.lang.SecurityException: Error verifying signature for resource WEB-INF/classes/se/acme/namis/app/Application.class. For more detailed information, please consult error-log-0.xml located in E:/IBM/Domino/data/domino/workspace/logs
The way I am forced to work now is to clean the project, build the project, sign the complete database, PRAY.
Is there no way to build an XPages project OUTSIDE of DDE?
This is no workable way of developing anymore.