Thursday, 30 March 2017

Replay IBM Presents the IBM Notes Domino Roadmap and a Deep Dive into Feature Pack 8


On March 28th a very interesting webinar was organized by T.L.C.C and Team Studio, IBM Presents the Notes/Domino Roadmap and a Deep Dive into Feature Pack 8, by Barry Rosen (IBM), Adam Kesner (IBM), Martin Donnelly (IBM) and Brian Gleeson (IBM). For those who missed this webinar below the content, slides and video.
This webinar encompasses two sessions presented at IBM Connect 2017. Adam Kesner and Barry Rosen from IBM review the latest updates on Notes/Domino and discuss the future directions and support for Notes/Domino and deliverables over the coming 12-18 months while IBM moves to a continuous delivery model. Then, Martin Donnelly and Brian Gleeson from IBM take a deep dive into the key features delivered in Feature Pack 8 including how to use the new encryption capabilities, improvements to Domino Designer, and more!

Content Webinar
Join us as IBM presents the plan for IBM Notes and Domino. This webinar will encompass two sessions presented at IBM Connect 2017!
Adam Kesner and Barry Rosen will review the latest updates on Notes/Domino and discuss the future directions and support for Notes and Domino and deliverables over the coming 12-18 months, as IBM moves to a continuous delivery model. Then Martin Donnelly and Brian Gleeson will take a deep dive into the key features delivered in Fix Pack 8 including how to use the new encryption capabilities, improvements to Domino Designer, and more!

Missed a Webinar? Look here for the recorded webinars.


Friday, 17 March 2017

SSJS Editor intermittently fails to open in Domino Designer 9.0.1 Feature Pack 8



In case you missed it, there is a problem in the Domino Designer after installing Feature Pack 8. Below the description of IBM Support.

An intermittent problem has been introduced in Domino Designer 9.0.1 Feature Pack 8 that causes a failure when opening the SSJS editor. This problem affects only applications that contain a managed bean.
This issue is being tracked as SPR LHEYAKBJSQ. As a workaround, users can perform a full clean/rebuild of the application and then use the SSJS editor. Note: The problem may reoccur when the application is closed and then reopened.
For more information : IBM Support

On the short term there will be a fix for this issue as indicated by Martin Donnelly
as a response to my tweet earlier today.

Tuesday, 14 March 2017

IBM New Way to Learn 2017 - Installing Browser Dependencies in XPages Applications



New Way to Learn is a comprehensive program of enablement for IBM Business Partners to get the skills and experience they need to be successful delivering, supporting and designing solutions on IBM's Collaboration Solutions platforms.
Last year I participated as an IBM Champion to this great IBM program with a webinar on Bootstrap Plugins in XPages. This year I will return with a session on installing browser dependencies in XPages Applications using Node, Git Source Tree and bower / bower installer.

The session will be a full demo session about installing browser dependencies, like Select2 and Bootstrap DateTimePicker in XPages Applications using Node, Git, SourceTree and Bower. Also several examples of working browser dependencies will be shown after installing the dependencies in an XPages Application. There will be special attention to get only the files you really need in your XPages Application and not the complete repositories of the dependencies so you always have a nice and clean design with a better performance. Further there will be solutions for the bower_components directory in the On Disk Project and how to use gitignore files to get the best results. This session will show the benefits of a good Package Manager for the web and how to use it in the best possible way in Notes Domino and XPages.
My session is scheduled on May 30th.
The full schedule of sessions can be found in the NewWayToLearn Community.
The sessions will be available for download as MP4 recordings and we will also share the corresponding presentations as PDF documents.

New Way to Learn will return on April 17th 2017 with a full curriculum of enablement on sales, technical, development and strategy around all aspects of IBM Collaboration Solutions.
The 2017 program has specific sessions allocated for IBM Champions and Business Partners to present on topics they are passionate about. You'll get 45 minutes to deliver a webinar, professionally hosted by an IBMer on Cisco Webex. We'll make the recording available to you for you own purposes. If you would like to participate, please contact Amanda Bauman (IBM Champions) or Aurore Marie-Achour (IBM Business Partners).


IBM Presents the IBM Notes Domino Roadmap and a Deep Dive into Feature Pack 8

On March 28th a very interesting webinar will be organized by T.L.C.C and Team Studio, IBM Presents the Notes/Domino Roadmap and a Deep Dive into Feature Pack 8, by Barry Rosen (IBM), Adam Kesner (IBM), Martin Donnelly (IBM) and Brian Gleeson (IBM). The registration for this webinar is not yet available on the T.L.C.C website.



Content Webinar
Join us as IBM presents the plan for IBM Notes and Domino. This webinar will encompass two sessions presented at IBM Connect 2017!
Adam Kesner and Barry Rosen will review the latest updates on Notes/Domino and discuss the future directions and support for Notes and Domino and deliverables over the coming 12-18 months, as IBM moves to a continuous delivery model. Then Martin Donnelly and Brian Gleeson will take a deep dive into the key features delivered in Fix Pack 8 including how to use the new encryption capabilities, improvements to Domino Designer, and more!

For more information: XPages Webinar Series with TLCC and Teamstudio.

Missed a Webinar? Look here for the recorded webinars.

XPages Tip: Hide Elements from Printing on an XPage using CSS



For an XPages project I was asked whether it was possible to print only the viewPanel on an XPage and not all other elements such as an iframe and a widgetContainer by making use of a print button with a simple window.print() function. A good practice in this case is to use a style sheet specifically for printing and and set it's media attribute to print.

<xp:styleSheet href="/print.css" media="print"></xp:styleSheet>

Using the CSS @media rule it is very easy to initially add a class 'no-print' with display:none !important. This class can then be used to hide the elements which should not be printed.
To hide the header and footer which contains the page title, file path, page number and date @page can be used with the setting 'margin:0'. Since the contents will extend to page's limits, the page printing header/footer will be absent. in this case some margins/paddings in the body element should be set so that the content won't extend all the way to the page's edge. This works in Chrome and Firefox but not in Internet Explorer.
To avoid additional print-out of link information in the output the last rule in the CSS file below can be added to the @media print section:

The CSS file looks like this.

@media print
{  
    .no-print, .no-print *
    {
        display: none !important;
    }
}
@page {
    size: auto;   /* auto is the initial value */
    margin: 0;  /* this affects the margin in the printer settings */
    body { margin: 1.0cm; };
}
a:link:after, a:visited:after {
    content: "";
}

On the XPage it is now possible to use the class 'no-print' to 'hide' the specific element from printing.

<div class="no-print">
<xp:panel>  
<div class="video-container">
<iframe width="560" height="315" src="https://www.youtube.com/embed/O3Xfd3Xyz8g?autoplay=1;controls=0;loop=1;playlist=O3Xfd3Xyz8g"
frameborder="0" allowfullscreen="">
</iframe>
</div>

The above is a quick solution by making use of a stylesheet on the XPage.

Monday, 13 March 2017

IBM Notes Tip: Export Data to Excel (CSV) using LotusScript Agents


During the past period I received several questions how to export all Notes data corresponding to a specific Notes Form to Excel (CSV) using a LotusScript Agent. In the example below a possible solution to export all data associated with a specific Notes Form to Excel using a LotusScript agent. In the second example a possible solution to export all data from all forms in the Notes database to Excel using a LotusScript agent. For each form a separate Excel file will be created.
Preview on GitHub Gist : Export Form Data to Excel(CSV) and Export All Data to Excel (CSV)

A. LotusScript Agent Export Data based on FormName

Sub Initialize
Dim session As New NotesSession
Dim db As NotesDatabase
Dim fileName As String
Dim fileNum As Integer
Dim headerstring As String
Dim values As String
Dim selection As String
Dim collection As NotesDocumentCollection
Dim doc As NotesDocument
On Error Resume Next
Set db = session.CurrentDatabase
ForAll form In db.Forms
If IsEmpty(form.Fields) Then
MessageBox form.Name & " has no fields"
Else
'Export Form
Dim fieldcount As Integer
Dim msgString As String        
If form.Name = "FORMNAME" Then          
fieldCount = 0
msgString = ""
fileNum% = FreeFile()
fileName$ = "c:\temp\export\" & form.Name & ".csv"
Open FileName$ For Output As fileNum%
ForAll Field In form.Fields
msgString = msgString & Chr(10) & _
"" & Field
fieldCount = fieldCount + 1
headerstring=headerstring & |"| &Field &|",|
End ForAll
Write #fileNum%,  |",| & headerstring & |"|
headerstring=""
Else
End If
End If
selection = |Form="| & form.Name & |"|
Set collection=db.Search(selection, Nothing, 0)
Dim newvalue As Variant
Set doc = collection.GetFirstDocument
Do Until (doc Is Nothing)
values=""
ForAll formfield In form.Fields
newvalue=doc.GetItemValue(formfield)
values=values & |"| & newvalue(0) & |",|
End ForAll
Write #fileNum%,  |",| & values &|"|
values=""
Set doc = collection.GetNextDocument(doc)
Loop
'Check Aliases
ForAll aliaz In form.Aliases
If aliaz = form.Name Then
GoTo NextAliaz   'alias is same as form name
End If
selection = |Form="| & aliaz & |"|
Set collection=db.Search(selection, Nothing, 0)
Set doc = collection.GetFirstDocument
Do Until (doc Is Nothing)
values=""
ForAll formfield In form.Fields
newvalue=doc.GetItemValue(formfield)
values=values & |"| & newvalue(0) & |",|
End ForAll
Write #fileNum%,  |",| & values &|"|
values=""
NextAliaz:
Set doc = collection.GetNextDocument(doc)
Loop
End ForAll
Close fileNum%
End ForAll
End Sub

B. LotusScript Agent Export Data All Forms in Notes Database

Sub Initialize
Dim session As New NotesSession
Dim db As NotesDatabase
Dim fileName As String
Dim fileNum As Integer
Dim headerstring As String
Dim values As String
Dim selection As String
Dim collection As NotesDocumentCollection
Dim doc As NotesDocument
On Error Resume Next
Set db = session.CurrentDatabase
ForAll form In db.Forms
If IsEmpty(form.Fields) Then
MessageBox form.Name & " has no fields"
Else
Dim fieldCount As Integer
Dim msgString As String
fieldCount = 0
msgString = ""
fileNum% = FreeFile()
fileName$ = "c:\temp\export\" & form.Name & ".csv"
Open FileName$ For Output As fileNum%
ForAll Field In form.Fields
msgString = msgString & Chr(10) & _
"     " & Field
fieldCount = fieldCount + 1
headerstring=headerstring & |"| &Field &|",|
End ForAll
Write #fileNum%,  |",| & headerstring & |"|
headerstring=""
End If
selection = |Form="| & form.Name & |"|
Set collection=db.Search(selection, Nothing, 0)
Dim newvalue As Variant
Set doc =collection.GetFirstDocument
Do Until (doc Is Nothing)
values=""
ForAll formfield In form.Fields
newvalue=doc.GetItemValue(formfield)
values=values & |"| & newvalue(0) & |",|
End ForAll
Write #fileNum%,  |",| & values &|"|
values=""
Set doc = collection.GetNextDocument(doc)
Loop
Close fileNum%
End ForAll
End Sub

IBM Open Mic Webcast: IBM Domino Application Development Update


On March 21 there will be a webcast about the IBM Domino Application Development Update.

Abstract
This presentation will focus on IBM's plans for the future of Domino as an application development platform. We will discuss IBM's plans for adding key functionality to Domino as well as ways to allow customers to modernize their applications for use via web and mobile devices. This presentation is key for anybody who uses Domino as an application development platform and is interested in modernizing their applications.
After a presentation, attendees will be given an opportunity to ask our panel of experts questions. Throughout the event, attendees will also be encouraged to comment or ask questions in the WebEx Meeting chat.

Content
** IMPORTANT NOTE** Please note the start time is 10 AM EDT (1 hour earlier than the usual 11 AM EDT start time for Open Mics)
Topic: IBM Domino Application Development Update
Date: Tuesday, March 21, 2017
Time: 10:00 AM EDT (15:00 UTC/GMT, UTC-4 hours) for 60 minutes

For more information: IBM Domino Application Development Update

Tuesday, 7 March 2017

IBM Notes Domino Feature Pack 8 Available for Download on IBM Fix Central


Today IBM has released IBM Domino and IBM Notes Feature Pack 8 on IBM Fix Central.
Beginning with 9.0.1 FP8, fix packs have been renamed to feature packs. To ensure quality, these feature packs still have a high focus on addressing high impacting defects. Where possible, these features are optional enabled to minimize risk. The same packaging, architecture and install kits used in previous fix packs remain in use for feature packs.
IBM has identified important Notes/Domino SPRs to be fixed in the latest Feature Pack release, 9.0.1 Feature Pack 8. This notice serves as the Preliminary Fix List. All fixes in this Feature Pack have been selected through our Triage process of high impacting customer requested bug fixes and are currently undergoing testing. IBM reserves the right to remove any fix from this targeted release if it does not pass quality engineering tests. Please consider this information to be provisional. Do not base irreversible business decisions on this information until the Feature Pack has been officially released.
The Notes/Domino Fix List website on developerWorks will show you the status of this Feature Pack on the Upcoming Releases tab. This preliminary Release Notice will be updated to include a more descriptive explanation of the problem and fix, where applicable. Also, a link to the technote and regression information will be provided.

Notes/Domino 9.0.1 Feature Pack 8 addresses defects in the Client, Server, and the Domino OpenSocial component. All Feature Packs are language independent and may be applied on any language version of Notes/Domino 9.0.1.

Download: IBM Fix Central - IBM Notes / IBM Domino or visit the IBM Download Options for Notes & Domino 9.0.1 Fix & Feature Packs website.
For more information see also the IBM Notes/Domino 9.0.1 Feature Pack 8 Release Notice

Thursday, 2 March 2017

IBM Open Mic Webcast - What's new in Notes & Domino 9.0.1 FP8?


On April 15th there will be a webcast about What's new in Notes & Domino 9 FP8?

Abstract
A discussion of the new features in Feature Pack 8 with the developers responsible for the release and contacts in support.
After a presentation, attendees will be given an opportunity to ask our panel of experts questions. Throughout the event, attendees will also be encouraged to comment or ask questions in the IBM Connections Meetings Web chat. Follow us on Twitter @IBM_ICSsupport.

Content
Topic: What's new in Notes & Domino 9.0.1 FP8?
Date: Wednesday, April 5, 2017
Time: 11:00 AM EDT (15:00 UTC/GMT, UTC-4 hours) for 60 minutes
For more information: Open Mic Webcast: What's new in Notes & Domino 9.0.1 FP8

Below some slides from IBM Connect 2017.