| Recent Blog Posts
How to become an active member of OpenNTF.org|
Mon, Sep 28th 2015 3:19p Fredrik Norling
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.
First step how to interact with other Bluemix services|
Sun, Sep 6th 2015 4:40a Fredrik Norling
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 log
How to add your custom domain to your Bluemix app|
Mon, Jul 20th 2015 6:39a Fredrik Norling
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 uploa
Is it possible to kill a XPage for Bluemix instance if it’s gone none responsive|
Thu, Jul 16th 2015 2:53a Fredrik Norling
I have seen more than once both of own and other developer experience that a loop in XPages gone bad and you have to kill the server. How can this kind of behavior be fixed in XPages for Bluemix will the dashboard work to “kill” the server?
See the answer
Also see my XPages for Bluemix the questions post lot’s of questions is updated with answers
XPages for Bluemix – The questions|
Mon, Jul 13th 2015 5:15a Fredrik Norling
When I started to try out XPages for Bluemix I started to create a list of questions for the future because this is in Beta and between now and Gold release some of this questions would be good to have an answer on.
What release cycle could we expect to get for the XPages runtime, in relation of getting new versions of extension library and functionality
Is it possible to install your own OSGI plugins like Debug Toolbar or the OpenNTF Domino API
How do we run scheduled code that we have runned
XPages on Bluemix a first look deploying app|
Mon, Jul 13th 2015 4:32a Fredrik Norling
On friday the XPages runtime on Bluemix was released and also the new version of OpenNTF Extension library that enables to work with.
My first impression is that it works great I haven’t had time to do any deep diving into the new possibilities but I thought I should share as long as I have tried it.
To get it to work you need a bluemix account and install the latest extlib into you designer client when you done that you will get a new entry in your preference in the designer.
I have sel
Xpages on Bluemix|
Sat, Jul 11th 2015 8:40a Fredrik Norling
Finally did the beta arrive and I wasn’t dissapointed. Setting up the web start app was very simple, a few minor things but no error.
Deployment takes very long and the bluemix dashboard log says started but overall status say not started. Should say starting
Before deploying remember to sign databas otherwise you will get an error
You need to manually setup connection to backend database.
But overall great first release will be fun to see what the future will give us.
IBM Domino and Java problem with old applets|
Mon, May 25th 2015 9:35a Fredrik Norling
All the old Java applets that is YES in some old apps not yet converted used got another problem today. They are now blocked by Oracle because the code signing certificate is outdated, it seams like when they where updated to work with Java 1.7 45 the person who resigned them did that with an old certificate and now that cert is outdated and has been so for 1 month. If IBM or you want to keep track on when your code or SSL certs exires QNova Systems contract management system works really gre
Moving on with Excel Export part 6 : But now we Import|
Fri, May 1st 2015 4:13a Fredrik Norling
The previous 5 steps in this series (part 1 part 2 part 3 part 4 part 5) has been getting data out to excel in different ways this part will show you how to get data back into Domino again thru your XPage, this will give you the possibility to roundtrip data handling. Export all customers mark the rows you have changed and re import the data. Because Apache POI is installed on the server as an OSGI we have access to these classes in all java code on the server and that is what I’m going t
Moving on with Excel Export part 5 : XPages Export|
Sun, Mar 29th 2015 2:27p Fredrik Norling
In the previous parts (Part 1 Part 2 Part 3 Part 4) we covered plain export, styling your exports and doing selective exports. Today I want to show you how to create more advanced and flexible way to get your data using a java object that we use for the export.
We start by creating 2 java classes one for the export and one of the Export Data
Then in each class add implements Serializable and the private variable on the row below. This is so the java VM can swap the data out disk if needed.
Moving on with Excel Export part 4 : XPages Export|
Wed, Mar 18th 2015 2:38p Fredrik Norling
The recent parts of this series has shown you how to create excel exports from a view and also changing the layout of the reports with headers and logos. This post will show you how to filter the data in your excel reports both using keys and fulltext searches. Let’s get started.
To get some filtered export we add an combobox into our XPage and in this case to show both a Export with a key and search we have two buttons for the different export options.
The code behind the com
Moving on with Excel Export part 3 : XPages Export|
Thu, Mar 12th 2015 6:20a Fredrik Norling
Making you report look a bit nicer with some formatting.
Excel reporting from views can be so dull and boring the XPages for POI can give you more options in this matter and help you create some design to your report.
1. Customizing your template
Because POI is using a copy of you template you can customize your temple with logos and predefined information.
We need to import this new template and change the startRow and template name
In this case we start at row 12 below the logo and
Moving on with Excel Export part 2 : XPages Export|
Tue, Mar 10th 2015 4:38a Fredrik Norling
In my last post I wrote about how to in some simple steps generate an automated export of an view to excel. In this post I will show you how to fine grain this using the excel component instead.
Start by creating a blank excel file note what the sheet you want to place data on is called usually Sheet1 if you have an english version of Excel. Save and import it as a file resource in the database, name it export.xlsx
Now create a new XPage add a button and the Excel component POI Workbook
If your user want reports in Excel you should read this|
Mon, Mar 9th 2015 5:23p Fredrik Norling
XPages did get a great addon more than a year ago to be more exact 13:th of September 2013. It was when C
hristian Güdemann uploaded the first version of POI for XPages. Apache POI is a rather old apache project, 13 years to be exact. And there have even been a Notes in 9 show by Paul Calhoun on how to use the standalone version of Apache POI.
But Christians version makes everything that much simpler to get the Excel file out to the end user, start by going to poi4xpages.openntf.org/ or ess
News from IBM ConnectED15|
Mon, Jan 26th 2015 7:30p Fredrik Norling
Some of the news from IBM Connect
IBM releases early access to IBM Verse. http://ibm.co/1BfM4S1
IBM Verse will come an an Domino solution for on premise deployment later this year
The Domino HTTP engine will get more updates that the previous released updates with SHA2 and TLS 1.0
It will get new HTTP security options as TLS 1.2, PFS and AEAD
the IBM HTTP server addon released with Domino 9 will be deprecated
The NSF Datastore will get updates that we have all wanted for a long time.
Part 2 of Partial Refresh in Notes Forms|
Sun, Jan 25th 2015 10:53a Fredrik Norling
2014 a year of change|
Wed, Dec 31st 2014 1:59p Fredrik Norling
Looking back at 2014, I see the year that XPages really got accepted as the primary language for Domino.
IBM Bluemix got launched and the response was no XPage support in Bluemix, but in the last 2 months we saw that IBM had changed their minds and now there are talking of some kind of support for xPages apps in Bluemix. Great IBM that will get the community to start using the service even more if you can deploy your apps in a real scalable App Engine. The Domino OpenNTF API, evolved and have l
Holiday Hack: Get some XPage power in old Notes apps|
Wed, Dec 31st 2014 3:23a Fredrik Norling
One of the great things with XPages is the partial refresh that help you to update information inside the page without a full reload of the page. Well that is not possible with older notes applications because it does a full roundtrip to the server each time we change something. But we can update the screen without the users notice it with ajax. What I did was create a copy of the main js function that Domino uses _doClick and replace that with my own copy of that function in onload.
Setting up a sFTP server to be used with an existing Domino SSL certificate|
Mon, Dec 8th 2014 11:51a Fredrik Norling
With the new way of creating SSL certs for Domino a new opportunity occurred to me and actually it worked great. Because we create the certificates using OpenSSL the generated Key and certificate can actually be used on the same server to setup a sFTP server. Saidly because the Domino FTP server on OpenNTF.org doesn’t support sFTP I had to use the FileZilla server the setup was super simple.
Run the setup
go into settings and enable FTP over SSL select your .Key file and your certificate
Some performance tips for your Domino / XPages servers|
Thu, Nov 20th 2014 7:33a Fredrik Norling
When your applications has grown very big you might face a problem with performance in this case I had a customer with quite a large crm system that in some cases got very high disk io but the cpu didn’t spike.
neither did the memory almost 50% not used by the system.
So what I did was I increased the memory available for the XPage runtime JVM using HTTPJVMMaxHeapSize
and to get get better database performance I increased the database IO buffers using
also using cac
How to get plugins working again after installing 9.0.1 FP2 IF2|
Wed, Nov 5th 2014 7:54a Fredrik Norling
The new IF2 for fickpack2 in the Client seams to mess up the locally installed plugin in the Designer client somehow. But there is an easy fix to that.
Close down the client and navigate to the workspaceapplicationseclipse folder and delete everything in it (You should probably make a backup before )
restart the designer and go into File – Application – Install
Select the “Search for new features to install” option and click next
Sorry Samsung, Apple you’re wrong|
Sun, Oct 19th 2014 3:14p Fredrik Norling
Samsung, Apple and the Peddle smart watch everybody seams to releasing watches now but how smart is these watches. They have displays, and different kinds of sensors, but smart, I don’t know. They are only an extension of the phone. because you need the phone for them to work.
Then I watched one of the keynotes from Dreamforce 14
And saw the new cuff phone smart watch PULS created by Will I AM this might not be the best product but the way is the correct one. Create the smart device and p