Beruflich Dokumente
Kultur Dokumente
com
Written in Tag-Lish
Presented in Layman’s Terms
Perfect for Beginners and Non-Programmers
TABLE OF CONTENTS
Table of Contents …………………………………………………………………………….. pg 2
Introduction …………………………………………………………………………….. pg 3
Knowledge Prerequisites …………………………………………………………………………….. pg 4
The SDLC …………………………………………………………………………….. pg 5
The Different Environments …………………………………………………………………………….. pg 10
Guided Activity …………………………………………………………………………….. pg 13
A Little Reminder …………………………………………………………………………….. pg 20
Inside the Lotus Guru's Mind …………………………………………………………………………….. pg 21
Sample Flowchart …………………………………………………………………………….. pg 23
Sample Project Plan …………………………………………………………………………….. pg 30
Sample Algorithm …………………………………………………………………………….. pg 31
Creating your Project …………………………………………………………………………….. pg 32
Creating the Form …………………………………………………………………………….. pg 34
Creating the Fields …………………………………………………………………………….. pg 38
Creating the Action Buttons …………………………………………………………………………….. pg 49
Creating the View …………………………………………………………………………….. pg 54
Creating the Outline Menu …………………………………………………………………………….. pg 60
Creating the Menu Page …………………………………………………………………………….. pg 67
Creating the Frameset …………………………………………………………………………….. pg 74
Updating the Launch Settings …………………………………………………………………………….. pg 80
Welcome to
IBM Domino Designer SECRETS
Learn to Create your Own Application FAST and EASY
Information Sources:
https://www.ibm.com/support/knowledgecenter/SSVRGU_8.5.3/com.ibm.designer.domino.main.doc/H_TOUR_APPLICATIONS.html
https://www.ibm.com/support/knowledgecenter/SSVRGU_8.5.3/com.ibm.designer.domino.main.doc/H_CHAPTER_1_INTRODUCTION_TO_DOM
INO_DESIGNER_CHAP.html
The systems development life cycle (SDLC), also referred to as the application development
life-cycle, is a term used in systems engineering, information systems and software engineering
to describe a process for planning, creating, testing, and deploying an information system.
A systems development life cycle is composed of a number of clearly defined and distinct work
phases which are used by systems engineers and systems developers to plan for, design, build,
test, and deliver information systems. Like anything that is manufactured on an assembly line,
an SDLC aims to produce high-quality systems that meet or exceed customer expectations,
based on customer requirements, by delivering systems which move through each clearly
defined phase, within scheduled time frames and cost estimates. Computer systems are
complex and often (especially with the recent rise of service-oriented architecture) link multiple
traditional systems potentially supplied by different software vendors. To manage this level of
complexity, a number of SDLC models or methodologies have been created, such as waterfall,
spiral, Agile software development, rapid prototyping, incremental, and synchronize and
stabilize.
Source: https://en.wikipedia.org/wiki/Systems_development_life_cycle
We will not discuss here the different types of SDLC models (e.g. waterfall, spiral, etc...) as this
is another intensive discussion and can be created in a separate book. Such topic is an interest
of the Project Managers.
What we will discuss here are the SDLC methodologies which are:
Planning
Analysis
Design
Implementation
Maintenance
Source:
Photo Original uploader was Garrybooker at en.wikipedia
Later versions were uploaded by Abdull at en.wikipedia.derivative work: Malyszkz (talk) - GanttChartAnatomy.png, Public
Domain, https://commons.wikimedia.org/w/index.php?curid=15018988
Systems Analysis is the act, process, or profession of studying an activity (such as a procedure, a
business, or a physiological function) typically by mathematical means in order to define its
goals or purposes and to discover operations and procedures for accomplishing them most
efficiently.
Source: https://www.merriam-webster.com/dictionary/systems%20analysis
This is the phase where you do your algorithm and flow charts. You analyze how the process
will flow and what will be the series of actions and events that will happen in the program that
you are developing. In simple terms, if you did some brainstorming during the planning phase,
this is where you connect the dots.
Algorithm
Source: https://www.wikihow.com/Write-an-Algorithm-in-Programming-Language
Source: https://en.wikipedia.org/wiki/Flowchart
Photo By svg by Booyabazookaoriginal png by Wapcaplet - vector version of Image:LampFlowchart.png, CC BY-SA 3.0,
https://commons.wikimedia.org/w/index.php?curid=714537
I will not further discuss about flow chart that much. What you only need to learn is that the
rectangular symbol is a process while the diagonal symbol is a condition. You also need to know
how to put the arrows.
When you use these tools, it will be easier for you to transition to the next phase.
You are now ready to design the system.
Once you are done with your design and development, you have to test.
In each test, it's ok to find some errors especially if you are just beginning. These errors will
make you better understand how things work. Through these errors, I learned.
Source: https://msdn.microsoft.com/en-us/library/windows/desktop/cc307416.aspx
The system you are developing may undergo these three environment or may vary depending
on your company policies on deploying IBM Domino applications.
Source: https://eternalsunshineoftheismind.wordpress.com/2013/03/.../sdlc-phase-5-maintenance/
Guided Activity
For the last 12 years, I used to teach my teammates in creating Notes Application… and I often start with
an assignment. The tutorial revolves there and as soon as we were done with their assignments, they
eventually became experts… and they were able to create applications way better than those of what I
was able to produce.
We’ll start with an assignment and finish off revealing the Lotus Master in you, even if you are just a
beginner in notes programming or even if you’re not a programmer.
Prior to performing the guided activity, it is in the assumption that you have:
Have already installed the IBM Domino Designer.
Have seen other applications made in IBM Domino Designer.
Have a clear goal why you wanted to learn IBM Domino Designer.
In this guided activity, it is assumed that the plan has already been made.
The requirements, instructions, flowchart and design are already provided. All you have to do is
understand what needs to be done and apply the learnings from this book. Since this is a
guided activity, all actions that must be performed are well-written with no step skipped.
Let’s start with an early assignment. Just tell me your thoughts. You don’t need to know how to do it yet.
You just have to create a plan in your mind how the process will go.
We’ll have baby steps and I’ll guide you in each step.
For now, I am giving you something to think about. We need to exercise your mind and prepare it for a
more complex thinking later.
Assignment#1:
1. Create a database to upload and update employee details. The database will be a workflow tool
for requesting and approval for an Employee SSS Loan where the system should be able to check
whether the employee has an existing loan or has none. If with existing loan, the request must
not proceed. Otherwise, the request will go to the approver then to the implementer once
approved. Initial data is as follows:
Do not proceed yet with the next module, as we will be discussing a sample for your assignment.
Allow yourself to absorb the requirements first, and then try if you can work on the assignment.
You may write your response to the assignment in the worksheet provided along with this book.
YOUR INPUT-PROCESS-OUTPUT (What are your inputs (e.g. the files and the fields to be used in your
application)? What should you do with your input to achieve the desired output? What will be the
result of your process (e.g. reports)?
YOUR FLOWCHART (How will your input and process work together to derive the output? Who will
be your actors? What will each of the actors do?)
YOUR ALGORITHM (Step by step process on what should the script do next e.g. change of field’s
value, document status, send an email, etc…)
Whether you did the assignment or not, we will be discussing on how you could have done it.
I would just like you to try to absorb what we are trying to do in the assignment.
The reason I asked you to do it is for you to be able to plan for your sample “PROJECT”.
So if you really want to learn and absorb what I am about to teach you… then, do your assignment.
Do not proceed to the next page if you haven’t even tried responding to what I wanted you to do.
ABSORB!
LEARN!
Did you know that when you are trying to learn new things, your brain is creating new nodes/neurons in
your brain that makes you a bit more intelligent than your old self?
Let me tell you that I have taught a doctor, an accountant, a real programmer and they all started with
an assignment similar to what I wanted you to do.
Let this sink in: “Everything is possible. All things can be learned! It’s just a matter of mindset.
Whatever you tell yourself on whether you can or you can’t… you are right!”
Our general task is in assignment #1, while the rest of the requirements and how to do it will be
answered in your response to assignments #2 and #3.
Based on the given information, we can derive the input, process and output.
Input:
- Upload file
- Request
Process
- Validation if the employee already has an existing loan
- Workflow approval from request creation, approval and implementation
Output
- Processed/implemented request
- Reports/Views
From the upload file, we can also think of the fields that we’ll need which is the headers/column titles of
the upload file.
1. Employee ID
2. Last Name
3. First Name
4. SSS ID
5. Existing SSS Loan
6. Email ID
7. Immediate Supervisor’s Employee ID
You may then think of the other fields essential for your workflow process.
For us to be able to plan how the application will behave, we need to create a flowchart.
In a flowchart, we need to find out who will be the “actors” for each task, so in our assignment, we will
have: the Requestor, the Approver and the Implementer.
The Approver will be any of the listed Immediate Supervisor depending on who the requestor is.
Sample Flowchart
Requestor Approver Implementor
Send Request to
Approver
Note: Since this is a workflow, each arrow means that there will be a change in the document status
along with the log and the time stamps plus an email notification to the next “actor”.
You can design your flowchart as granular as you want it to be. The more detailed it is, the more that
you can easily convert these flowchart symbols into programming codes.
There are other details such as: which fields are needed to be filled up, so we can add an input box
containing the list of fields.
Employee ID*
Last Name*
First Name*
SSS ID*
With Existing SSS Loan
(Y/N)?*
Email ID*
Start Create Request Immediate Supervisor's Save Request
Employee ID*
Request reference number
Status of the request
Audit trail log
Date filed
Date approved
Date implemented
Remarks
Right after the input box, we need to validate if the required fields (or the items with asterisk) were
properly filled out, so we will need a decision box represented by a diamond.
Employee ID*
Last Name*
First Name*
SSS ID*
With Existing SSS Loan
(Y/N)?*
Email ID*
Start Create Request Immediate Supervisor's Save Request
Employee ID*
Request reference number
Status of the request
Audit trail log Required
Date filed fields
Date approved filled-up?
Date implemented
Remarks
24 | IBM Notes Domino Designer Secrets
Each decision box is answerable by a Yes or a No.
The NO scenario.
You have to think about what will happen if the answer is a Yes and what will happen if the answer is a
No. On a usual scenario, having a ‘No’ results to prompting an error message and the process will go
back to the previous activity. Let’s illustrate a ‘No’ scenario.
Employee ID*
Last Name*
First Name*
SSS ID* Save Request
With Existing SSS Loan (Y/N)?*
Email ID*
Immediate Supervisor's Employee
ID*
Start Create Request
Request reference number
Status of the request Required
N
Audit trail log fields Prompt Error
Date filed
filled-up?
Date approved
Date implemented
Remarks
Push email
notification to
approver with a
link
Here’s what will happen when the approver receives the email and clicks on the link.
At the latter part of this ebook, we will convert this detailed flowchart into Lotus Scripts.
When you think you are lost, just follow the arrow heads.
Don’t worry, I’ll be with you in this journey. We’ll be discussing things in every detail.
In Lotus Notes Designer, reports are created thru VIEWS… but before we dig in, let’s design what types
of reports do we need and how each reports/views will look like.
Reports:
1. My Requests
2. View by Status
3. View by Date Created
4. View by Requestor
5. Cancelled Requests
For uniformity, let’s display all the fields from our input in our output plus the status of each requests.
Each view will just vary on the column sequence depending on which report you are viewing.
With you having the input-process-output and a flowchart, you are almost set to completing your
PROJECT PLAN.
This will serve as your guide on what should you do next or how far are you in your project.
It contains the detailed, step by step process. To help you understand what an algorithm is, please
continue reading and try to absorb the things I am about to discuss.
This will be our algorithm for processing the request (assuming that we were already able to upload the
employee information). It is also a ten (10) step process that discusses what each of the workflow
participants/actors will do to the request document.
Now that you understand the input-process-output, flowchart and algorithms, I may say that you are
already equipped in understanding the process and may start creating your Notes Application.
Upon opening your Domino Designer, the welcome screen will be displayed. You may opt to read
what’s written there as it will also guide you on how Domino Designer works and how to use it.
Server: Local
“Local” means that the application being developed will reside in your PC and not yet on a server. If you have your
development server, you may specify it here.
Title: Loan Application
You may have your own title for this project.
File name: loan.ntf
You may rename the file too.
I’m letting you use the ntf file extension which stands for “notes template file” instead of an nsf since this application is
still residing in your local PC. Once your application is ready for implementation in production, you may simply use the
template to replace the design of your production application. Don’t you worry if everything I just said is a little bit
overwhelming, I’ll explain further in the latter part of this book.
Encryption: Do not locally encrypt this database
You have to set this as not locally encrypted otherwise you cannot run your application locally in your PC/laptop.
Template: Blank
Since we are about to create an application from scratch and not copying any template, we will select Blank.
c) Click OK.
e) Congratulations! You are now able to create your very first blank notes application. From here,
you may now create your very first form.
A form is used to create the notes document that will store the information, through the use of
fields, within your database. A form may contain fields, labels, pictures, tables, action buttons, etc…
d) Your new blank form will appear. Let me walk you through the different frames of your notes
application.
This is your full screen.
This is called your programmer’s pane where you put your notes formulas and lotusscripts.
A field is a value holder. It stores the value that the user has provided. Using a field, you can retrieve
those stored information.
In creating these fields, it would be better if you also create table(s) for proper field alignment
and aesthetics.
How to create tables?
o Click Create > Table
o Input the number of rows and columns that you want your table to contain then click
OK.
Make your table similar to this table so as to help you organize your data
Highlight the center column then update the table properties and make the left and right
border, zero.
> Position the cursor where you want to place your field then click Create > Field.
Text
This is the default and the most commonly used data type. It can contain alphanumeric string, date or
number but interpreted as string. The indicator that you have used a text data type is the T sign found at
the bottom right of the field.
Password
This type is used for collecting values with a mask or any values typed will be displayed as a specified
character (e.g. asterisk *).
Know the fields relevant to your application; Distinguish which items are mandatory by putting a
red asterisk (*) beside its label within the form.
If you are unable to see the action pane, go to the right-most border and drag it. It is simply hidden.
(1) Right-click on the empty action pane then select ‘Create Action’. Do the steps
repeatedly until you were able to create the four buttons: New, Edit, Save and Exit.
(5) Preview your action buttons by clicking the preview icon ( ). Make sure that you’ve
saved your work so that changes will take effect.
CONGRATULATIONS!!!
You have now created your very first form (if you have followed all my instructions in this module).
To create a view:
3) Your newly created view will now be a part of your view list.
5) Once any of your views has that check, go to the Design Properties and you will see that your view
is, by default, set to be prohibited from being modified.
7) Open the selected view to edit the contents (via double click or right click then open).
This will be your default view. The first column has a sharp sign (#) header.
9) Label your columns by double clicking on each item then input a title.
You have just made your own view. You can create as many views as you needed.
An outline, within the Domino Designer, looks simply like a set of buttons aligned together which you
can indent and outdent depending on your preference.
It forms part of the Shared Elements together with Sub forms, Fields, Columns and Navigators. In this
eBook, we will only discuss the essentials and we will not cover all the elements as they are seldom
used.
If you choose Named Element, choose the type of element: Page, Form, Frameset or View.
The most commonly chosen option is ‘View’.
d) Input Frame name. Fill-in this option only if you have a frameset and you wanted your element
to be displayed in one of your frames, otherwise, leave it blank. I’ll explain later why the Frame
input is ‘Right’.
e) Repeat steps 6a to 6d until you have all your elements filled in with values.
f) Here’s a guide for each of your elements as sampled. P.S. You should have the views created prior to
calling it in the outline entry.
Create New Request
(1) Type: Action
(2) Value: @Command(Compose;””:””;”LoanRequest”)
(3) Frame:
8) Once finished with the outline entries, you may now save it and create the page menu by clicking
Use Outline.
g) Click ‘Set All to Same’ button so that Top Level Font and Title Font will acquire the same
attributes.
k) Click Save. The system will ask you to provide a page name.
4) Once saved, you may preview your page. You may try hovering your mouse to each of the outline
entries.
5) Congratulations! You now have a menu. Your next task will be to create a frameset.
2) Name your frameset and set the number of frames. For this example, we’ll choose 2.
5) Now, choose the element you want to display on the ‘Right’ frame. Let’s just display the view ‘By
Employee Number’. To do this, choose Type: ‘Named Element’ – ‘View’; Value: ‘(All Requests)’
This means, that whenever you click the outline entry, it will be displayed in the ‘Right’ frame, which
is the 2nd frame we created on your frameset… remember?
7) With all these said, you have to make sure all your outline entries are properly set-up so that it will
work the way you wanted it to. Try previewing your frame and clicking each outline entry.
You already have the menu using outline and page. Check.
Whenever you create a new application, a bookmark is created in your workspace. However, when you
try clicking your bookmark, it opens the default view and not your menu frameset. Have you ever
experienced that?
Let’s try it with our raw application. Try opening it through the workspace by double-clicking on the
bookmark.
2) Go to the 5th tab then select ‘Open designated Frameset’ on the first field.
3) Select Name:‘Menu’
4) You’re all set. Try it out. Congratulations! You have just created your first basic application
I hope you have learned something from it. Sorry medyo hindi sya totally TagLish, may mga vocabularies
kasi in IBM Domino Designer na hindi kayang tagalugin… but I hope naintindihan nyo yung mga topics
discussed in this book.
Please don’t forget to subscribe to www.dominodesignersecrets.com for more tips and promotional
messages.
Again, thank you and hope you’ll enjoy your journey learning the IBM Domino Designer.
Copyright 2018
www.dominodesignersecrets.com
Manila, Philippines