Fulltext searching in Domino is often a great way to find documents. Searching for information in documents is quite straight forward. Until you want to search for dates in web applications. If you have an web application in XPages and want to search for documents created after a certain date. You can write a query like this
But what if you users has an english locale with a date format like this mm/dd/yy and the user enters the date from a date field in an xpage.
Is it the user locale / server locale or what is the date format you should use?
============= UPDATE ================
I got an private email from a guy called Timothy Briley saying that the way to move forward when creating multi locale fulltext searches is to always get the retult from the DateOnly property on the NotesDateTime object. I haven’t tried it yet but it sounds reasonable
Today Google released Chrome 48 and has deprecated RC4 as encryption protocol because it’s broken.
This means that if you have an older version of Domino that doesn’t support some other encryption protocol for https.
Domino 9.0.1 FP4 or FP5 will give you the support you need to use updated protocols.
And I really hope Google would implement the Swedish error page for everybody
And if you need help contact me.
I posted some common string functions that I’ve been using alot during the years in @formula, lotusscript (strleft, strright, strrightback, strleftback) and later in SSJS. So I thought that I need them in Java too. There might be some features like the one with dot in the replacesubstring function, feel free to comment so will I fix that 😉
Hope you find it useful.
We have all been living with the Mailbox in the IBM Notes client but because I work with lots of different clients I rarely use my own id. Therefore my main mail client has been iNotes / IPhone mail thru Traveler / Verse iPhone app. But when I upgraded my machine to Windows 10 and the Traveler server to the latest version I found that it works great to use the Traveler mail with the Windows 10 built in mail and calendar client.
Yes it’s a bit limited, mostly that you can only have one email open at a time. You can’t use Outlook because that client is blocked on the Traveler server, probably because some advanced communication that the Outlook client uses. Hopefully they will release that support at IBM Connect this month.
So if you haven’t tried it yet and have a Traveler version that supports the Verse client you can try it you self. Feel free to make a comment on you experience and use of other clients against the Domino server.
The standby widget snippet has need around for a while and doing it’s job in lots of my projects but now more and more of my projects is using bootstrap. So then there was time to also change the standby widget to support bootstrap. This is the first version that will give you a responsive standby “loading” indicator.
Download the updated version here
I usually write a little post about what I would like to see an announcement about in January
- XPages for Bluemix leaves experimental hopefully goes Gold.
So we can use it in production
- Lowering the price for data cache used when scaling XPages applications in Bluemix
pricing today is a joke, data cache cost almost equal to a full instance. So if you want to scale into more instances you have to pay double the price of the instance.
- NSF database enhancements both functionality and speed
Move indexes out of the database, joins, better and faster fulltext search
- Data service for IBM Cloudant directly in XPages
Leverage the full potential of Bluemix directly inside XPages
- Database converter from NSF to Cloudant
Cloudant is almost the same as an NSF database but with more speed and without the need to a Domino server
- IBM Verse replaces iNotes as webmail client
The customers need something new and fresh
- Public release of Outlook as a mailclient thru traveler
- Java 1.8 support for XPages
- Domino Designer becomes a Eclipse plugin
Yes please, let’s get rid of the old version of eclipse and give us access to everything new and the possibility to upgrade it. and have several versions on the same machine.
You can probably think of more things you would like feel free to make a comment
Today I had a strange issue on an XPage application I was working on I it didn’t matter where I clicked
my button on the form got clicked. Very strange. First thing I started to look for was if I had some onClick event that was bind wrong. Nope that wasn’t the case.
Then I went over to the client side and thought I could find what event listener that was making the call but this doesn’t say anything to me.
Then I started to look at the XSP.Attachevents at the bottom of the xpage
But if you have a large xpage and 20 events attached to it, it’s hard to find what is what. The my suggestion is give you components real names. And it was then I found the problem.
Can you spot the difference
The working client side code
This this the XPage with the faulty code
Don’t scroll more spoiler alert
Yes, the partial event listener is bound to an object that doesn’t exist view:_id1:_id5
why you might ask, I found that this happens if a button don’t have a name and is set to do a partial refresh.
Then you will get that you will click the button where every you click on the xpage. Hopefully fixed in a future release with an error or a correctly generated id.
With these simple steps your can actually start to publish xsnippets or projects to OpenNTF.org
- Sign up for a User account on openntf.org HERE
- Fillout the user Individual Contributor License agreement
- Print the Form and sign it
- Scan it to PDF and send it to ipmanager at openntf com
Your are done, Congrats. Once your are approved, your can contribute fully to OpenNTF Projects.
If you need any assistance contact me and I will help you.
You Bluemix XPage server can interact with other services using the VCAP_SERVICES where all the credentials for contacting other services is stored. This JSON data can be retrieved using
var services = fromJson(bluemixContext.getVCAP_SERVICES());
This will give you a direct access to the connected services credentials and exposed information, the credentials is what I have found updated each time you deploy a new version of you code so you need to use this way to get the credentials.
If you login to your Bluemix dashboard and click on your XPage service icon, you’ll find environment variables in the left hand navigator. This will display the structure of the VCAP_SERVICES JSON data check it out.
Most of the services has different methods of accessing them, I’m still investigating how to use different services and future posts will show how to use Bluemix services using XPages
When you want to deploy your app to the real world a mybluemix.net adress might not be the best you probably want your own domain added. Fortunately this is very simple to do with Bluemix.
Click on the settings icon in the top right corner on your Bluemix Dashboard and select Edit Routes and App Access.
Click on Manage Domains
Click on Add Domain
Write your custom Domain name and press Save
an upload SSL Certificate appears and if you want to accept SSL to you application, you need to upload a certificate to your application.
Add your CRT file i the Certificate file upload control and your Key File and password in the next two fields. And press Upload.
Now you are almost done.
Go back to the first screen
your new domain will now show up as an option instead of mybluemix.net
There are several options too create a SSL cert but for test purposes I use https://www.startssl.com/ it’s a great way to create a free SSL cert or your can get a great price from Digicert that I use for all my professional certs