SlideShare a Scribd company logo
© 2014 IBM Corporation
AD501: IBM Worklight for
IBM Domino Developers
Mat Newman, IBM, @MatNewman
22
IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM’s sole
discretion.
Information regarding potential future products is intended to outline our general product direction and it should not be
relied on in making a purchasing decision.
The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver
any material, code or functionality. Information about potential future products may not be incorporated into any contract.
The development, release, and timing of any future features or functionality described for our products remains at our sole
discretion
Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment.
The actual throughput or performance that any user will experience will vary depending upon many factors, including
considerations such as the amount of multiprogramming in the user’s job stream, the I/O configuration, the storage
configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve
results similar to those stated here.
Please Note
3
Session Description
IBM Domino 9 easily exposes the Domino Data Service (DDS) to enable you to
access data in IBM Notes Databases utilising REST APIs. But how do you get
started building native mobile applications? With IBM Worklight, and DDS! We will
demonstrate how to install, configure and then build your first mobile application.
4
What we'll cover
 What is the Domino Data Service (DDS)
 How to enable DDS
 How to use it
55
What is Domino Data Service
6
Domino 9 = XPages Extension Library + Mobile Controls
 Out-Of-TheBox Mobile app toolkit
 Awesome Tutorial By Paul Hannan:
– http://tinyurl.com/2014AD50101
 Develop a mobile application in 5 Minutes
7
Yes, Mobile applications
IN 5 MINUTES!
8
DEMO
9
Ever used a JSONFORMAT url in Domino?
 /database.nsf/viewname?ReadViewEntries&outputformat=json
 Eg:
http://lotusphere.turtleweb.com/sphere2014.nsf/vwSessionsID?ReadViewEntries&outputformat=json
10
Domino Data Service
 Rest API that exposes data in a Domino database
 Uses internet standard protocols
 Build NATIVE applications
11
Yes, NATIVE Applications
NOT just mobile web-pages!
12
DDS Exposes JSON in ANY enabled
Notes application
* both VIEWS and DOCUMENTS *
13
DDS Object URL's
 FilePath/Databasename.nsf
– The base notes application URL
 FilePath/Databasename.nsf/api/data
– The api path when notes application is enabled for DDS
 FilePath/Databasename.nsf/api/data/collections
– The path to access Views
 FilePath/Databasename.nsf/api/data/documents
– The path to access Documents (Notes/Records)
14
DDS – Working with Views
 FilePath/Databasename.nsf/api/data/collections
– The path to access Views
– If called will return a list of views
– Can now navigate those objects by ID or Name
[
{
"@title":"($All)",
"@folder":false,
"@private":false,
"@modified":"2013-09-27T02:17:03Z",
"@unid":"88B0527841D435A648257BF2002DFE4B",
"@href":"http://domain.com:80/folderpath/filename.nsf/api/data/collections/unid/88B0527841D435A648257BF2002DFE4B"
},
{
"@title":"By Category",
"@folder":false,
"@private":false,
"@modified":"2013-09-27T01:39:22Z",
"@unid":"BA68A00AE98C6FB148257BF30006AA52",
"@href":"http://domain.com:80/folderpath/filename.nsf/api/data/collections/unid/BA68A00AE98C6FB148257BF30006AA52"
}
]
15
DDS – Working with Views … cont
 Remember the back-end collection is a DOMINO view
 As a Domino Developer, you can use all the view commands you are used to: eg
– ?Search
– ?Start=1&count=50
 FilePath/Databasename.nsf/api/data/collections/name/ViewName?Command
– No different to calling a view url using standard HTTP
16
DDS – Working with Documents
 FilePath/Databasename.nsf/api/data/documents
 Lists all the documents in the database
– Includes all “available” item/note/field contents (even rich text)
 Get a specific document easily by referring to it's UNID
– FilePath/Databasename.nsf/api/data/documents/unid/88B0527841D435A648257BF2002DFE4B
17
DDS – Working with Documents - Operations
 Get
 Patch
 Put
 Delete
 FilePath/Databasename.nsf/api/data/documents
 Lists all the documents in the database
– Includes all “available” item/note/field contents (even rich text)
 Get a specific document easily by referring to it's UNID
– FilePath/Databasename.nsf/api/data/documents/unid/88B0527841D435A648257BF2002DFE4B
1818
How to enable
Domino Data Service
19
Enabling DDS - Components
 DDS Extended Service – Per Domino Site
– Internet Configuration Documents need to be in use
 Per Database
– Each Database is enabled individually
– Access Choices:
● Views Only
● Views and Documents
20
Ensure your Domino Server is using “Internet Sites”
 More configuration choices and features than traditional “Web Server Configurations”
 Been around for a while...
 Enabled per server
 Site documents can be multi-server
21
Configuring the web site document is EASY
 Web Site Document
 Domino Access Services
 Enabled Services:
– Data
 Restart HTTP task
22
Enabling the Database for DDS
 Open the Database Properties
 Advanced Tab
 Allow Domino Data Service:
– Never (default)
– Views Only
– Views and documents
23
You're Ready … now
2424
DDS – How do you use it?
25
How can we use DDS to build a Native Application
 New Notes Database:
– Create a Notes database
– Build some features
– Enable DDS
 Existing Notes Database:
– No design changes required!
– Enable DDS
 Install IBM Worklight
 Create a project
 Connect it to your NOTES database
26
Yes, I said install IBM WORKLIGHT
27
IBM Worklight Installation
 Install Java JDK
 Install Android SDK
 Install Eclipse Juno (4.1)
 Use the Eclipse market to install:
– IBM Worklight Developer Addition
– (help → Eclipse Marketplace...)
28
Install Java JDK
 Download the JDK
– http://tinyurl.com/2014AD50102
 Run the Install
29
Install Android SDK
 Normal Android Installation
 Download and installation instructions:
– http://tinyurl.com/2014AD50103
30
Install Eclipse Juno (4.1)
 http://tinyurl.com/2014AD50104
 Eclipse IDE for Java EE Developers
 Extract the zip file...
 Run “Eclipse.exe”
31
Use the Eclipse market to install Worklight
● IBM Worklight Developer Addition
● (help → Eclipse Marketplace...)
3232
Building the Worklight Project
33
Creating the Project
34
Give the project a name and type
35
Add the dojo tolkit
36
Design the Mobile Application
37
Add a Worklight Adapter
38
The Adapter Type is HTTP
39
The Adapter Domain is the Base URL!
40
Add procedures to the Adapter
41
Add functions to call data using DDS
42
Programming guides for DDS
 DDS User Guide and Reference
– http://tinyurl.com/2014AD50105
 DDS 9 Reference Wiki
– http://tinyurl.com/2014AD50106
43
What the URL actually returns
44
Deploy the adapter
45
Run the project
46
YOURE MOBILE
4747
Engage Online
 SocialBiz User Group socialbizug.org
– Join the epicenter of Notes and Collaboration user groups
 Follow us on Twitter
– @IBMConnect and @IBMSocialBiz
 LinkedIn http://bit.ly/SBComm
– Participate in the IBM Social Business group on LinkedIn:
 Facebook https://www.facebook.com/IBMSocialBiz
– Like IBM Social Business on Facebook
 Social Business Insights blog ibm.com/blogs/socialbusiness
– Read and engage with our bloggers
Engage Online
48
 Access Connect Online to complete your session surveys using any:
– Web or mobile browser
– Connect Online kiosk onsite
48
4949
© Copyright IBM Corporation 2014. All rights reserved.
 U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 IBM, the IBM logo, ibm.com, are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. If these and other
IBM trademarked terms are marked on their first occurrence in this information with a trademark symbol (® or ™), these symbols indicate U.S. registered or common law trademarks
owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is
available on the Web at “Copyright and trademark information” at www.ibm.com/legal/copytrade.shtml
Other company, product, or service names may be trademarks or service marks of others.
Availability. References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates.
The workshops, sessions and materials have been prepared by IBM or the session speakers and reflect their own views. They are provided for informational purposes only, and are neither
intended to, nor shall have the effect of being, legal or other guidance or advice to any participant. While efforts were made to verify the completeness and accuracy of the information
contained in this presentation, it is provided AS-IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise
related to, this presentation or any other materials. Nothing contained in this presentation is intended to, nor shall have the effect of, creating any warranties or representations from IBM or
its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software.
All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and
performance characteristics may vary by customer. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you
will result in any specific sales, revenue growth or other results.
Acknowledgements and Disclaimers

More Related Content

PPT
IBM Connect 2014 - AD105: IBM iNotes and IBM SmartCloud Notes Web Customizati...
IBM Connections Developers
 
PDF
Business Partner Day 406 - Ignite your IBM SmartCloud for Social Business Int...
paulbastide
 
PDF
IBM Connections 4.0 Installation From Zero To Social Hero - 1.03 with AD LDAP
Frank Altenburg
 
PDF
IBM Connections 4.5 CR2 Installation - From Zero To Social Hero - 2.02 - with...
Frank Altenburg
 
PDF
IBM Lotus Notes/Domino App. Dev. Competitive Advantage: The Social Business E...
John Head
 
PDF
We4IT lcty 2013 - infra-man - whats new in ibm domino application development
We4IT Group
 
PDF
The Notes/Domino Application Development Competitive Advantage - IamLUG
John Head
 
PDF
OpenNTF.org: Celebrating 10 years of community driven open source (Speedgeeki...
John Head
 
IBM Connect 2014 - AD105: IBM iNotes and IBM SmartCloud Notes Web Customizati...
IBM Connections Developers
 
Business Partner Day 406 - Ignite your IBM SmartCloud for Social Business Int...
paulbastide
 
IBM Connections 4.0 Installation From Zero To Social Hero - 1.03 with AD LDAP
Frank Altenburg
 
IBM Connections 4.5 CR2 Installation - From Zero To Social Hero - 2.02 - with...
Frank Altenburg
 
IBM Lotus Notes/Domino App. Dev. Competitive Advantage: The Social Business E...
John Head
 
We4IT lcty 2013 - infra-man - whats new in ibm domino application development
We4IT Group
 
The Notes/Domino Application Development Competitive Advantage - IamLUG
John Head
 
OpenNTF.org: Celebrating 10 years of community driven open source (Speedgeeki...
John Head
 

What's hot (20)

ODP
IBM Domino 9.0 Social Edition OpenSocial Component Deployment
Rahul A. Garg
 
PDF
Domino app dev competitive advantage final
John Head
 
PDF
IBM Connect 2014 SHOW501 Mastering Social Development Using the IBM Collabora...
paulbastide
 
PDF
IBM Connections 4.0 Installation - From Zero To Social Hero 1.16 for Domino LDAP
Frank Altenburg
 
ODP
MAS202 - Customizing IBM Connections
paulbastide
 
PDF
Application Development for IBM Connections with IBM Bluemix
IBM Connections Developers
 
PDF
IBM Lotus Notes Domino Blog Template Update 8.01
projectdxguy
 
PDF
IBM Sametime 9 Complete - Basic Features Installation - From Zero To Hero - F...
Frank Altenburg
 
PDF
Domino app dev competitive advantage for blug
John Head
 
PDF
IBM Connect 2014 - AD206 - Build Apps Rapidly by Leveraging Services from IBM...
Niklas Heidloff
 
PDF
Application Modernization: Where Consumer, Social, and Mobile Converge
John Head
 
PPTX
Living in the Web is Easy! Making the Move from Rich Clients to Browsers
Rahul A. Garg
 
PDF
What's new in iNotes 9.0 Social Edition
Rahul A. Garg
 
PDF
Lotusphere 2009: INV102 Lotus Notes And Domino Strategy 2009
Ed Brill
 
ODP
JMP103 : Extending Your App Arsenal With OpenSocial
Ryan Baxter
 
PDF
What’s Next? Application Modernization Roadmap For Socializing IBM Notes and ...
John Head
 
PDF
BP201 Creating Your Own Connections Confection - Getting The Flavour Right
Gabriella Davis
 
PDF
NELotus - OpenNTF.org & XPages Mobile Controls
John Head
 
PDF
IBM Messaging and Collaboration Roadmap - Notes and Domino update - December ...
Ed Brill
 
PDF
MWLUG 2011: The Never Ending Integration Story
John Head
 
IBM Domino 9.0 Social Edition OpenSocial Component Deployment
Rahul A. Garg
 
Domino app dev competitive advantage final
John Head
 
IBM Connect 2014 SHOW501 Mastering Social Development Using the IBM Collabora...
paulbastide
 
IBM Connections 4.0 Installation - From Zero To Social Hero 1.16 for Domino LDAP
Frank Altenburg
 
MAS202 - Customizing IBM Connections
paulbastide
 
Application Development for IBM Connections with IBM Bluemix
IBM Connections Developers
 
IBM Lotus Notes Domino Blog Template Update 8.01
projectdxguy
 
IBM Sametime 9 Complete - Basic Features Installation - From Zero To Hero - F...
Frank Altenburg
 
Domino app dev competitive advantage for blug
John Head
 
IBM Connect 2014 - AD206 - Build Apps Rapidly by Leveraging Services from IBM...
Niklas Heidloff
 
Application Modernization: Where Consumer, Social, and Mobile Converge
John Head
 
Living in the Web is Easy! Making the Move from Rich Clients to Browsers
Rahul A. Garg
 
What's new in iNotes 9.0 Social Edition
Rahul A. Garg
 
Lotusphere 2009: INV102 Lotus Notes And Domino Strategy 2009
Ed Brill
 
JMP103 : Extending Your App Arsenal With OpenSocial
Ryan Baxter
 
What’s Next? Application Modernization Roadmap For Socializing IBM Notes and ...
John Head
 
BP201 Creating Your Own Connections Confection - Getting The Flavour Right
Gabriella Davis
 
NELotus - OpenNTF.org & XPages Mobile Controls
John Head
 
IBM Messaging and Collaboration Roadmap - Notes and Domino update - December ...
Ed Brill
 
MWLUG 2011: The Never Ending Integration Story
John Head
 
Ad

Viewers also liked (6)

PPT
Google Cloud Developer Challenge - GDG Belgaum
sandeephegde
 
PPTX
Connections Plugins - Engage 2016
Hogne Pettersen
 
PDF
The web - What it has, what it lacks and where it must go - keynote at Riga D...
Robert Nyman
 
PPTX
No-code developer options in Office 365 and SharePoint 2013
Asif Rehmani
 
PPTX
IBM Connect 2016 - Don't give up on Domino! Introducing Darwino: A New Lifeli...
Philippe Riand
 
PDF
Introduction to IBM Bluemix for Java Developers
Niklas Heidloff
 
Google Cloud Developer Challenge - GDG Belgaum
sandeephegde
 
Connections Plugins - Engage 2016
Hogne Pettersen
 
The web - What it has, what it lacks and where it must go - keynote at Riga D...
Robert Nyman
 
No-code developer options in Office 365 and SharePoint 2013
Asif Rehmani
 
IBM Connect 2016 - Don't give up on Domino! Introducing Darwino: A New Lifeli...
Philippe Riand
 
Introduction to IBM Bluemix for Java Developers
Niklas Heidloff
 
Ad

Similar to Connect ed2014 ad501_ibm worklight for ibm domino developers (20)

PDF
IBM Connect 2014 AD 501 - IBM Worklight for IBM Domino Developers
Mat Newman
 
PPTX
Get the Jump on Mobilizing your Notes and Domino Applications Today! (JMP103...
Paul Della-Nebbia
 
PPTX
Ibm worklight - going from xpages mobile to native mobile applications
Mark Roden
 
PDF
An Introduction to the Model-View-Controller Pattern
Teamstudio
 
PPT
2109 mobile cloud integrating your mobile workloads with the enterprise
Todd Kaplinger
 
PDF
1040 ibm worklight delivering agility to mobile cloud deployments
Todd Kaplinger
 
PDF
Developing XPages Applications
Niklas Heidloff
 
PDF
X pages jumpstart jmp101
pdhannan
 
PDF
Tip from IBM Connect 2014: XPages Mobile Development in IBM Domino 9.0.1 and ...
SocialBiz UserGroup
 
PDF
IBM Lotus Notes/Domino Application Development Competitive Advantage : The So...
John Head
 
PDF
IBM Collaboration Solutions Application Development - Frequently Asked Questions
Niklas Heidloff
 
PDF
Domino Entwicklung aus der Vogelperspektive
Belsoft
 
PPTX
Do Try This at Home! Extend IBM Connections using IBM Worklight
Prolifics
 
PDF
What’s new for Developers in IBM Domino & Domino Designer 9.0.1
IBM Connections Developers
 
PDF
Connect 2013 - Infrastructure Fitness and Design Simplicity for IBM Mobile Co...
René Winkelmeyer
 
ODP
Intro to XPages for Administrators (DanNotes, November 28, 2012)
Per Henrik Lausten
 
ODP
AD308: XPages in a Social World
paidi_ed
 
PDF
IBM Connect 2017: Refresh and Extend IBM Domino Applications
Ed Brill
 
PDF
IBM Lotus Notes/Domino Application Development Competitive Advantage : The So...
John Head
 
PDF
ICS usergroup dev day2014_application development für die ibm smartcloud for ...
ICS User Group
 
IBM Connect 2014 AD 501 - IBM Worklight for IBM Domino Developers
Mat Newman
 
Get the Jump on Mobilizing your Notes and Domino Applications Today! (JMP103...
Paul Della-Nebbia
 
Ibm worklight - going from xpages mobile to native mobile applications
Mark Roden
 
An Introduction to the Model-View-Controller Pattern
Teamstudio
 
2109 mobile cloud integrating your mobile workloads with the enterprise
Todd Kaplinger
 
1040 ibm worklight delivering agility to mobile cloud deployments
Todd Kaplinger
 
Developing XPages Applications
Niklas Heidloff
 
X pages jumpstart jmp101
pdhannan
 
Tip from IBM Connect 2014: XPages Mobile Development in IBM Domino 9.0.1 and ...
SocialBiz UserGroup
 
IBM Lotus Notes/Domino Application Development Competitive Advantage : The So...
John Head
 
IBM Collaboration Solutions Application Development - Frequently Asked Questions
Niklas Heidloff
 
Domino Entwicklung aus der Vogelperspektive
Belsoft
 
Do Try This at Home! Extend IBM Connections using IBM Worklight
Prolifics
 
What’s new for Developers in IBM Domino & Domino Designer 9.0.1
IBM Connections Developers
 
Connect 2013 - Infrastructure Fitness and Design Simplicity for IBM Mobile Co...
René Winkelmeyer
 
Intro to XPages for Administrators (DanNotes, November 28, 2012)
Per Henrik Lausten
 
AD308: XPages in a Social World
paidi_ed
 
IBM Connect 2017: Refresh and Extend IBM Domino Applications
Ed Brill
 
IBM Lotus Notes/Domino Application Development Competitive Advantage : The So...
John Head
 
ICS usergroup dev day2014_application development für die ibm smartcloud for ...
ICS User Group
 

More from a8us (20)

PDF
Open mic on ibm notes traveler best practices
a8us
 
PPT
Connect2013 show100 making traveler highly available_part1_traveler design
a8us
 
PDF
Connect2014 id600 ibm notes traveler 2013 & beyond
a8us
 
PDF
Connect 2013 show101 making ibm traveler high available_part2_extending and s...
a8us
 
PDF
Connect ed2015 mas101_user blast 2015
a8us
 
PDF
Connect ed2015 it must be notes, must be something else
a8us
 
PPTX
Connect ed2015 bp104_ibm notes traveler daily business-administration monitor...
a8us
 
ODP
Matnewman ibm notes tip of the day traveler 9.0.1.1
a8us
 
PDF
Sametime meetings task reference
a8us
 
PDF
Sametime communicate task reference
a8us
 
PDF
Open mic on sametime 9 installs best practices, tips and tricks
a8us
 
PPT
Lcty2010 paris so11_sametime 8.5
a8us
 
PDF
Instant chime plugin_installation_guide_for_ibm_sametime_9
a8us
 
PDF
Ibm sametime deployment planning open mic webcast
a8us
 
PDF
Ibm sametime 9 for social communications
a8us
 
PDF
Ibm sametime 9 complete basic features installation from zero to hero
a8us
 
PDF
Deploying ibm sametime 9 on aix 7.1
a8us
 
PDF
Architecting an ibm sametime 9.0 audio visual deployment
a8us
 
PDF
Call and video calls task reference
a8us
 
PDF
Utf 8'en'ibm sametime 9 - voice and video deployment
a8us
 
Open mic on ibm notes traveler best practices
a8us
 
Connect2013 show100 making traveler highly available_part1_traveler design
a8us
 
Connect2014 id600 ibm notes traveler 2013 & beyond
a8us
 
Connect 2013 show101 making ibm traveler high available_part2_extending and s...
a8us
 
Connect ed2015 mas101_user blast 2015
a8us
 
Connect ed2015 it must be notes, must be something else
a8us
 
Connect ed2015 bp104_ibm notes traveler daily business-administration monitor...
a8us
 
Matnewman ibm notes tip of the day traveler 9.0.1.1
a8us
 
Sametime meetings task reference
a8us
 
Sametime communicate task reference
a8us
 
Open mic on sametime 9 installs best practices, tips and tricks
a8us
 
Lcty2010 paris so11_sametime 8.5
a8us
 
Instant chime plugin_installation_guide_for_ibm_sametime_9
a8us
 
Ibm sametime deployment planning open mic webcast
a8us
 
Ibm sametime 9 for social communications
a8us
 
Ibm sametime 9 complete basic features installation from zero to hero
a8us
 
Deploying ibm sametime 9 on aix 7.1
a8us
 
Architecting an ibm sametime 9.0 audio visual deployment
a8us
 
Call and video calls task reference
a8us
 
Utf 8'en'ibm sametime 9 - voice and video deployment
a8us
 

Recently uploaded (20)

PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
Doc9.....................................
SofiaCollazos
 
PPTX
IoT Sensor Integration 2025 Powering Smart Tech and Industrial Automation.pptx
Rejig Digital
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PPTX
Coupa-Overview _Assumptions presentation
annapureddyn
 
PPT
Coupa-Kickoff-Meeting-Template presentai
annapureddyn
 
PDF
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
This slide provides an overview Technology
mineshkharadi333
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
codernjn73
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PDF
Architecture of the Future (09152021)
EdwardMeyman
 
PDF
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
Doc9.....................................
SofiaCollazos
 
IoT Sensor Integration 2025 Powering Smart Tech and Industrial Automation.pptx
Rejig Digital
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Coupa-Overview _Assumptions presentation
annapureddyn
 
Coupa-Kickoff-Meeting-Template presentai
annapureddyn
 
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
This slide provides an overview Technology
mineshkharadi333
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
codernjn73
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
Architecture of the Future (09152021)
EdwardMeyman
 
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 

Connect ed2014 ad501_ibm worklight for ibm domino developers

  • 1. © 2014 IBM Corporation AD501: IBM Worklight for IBM Domino Developers Mat Newman, IBM, @MatNewman
  • 2. 22 IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM’s sole discretion. Information regarding potential future products is intended to outline our general product direction and it should not be relied on in making a purchasing decision. The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver any material, code or functionality. Information about potential future products may not be incorporated into any contract. The development, release, and timing of any future features or functionality described for our products remains at our sole discretion Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user’s job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here. Please Note
  • 3. 3 Session Description IBM Domino 9 easily exposes the Domino Data Service (DDS) to enable you to access data in IBM Notes Databases utilising REST APIs. But how do you get started building native mobile applications? With IBM Worklight, and DDS! We will demonstrate how to install, configure and then build your first mobile application.
  • 4. 4 What we'll cover  What is the Domino Data Service (DDS)  How to enable DDS  How to use it
  • 5. 55 What is Domino Data Service
  • 6. 6 Domino 9 = XPages Extension Library + Mobile Controls  Out-Of-TheBox Mobile app toolkit  Awesome Tutorial By Paul Hannan: – http://tinyurl.com/2014AD50101  Develop a mobile application in 5 Minutes
  • 9. 9 Ever used a JSONFORMAT url in Domino?  /database.nsf/viewname?ReadViewEntries&outputformat=json  Eg: http://lotusphere.turtleweb.com/sphere2014.nsf/vwSessionsID?ReadViewEntries&outputformat=json
  • 10. 10 Domino Data Service  Rest API that exposes data in a Domino database  Uses internet standard protocols  Build NATIVE applications
  • 11. 11 Yes, NATIVE Applications NOT just mobile web-pages!
  • 12. 12 DDS Exposes JSON in ANY enabled Notes application * both VIEWS and DOCUMENTS *
  • 13. 13 DDS Object URL's  FilePath/Databasename.nsf – The base notes application URL  FilePath/Databasename.nsf/api/data – The api path when notes application is enabled for DDS  FilePath/Databasename.nsf/api/data/collections – The path to access Views  FilePath/Databasename.nsf/api/data/documents – The path to access Documents (Notes/Records)
  • 14. 14 DDS – Working with Views  FilePath/Databasename.nsf/api/data/collections – The path to access Views – If called will return a list of views – Can now navigate those objects by ID or Name [ { "@title":"($All)", "@folder":false, "@private":false, "@modified":"2013-09-27T02:17:03Z", "@unid":"88B0527841D435A648257BF2002DFE4B", "@href":"http://domain.com:80/folderpath/filename.nsf/api/data/collections/unid/88B0527841D435A648257BF2002DFE4B" }, { "@title":"By Category", "@folder":false, "@private":false, "@modified":"2013-09-27T01:39:22Z", "@unid":"BA68A00AE98C6FB148257BF30006AA52", "@href":"http://domain.com:80/folderpath/filename.nsf/api/data/collections/unid/BA68A00AE98C6FB148257BF30006AA52" } ]
  • 15. 15 DDS – Working with Views … cont  Remember the back-end collection is a DOMINO view  As a Domino Developer, you can use all the view commands you are used to: eg – ?Search – ?Start=1&count=50  FilePath/Databasename.nsf/api/data/collections/name/ViewName?Command – No different to calling a view url using standard HTTP
  • 16. 16 DDS – Working with Documents  FilePath/Databasename.nsf/api/data/documents  Lists all the documents in the database – Includes all “available” item/note/field contents (even rich text)  Get a specific document easily by referring to it's UNID – FilePath/Databasename.nsf/api/data/documents/unid/88B0527841D435A648257BF2002DFE4B
  • 17. 17 DDS – Working with Documents - Operations  Get  Patch  Put  Delete  FilePath/Databasename.nsf/api/data/documents  Lists all the documents in the database – Includes all “available” item/note/field contents (even rich text)  Get a specific document easily by referring to it's UNID – FilePath/Databasename.nsf/api/data/documents/unid/88B0527841D435A648257BF2002DFE4B
  • 19. 19 Enabling DDS - Components  DDS Extended Service – Per Domino Site – Internet Configuration Documents need to be in use  Per Database – Each Database is enabled individually – Access Choices: ● Views Only ● Views and Documents
  • 20. 20 Ensure your Domino Server is using “Internet Sites”  More configuration choices and features than traditional “Web Server Configurations”  Been around for a while...  Enabled per server  Site documents can be multi-server
  • 21. 21 Configuring the web site document is EASY  Web Site Document  Domino Access Services  Enabled Services: – Data  Restart HTTP task
  • 22. 22 Enabling the Database for DDS  Open the Database Properties  Advanced Tab  Allow Domino Data Service: – Never (default) – Views Only – Views and documents
  • 24. 2424 DDS – How do you use it?
  • 25. 25 How can we use DDS to build a Native Application  New Notes Database: – Create a Notes database – Build some features – Enable DDS  Existing Notes Database: – No design changes required! – Enable DDS  Install IBM Worklight  Create a project  Connect it to your NOTES database
  • 26. 26 Yes, I said install IBM WORKLIGHT
  • 27. 27 IBM Worklight Installation  Install Java JDK  Install Android SDK  Install Eclipse Juno (4.1)  Use the Eclipse market to install: – IBM Worklight Developer Addition – (help → Eclipse Marketplace...)
  • 28. 28 Install Java JDK  Download the JDK – http://tinyurl.com/2014AD50102  Run the Install
  • 29. 29 Install Android SDK  Normal Android Installation  Download and installation instructions: – http://tinyurl.com/2014AD50103
  • 30. 30 Install Eclipse Juno (4.1)  http://tinyurl.com/2014AD50104  Eclipse IDE for Java EE Developers  Extract the zip file...  Run “Eclipse.exe”
  • 31. 31 Use the Eclipse market to install Worklight ● IBM Worklight Developer Addition ● (help → Eclipse Marketplace...)
  • 34. 34 Give the project a name and type
  • 35. 35 Add the dojo tolkit
  • 36. 36 Design the Mobile Application
  • 39. 39 The Adapter Domain is the Base URL!
  • 40. 40 Add procedures to the Adapter
  • 41. 41 Add functions to call data using DDS
  • 42. 42 Programming guides for DDS  DDS User Guide and Reference – http://tinyurl.com/2014AD50105  DDS 9 Reference Wiki – http://tinyurl.com/2014AD50106
  • 43. 43 What the URL actually returns
  • 47. 4747 Engage Online  SocialBiz User Group socialbizug.org – Join the epicenter of Notes and Collaboration user groups  Follow us on Twitter – @IBMConnect and @IBMSocialBiz  LinkedIn http://bit.ly/SBComm – Participate in the IBM Social Business group on LinkedIn:  Facebook https://www.facebook.com/IBMSocialBiz – Like IBM Social Business on Facebook  Social Business Insights blog ibm.com/blogs/socialbusiness – Read and engage with our bloggers Engage Online
  • 48. 48  Access Connect Online to complete your session surveys using any: – Web or mobile browser – Connect Online kiosk onsite 48
  • 49. 4949 © Copyright IBM Corporation 2014. All rights reserved.  U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.  IBM, the IBM logo, ibm.com, are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. If these and other IBM trademarked terms are marked on their first occurrence in this information with a trademark symbol (® or ™), these symbols indicate U.S. registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on the Web at “Copyright and trademark information” at www.ibm.com/legal/copytrade.shtml Other company, product, or service names may be trademarks or service marks of others. Availability. References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. The workshops, sessions and materials have been prepared by IBM or the session speakers and reflect their own views. They are provided for informational purposes only, and are neither intended to, nor shall have the effect of being, legal or other guidance or advice to any participant. While efforts were made to verify the completeness and accuracy of the information contained in this presentation, it is provided AS-IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this presentation or any other materials. Nothing contained in this presentation is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other results. Acknowledgements and Disclaimers