Friday, 30 March 2018

Create New Document From UIdocument Using LotusScript

It has been some time since I wrote a new blog post. During the past period I have been very busy with a large Notes Domino Project. This concerns old school Notes development with many LotusScript Agents and Libraries. A great project. In the coming period I will publish some LotusScript Agents and Functions used in this application on my blog. In addition, I am currently working on a large XPages project. It uses modern Bootstrap and jQuery plugins. Some of these plugins will be published on my blog in the coming period.

In this blog post a small subroutine that creates a new document in a Notes application and takes over a number of data from the open UI document. The new document is then saved, the UI document is closed and the newly created document is opened as an UI document. The subroutine also includes a number of validations concerning the fields that must be filled in the UI document before the new document can be created. The subroutine can be called via an Action Button or in a Form Event. In our Notes application I added the Subroutine in a Script Library.

Sub WorkflowCreateNewDocument(doc As NotesDocument)
Dim session As NotesSession
Dim db As NotesDatabase
Dim ws As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Dim thisDoc As NotesDocument
Dim newDoc As NotesDocument
Dim NotesUIDocument As NotesUIDocument
Dim workspace As New NotesUIWorkspace
Dim Continue As Variant

Set session = New NotesSession
Set db = session.CurrentDatabase
Set uidoc = ws.CurrentDocument
Set doc = uidoc.Document

EditAction = True

ws.CurrentDocument.EditMode = True

If uidoc.FieldGetText("FieldName" = 0 Then
MessageBox "FieldName is a mandatory field" ,,"Error Field FieldName."
Call uidoc.GotoField("FieldName" )
Continue = False
Exit Sub
End If

If uidoc.FieldGetText("FieldName2") = "" Then
MessageBox "FieldName2 is a mandatory field" ,,"Error Field FieldName2."
Call uidoc.GotoField("FieldName2" )
Continue = False
Exit Sub
End If

EditAction = False

If uidoc.FieldGetText("FieldName") = "0" Then

'create new document
' get document
Set thisdoc = db.GetDocumentByUNID( uidoc.Document.UniversalID )

' copy all items to new doc
Set doc = New NotesDocument( db )
Call thisdoc.CopyAllItems( doc, True )

' change some values in order to get a correct new document
With doc
.FieldName1 = doc.UniversalID
.Form = "FormName"
.FieldName2 = "TextValue"
.FieldName3 = Today()
.FieldName4 = Now()
.FieldName5 = ""

End With

' save new document
Call doc.Save(True, False)

End If

' open new document
Set notesUIDocument = workspace.EditDocument( False , doc )

' close current document
Call uidoc.Save
uidoc.Close( True )
End Sub

A small but very useful subroutine to quickly create a new document with a number of data from the opened UI document.
In my next blog posts I will publish some LotusScript Functions that we have recently implemented within our Notes application.

Saturday, 17 March 2018

Replay Webinar GDPR Considerations for Your IBM Domino Environment (Ytria)

Last Thursday I followed the brilliant webinar GDPR Considerations for Your IBM Domino Environment by Ytria. In case you have missed the webinar below the replay, slides and the link to the scripts used in this great webinar. I am very pleased that we are using these great Ytria tools (EZ Suite complete) in our daily work.

The EU General Data Protection Regulation is set to be enforced on May 25, 2018. Chances are you've heard about it. Maybe you've even attended other webinars to help sort out what it all means. It is an extremely complex and multi-layered regulation that can result in hefty penalties if you're not prepared. In this webinar we'll examine what the GDPR means for your Domino environment and the data stored and processed within it, whether your servers are on-premises, hybrid, or in the cloud.

After a quick summary of the GDPR's scope and its most important directives, we'll discuss:
  • Data classification: what is considered personal and sensitive data according to the GDPR, and where it is stored in Domino
  • Responding to Right of Access requests (where the data processor needs to provide an overview of categories of data being processed pertaining to the individual, as well as copy of the data with whom it's been shared with)
  • Right to erasure in an IBM Domino environment.
  • Data protection by Design and by Default—and what it means for your Domino mail and apps.
  • Employer obligations and guidelines for storing employee data in Domino.
  • Properly understanding and documenting access to personal and sensitive data.
  • How Ytria's EZ Suite tools can help you become compliant.
You must comply with the GDPR if you work for any company registered in the EU, or even one that has subsidiaries, employees, or customers in the EU. This webinar is for you if you manage your company's Domino environment in an Administrator, Developer, or IT Manager capacity—or if you've been appointed as DPO (Data Protection Officer) and your environment relies on Domino for applications and or mail.

Link to the scripts used in the webinar.
- Perform large-scale effective access calculations for a selection of Notes names
- Search for specific, user-defined keywords in full-text indexed documents
- Search for specific attachments in mail documents
-Search for specific attachments in mail documents

Thanks very much Ytria for this great webinar and the provision of the corresponding scripts that can be used in the Ytria EZ Suite Tools!

Saturday, 10 March 2018

IBM Domino Applications On Cloud (DAC) - Business Partner Webinar Recording

Yesterday IBM ICS Support released the IBM Domino Applications On Cloud (DAC) - Business Partner Webinar Recording.  This is a recording of Overview and  Q&A session specifically held for Business Partners on 9th March 2018. In this interactive session partners were introduced to the offering opportunities to grow their business and got their technical questions answered.
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.

For more information see also my previous blog post: Webinar - IBM JUMP Session: IBM Domino Applications on Cloud.
In this session there is an introduction to the offering, how it is structured and works including the pre-requisites, configurations and start-up options.
Organizations use Cloud in some capacity to augment or streamline their existing operations, data storage, hosting and app deployment. You can now migrate your Domino Applications to the IBM Cloud. IBM Domino Applications run important processes in your business. The dynamic nature of the business requires continued investment in hardware & infrastructure to run these apps. Further the skills, required to make changes to applications and the environment is both unpredictable and requires continued investment IBM Domino Applications on Cloud (DAC) offers hosting services, your way. It is Customizable as well as affordable and offers numerous benefits.
Throughout the event, attendees were encouraged to comment or ask questions in the WebEx Meeting chat.

Friday, 9 March 2018

IBM Notes Feature Pack 10 Interim Fix 2 Available for Download on IBM Fix Central

Yesterday IBM released IBM Notes Feature Pack 10 Interim Fix 2 Available for Download on IBM Fix Central.
Below the Fix List for IBM Notes Feature Pack 10 Interim Fix 2.

Download Link : IBM Notes Feature Pack 10 Interim Fix 2

If more information becomes available, this blog post will be updated with the latest information.

Thursday, 8 March 2018

IBM Traveler Available for Download on IBM Fix Central

Yesterday IBM released IBM Traveler IBM Traveler is a maintenance release that provides APAR fixes for the IBM Traveler server.
Note for customers that manage their database schema: IBM Traveler includes a database schema update for MS SQL Server deployments. It is only necessary to run verifyIndexes.sql to update the schema to latest level. Otherwise no action is required unless upgrading from a version prior to If you use auto schema updates (default behavior) there is no action required. See Updating the Enterprise Database for more information.
Note for IBMi environments: Starting with IBM Traveler and later for IBM i systems, Java 1.6 is no longer supported. For more information see Installing IBM Traveler on IBM i Platform.

Fix List IBM Traveler

More information about IBM Traveler
IBM Traveler Release Notes
IBM Traveler Product Documentation

Thursday, 1 March 2018

Replay Webinar Let’s Get Real - What’s in Domino V10 Including Slides

On Wednesday February 28 there was a very interesting webinar, Let's Get Real: What's in Domino v10. A great new future for Notes Domino! The Journey has started. Be on board!

The #domino2025 jams were extremely successful. Your excitement around the future of Domino, Notes, Verse and Sametime was evident. The goal of the face-to-face jams and virtual events was to funnel the collective wisdom of you—our clients, champions, business partners and ISVs—into a strategic plan of action to reinvigorate the Domino platform for application development, mail and chat for the 21st century, so you can conquer the biggest business challenges of tomorrow.
Join Bob Schultz, Richard Jefts and Andrew Manby for this unique webcast to understand what we learned and what we are going to do in 2018 with Domino v10.
We will share the first set of v10 WOW items to "get pumped" about. We will also underscore our commitment to the Domino roadmap with "proof of concept" demos from the HCL labs that will leave you wanting more.
Together, IBM and its strategic partner HCL, are going to deliver on its commitment to a major release in 2018. This hour-long virtual session is the first installment in the story of how you will be able to learn about v10, and where to go to learn more.

In case you missed the webinar a replay is available. Just register at this link and you will then have access to the event recording.

Below some slides of the webinar.

A great new future for Notes Domino! The Journey has started. Be on board!