Saturday, 30 July 2016

Notes Domino 9.0.2 and Notes Domino 9.0.1 Fix Pack 7


The next release of Notes Domino will not be the long-awaited Notes Domino 9.0.2 release but the Notes Domino 9.0.1 Fix Pack 7 release, which is scheduled for September (details available in the Fix List).


Positive news is that there will be an official announcement by IBM in September 2016 with an update to the lifecycle policy for IBM Notes and Domino 9.0.x. So maybe there will be an announcement for the long-awaited release of Notes Domino 9.0.2.
IBM remains committed to Notes and Domino and has recently released additional functionality, including IBM Client Application Access and IBM mail support for Microsoft Outlook.  IBM also plans to release IBM Verse On-Premises later this year.
For more information: Update coming soon to the lifecycle policy for Notes & Domino 9.0.x

New Notes Domino - XPages - Web Developer Position

Time moves on and the possible end of my current temporary Notes Domino - XPages - Web Developer project is approaching. At the moment I am therefore looking for a new job as a Notes Domino -  XPages - Web Developer.



During the past year I was mainly occupied with classic Notes Domino development, XPages and Front-End Web development. Throughout the past few years I gained a lot of experience with, among others, HTML (5), CSS, Java, JavaScript, jQuery, SQL, XML, LotusScript, Formula Language, JSON and XSP. Furthermore I have a lot of experience with REST services, Git, Source Tree, Node, Bower and Bootstrap.
Currently I am also Moderator of the Google+ XPages Community and Curator of Collaboration Today.
You can find me on the Social Media as well, Twitter, Google+, XPages and More and Acclaim.

At the moment I'm open to a new challenge as a (Web) Developer. So hire me!
For further information please look at my LinkedIn profile.

Monday, 25 July 2016

XPages Tip: XPages Extlib DataView Control sets “display:none;” style when Extra Column has Empty Value

Last week I came across an very annoying problem with the DataView from the OpenNTF XPages Extension Library. In a new XPages Application the DataView from the XPages Extension Library (Release 16) is used to display the data. The DataView contains a Summary Column, a Category Column and some Extra Columns. In the DataView some of the Extra Columns have no default values and are, if no values are entered in these fields, 'empty' Columns. The XPages Application uses Bootstrap 3 as Application Theme.



The problem with the empty Extra Columns in the DataView from the OpenNTF XPages Extension Library is that these Columns are rendered with the style="display:none;". This also means that the values of the remaining Columns shift in the DataView.



Below an example of the DataView from the XPages Extension Library in case
one or two Extra Columns are included with an 'empty' value. The values of the remaining Extra Columns shift in the DataView.



There are some 'solutions' available for instance by adding a Custom Converter to the Extra Columns and replace the empty value by a space. My preference goes out to a CSS solution which needs to be implemented only once in the XPages Application by adding the following line in a styleSheet (custom.css):

.table > tbody > tr > td   {
display: table-cell !important;
}

The final result is that the empty Extra Columns are displayed in the DataView and the
Extra Columns not shift anymore.



Perhaps this can be solved in a future release of the XPages Extension Library.

Wednesday, 20 July 2016

Quick XPages Tip - XPages ViewPanel Hide Empty Start and End Rows using CSS

Last week I was faced with an annoying problem with the presentation of a simple XPages View in an iframe on an IPad. In this case I was only using a simple ViewPanel. As Application Theme I used Bootstrap 3. In the View properties I disabled the Pagers for the Header and Footer. However, when displaying the view in the browser there always were unnecessary empty leading and closing rows generated around the ViewData. So I posted a question on Stackoverflow. Below the simple code of the XPage with the ViewPanel.

Code XPage
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
<xp:panel>
<xp:viewPanel id="viewPanel1" rows="5">
<xp:this.data>
<xp:dominoView var="view1" viewName="Contact"></xp:dominoView>
</xp:this.data>
<xp:viewColumn columnName="firstname" id="viewColumn1">
<xp:viewColumnHeader value="First Name" id="viewColumnHeader1">
</xp:viewColumnHeader>
</xp:viewColumn>
<xp:viewColumn columnName="lastname" id="viewColumn2">
<xp:viewColumnHeader value="Last Name" id="viewColumnHeader2">
</xp:viewColumnHeader>
</xp:viewColumn>
<xp:viewColumn columnName="Subject" id="viewColumn3">
<xp:viewColumnHeader value="Subject" id="viewColumnHeader3">
</xp:viewColumnHeader>
</xp:viewColumn>
</xp:viewPanel></xp:panel>
</xp:view>

Displaying the XPage in the browser an empty leading and closing row were generated around the ViewData.


There is a very simple solution for this problem using a styleSheet.
First create a new stylesheet (or add the line below to an existing stylesheet) and enter the following line in the stylesheet:

table.viewClass > tbody >tr:first-child, table.viewClass > tbody > tr:last-child {display: none;}

In the All properties section of the ViewPanel add the CSS class (viewClass) in the viewStyleClass (last one of the Styling Section).


Add the styleSheet to the Custom Control or XPages and the empty leading en ending row will now be 'hidden'.

<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
<xp:this.data>
<xp:dominoDocument var="document1" formName="Contact"></xp:dominoDocument>
</xp:this.data>
<xp:this.resources>
<xp:styleSheet href="/viewheaderfooter.css"></xp:styleSheet>
</xp:this.resources>
<xp:panel>
<xp:viewPanel id="viewPanel1" rows="5" viewStyleClass="viewClass">
<xp:this.data>
<xp:dominoView var="view1" viewName="Contact"></xp:dominoView>
</xp:this.data>
<xp:viewColumn columnName="firstname" id="viewColumn1">
<xp:viewColumnHeader value="First Name" id="viewColumnHeader1">
</xp:viewColumnHeader>
</xp:viewColumn>
<xp:viewColumn columnName="lastname" id="viewColumn2">
<xp:viewColumnHeader value="Last Name" id="viewColumnHeader2">
</xp:viewColumnHeader>
</xp:viewColumn>
<xp:viewColumn columnName="Subject" id="viewColumn3">
<xp:viewColumnHeader value="Subject" id="viewColumnHeader3">
</xp:viewColumnHeader>
</xp:viewColumn>
</xp:viewPanel>
</xp:panel>
</xp:view>

The final result in the browser.


There are other solutions like using a theme but for me this solution works great because I always use styleSheets in my XPages Applications. Thanks to Renaud ThiĆ©vent for the CSS solution.

Wednesday, 13 July 2016

IBM Traveler 9.0.1.12 Now Available for Download on IBM Fix Central

An upgrade package for IBM Traveler 9.0.1.12 server is now available on Fix Central.
A full installation package will be available on Passport Advantage by July 21, 2016. Relevant links are included below, including links to two new  Security Bulletins that were released today in conjunction with 9.0.1.12.
Below the Fix List for IBM Traveler 9.0.1.12 server.


Links for more information about IBM Traveler 9.0.1.12 server
List of APAR fixes
Fix Central Download link


9.0.1.12 Release Notes
Passport Advantage part numbers
Security Bulletin: XML External Entities Injection Vulnerability in IBM Traveler (CVE-2016-3039)
Security Bulletin: IBM Traveler installer impacted by vulnerability in InstallAnywhere (CVE-2016-2542)

Sunday, 3 July 2016

Quick IBM Notes - XPages Tip: Comparing, Replacing and Restoring Design Elements with Local History using the Text Compare Editor in Domino Designer

Last week something went completely wrong with some resources (design elements) in a modified design of an XPages application. Luckily Domino Designer has a very powerful feature, Local History. A standard Eclipse functionality of extremely great value. By using the Compare, Replace and Restore Resources functions with Local History using the Text Compare Editor the problems were quickly resolved. Below is a brief description of this very powerful feature in the Domino Designer.

A local edit history of a resource (design element), for example a Notes form, Custom Control or an XPage, is maintained when a resource is created or has been modified and saved. Each time a design element is modified and saved, a copy is saved so that the current design element can be replaced or restored with a previous edit or delete. It is also possible to compare the contents of all the local edits. Each edit in Local History is uniquely represented by the date and time the design element was saved. Only resources (design elements) have a local history; projects and folders do not.

Local History Settings
The Local History default settings can be modified by selecting Preferences - General - Workspace - Local History in the Domino Designer (DDE).


Comparing resources with Local History
To compare a design element (unmanaged Workbench resource) with a state in the Local History the following steps can be executed:
In one of the Navigation Views, select the design element (resource) that you want to compare with a local history state, for example a Custom Control or an XPage.
From the resource's pop-up menu, select Compare With > Local History. The Compare with Local History page opens.


Select a state in the Local History List


The Text Compare Editor opens.


Options Text Compare Editor
Click the Select Next Change and Select Previous Change buttons to browse the changes made between the state in the local history and the Workbench resource.
Copy all Non-Conflicting Changes from Right (Local History) to Left.
Copy Current Change form Right to Left
Next Difference
Previous Difference
Click OK when you are finished.

Replacing a resource with Local History
To replace a design element  with a state in the Local History the following steps can be executed: 
In one of the Navigation Views, select the design element (resource) that you want to replace with a local history state. From the resources pop-up menu, select Replace with > Local History. The Replace from Local History page opens.


Select a state from the Local History List. The Text Compare Editor opens.


Select the state you want to replace, and click Replace.

It is also possible to restore deleted design elements from local history. From the resource's pop-up menu, select Restore from Local History. The Restore From Local History dialog opens showing all files that were previously contained in the selected folder or project and all of their sub-folders.


So there is an easy way in the Domino Designer to compare, replace and restore one or more design elements with Local History in case something went completely wrong in the application design.

Saturday, 2 July 2016

Domino 9.0.1 Fix Pack 6 Interim Fix 2 available for download on IBM Fix Central


Security Bulletin: IBM Domino is affected by an XStream XML information disclosure - CVE-2016-3674 (technote 1985960).
IBM Domino includes a version of XStream which could allow a remote attacker to obtain sensitive information, caused by an error when processing XML external entities.


Vulnerability Details
CVE-ID: CVE-2016-3674
Description: XStream could allow a remote attacker to obtain sensitive information, caused by an error when processing XML external entities. By sending specially-crafted XML data, an attacker could exploit this vulnerability to obtain sensitive information.
CVSS Base Score: 5.3 
CVSS Temporal Score: for more information  https://exchange.xforce.ibmcloud.com/vulnerabilities/111806 
CVSS Environmental Score*: Undefined 
CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)

Affected Products and Versions
  • IBM Domino 9.0.1 FP6 IF1 and earlier releases 
  • IBM Domino 9.0. IF4 and earlier releases
  • IBM Domino 8.5.3 FP6 IF13 and earlier releases
  • IBM Domino 8.5 release

Remediation/Fixes


More information : Security Bulletin
Fix Central Download Link: Domino 9.0.1 Fix Pack 6 Interim Fix 2

Customers who remain on the following releases may open a Service Request with IBM Support and reference SPR KLYHA8XLA2 for custom fixes.
  • IBM Domino 9.0.1 FP6 IF1 and earlier releases
  • IBM Domino 9.0 IF4 and earlier releases
  • IBM Domino 8.5.3 FP6 IF13 and earlier releases
  • IBM Domino 8.5 release

Get Notified about Future Security Bulletins
Subscribe to My Notifications to be notified of important product support alerts like this.