OPENNTF WEBINARS
December OpenNTF Webinar: The Volt MX LotusScript
Toolkit
AGENDA
• Paul Withers, HCL - Introduction to Volt MX LotusScript
Toolkit and HCL’s open source
• Jason Roy Gary, HCL - Introduction to Volt MX
LotusScript Toolkit and HCL’s open source
• Rocky Oliver, HCL - Building a demo app with Volt MX
LotusScript Toolkit
• Call to arms on Volt MX LotusScript Toolkit...and more!
ASKING QUESTIONS
• First Question – Will this be recorded?
• Yes, view on YouTube!!!
• https://www.youtube.com/user/OpenNTF
• Use the Questions Pane in GoToWebinar
• We will get to your questions at the end of
the webinar
• The speakers will respond to your questions
verbally
• (not in the Questions pane)
• Please keep all questions related to the
topics that our speakers are discussing!!!
• Unrelated Question => post at:
• http://openntf.slack.com/
THANKS TO THE OPENNTF SPONSORS
• HCL made a significant contribution to help our
organization
• Funds these webinars!
• Contests like Hackathons
• Running the organization
• Prominic donates all IT related services
• Cloud Hosting for OpenNTF
• Infrastructure management for HCL Domino and Atlassian
Servers
• System Administration for day-to-day operation
THIS IS OUR COMMUNITY
• Join us and get involved!
• We are all volunteers
• No effort is too small
• If your idea is bigger than you can do on your own, we
can connect you to a team to work on it
• Test or help or modify an existing project
• Write guides or documentation
• Add reviews on projects / stars on Snippets
Copyright © 2020 HCL Technologies Limited | www.hcltechsw.com1
Volt MX LotusScript Toolkit
Paul Withers
Technical Architect
HCL Labs
Jason Gary
CTO
HCL Labs
Rocky Oliver
Senior Software Architect
HCL Labs
Copyright © 2020 HCL Technologies Limited | www.hcltechsw.com 2
Powers developer productivity, agility, and speed to
build apps that transform your business.
Industry-leading low-code platform for
delivering beautiful apps across multiple digital touch points
with one platform.
Copyright © 2020 HCL Technologies Limited | www.hcltechsw.com 33
From native mobile to
PWAs to wearables, build
once and deploy any app,
anywhere, on one cloud-
native platform.
Innovative Interactions.
Meaningful Engagement.
Integrations
Without Limits.
Build Once.
Deploy Everywhere.
Remove backend
complexity and unlock
existing data and business
processes to reduce time to
market by more than 60%.
Engage your users in new
ways with VR, AR and
voice chat. Add your choice
of virtual elements, AI and
NLP engines with ease.
Copyright © 2020 HCL Technologies Limited | www.hcltechsw.com 4
SaaS Apps
Databases Web Services Core Systems
IoT
Integrations Without
Limits.
Accelerate backend and third-party
integrations to build powerful apps faster.
• Visually map your app to backend APIs,
databases and legacy middleware
• Pre-built and custom connectors
• Orchestrate integrations across systems
Fortune 500 Oil and Gas Company
• 11 Apps with SAP integrations for field
and compliance inspection
Copyright © 2020 HCL Technologies Limited | www.hcltechsw.com 5
But Domino is more than just CRUD and schemas
Not all Domino field types
don’t neatly map beyond
Domino
Not every field should be
read/write to all users
Security restrictions return
incorrect HTTP codes
Treating Domino as CRUD
ignores millions of lines of
business logic
Volt MX Architecture
Existing Domino
Applications
• Forms and views – IN NSF
• Business logic (script libraries)
– IN NSF
• Workflow (agents) – IN NSF
Scenario 1:
Workflow in
HCL Notes
• Action triggered
• Workflow logic runs in
Domino script
• Updates field values
accordingly
• Saves to Domino
Scenario 2:
Volt MX App
• Action triggered
• Add integration service in Volt MX
Foundry
• Volt MX Foundry calls Domino
REST service
• Domino code parses request body
• Domino code updates and saves
document
Refactoring + many additional lines of
code
Scenario 2a:
Any REST
App
• Action triggered
• Application calls Domino REST
service
• Domino code parses request body
• Domino code updates and saves
document
Refactoring + many additional lines of
code
Copyright © 2020 HCL Technologies Limited | www.hcltechsw.com 11
• REST is typical HTTP
communication
• Beyond Domino,
Agents are the entry
point to LotusScript
• Agents are not
designed for REST
Domino Agents
are crucial
Copyright © 2020 HCL Technologies Limited | www.hcltechsw.com
But what if they
could be?
12
Copyright © 2020 HCL Technologies Limited | www.hcltechsw.com 13
Volt MX LotusScript Toolkit
• Develop in the open with the community
• Local replicas and Nomad mobile out-of-scope
• If local replicas are in use, assume lack of connectivity
• Generic payload
• New Classes for building / receiving Volt MX Foundry
calls (and Project Keep calls!)
• Extension of base classes for building REST service calls
• Wrappers for processing request body
• Wrappers for building headers
• Wrappers for converting required fields to JSON object
• Wrappers for generating response body
• Can we use fluent APIs to allow chaining?
• Wrapper for adding callback URL
• Server-based scheduled agent to process workflow
• Use OpenLog for error handling
Copyright © 2020 HCL Technologies Limited | www.hcltechsw.com
Volt MX LS Toolkit
Available today on HCL-TECH-SOFTWARE GitHub
14
Copyright © 2020 HCL Technologies Limited | www.hcltechsw.com
Show Me The Code
Copyright © 2020 HCL Technologies Limited | www.hcltechsw.com 16
Next Steps
• Slack channel in OpenNTF Slack 
• Build community
• Development
• Testing
• Samples
• Documentation
• Identify features and MVP
• Allocate roles
• Plan for 1.0 (March 2021)
Copyright © 2020 HCL Technologies Limited | www.hcltechsw.com 17
But Why Stop There?
• LotusScript Uber Library
• e.g. Bubble Sorts
• Developed by HCL and community
• Apache-Licensed
• Attribution is crucial
• Some functions may need to be
built from scratch
Copyright © 2020 HCL Technologies Limited | www.hcltechsw.com 1818
Request a Free Trial
NEXT WEBINAR
• TBD
HAPPY HOLIDAYS FROM OPENNTF!
• Happy Holidays to all and best wishes for 2021!
QUESTIONS?
Use the GoToWebinar Questions Pane
Please keep all questions related to the
topics that our speakers are discussing!!!
Unrelated Question => post at:
http://openntf.slack.com/

December OpenNTF Webinar: The Volt MX LotusScript Toolkit

  • 1.
    OPENNTF WEBINARS December OpenNTFWebinar: The Volt MX LotusScript Toolkit
  • 2.
    AGENDA • Paul Withers,HCL - Introduction to Volt MX LotusScript Toolkit and HCL’s open source • Jason Roy Gary, HCL - Introduction to Volt MX LotusScript Toolkit and HCL’s open source • Rocky Oliver, HCL - Building a demo app with Volt MX LotusScript Toolkit • Call to arms on Volt MX LotusScript Toolkit...and more!
  • 3.
    ASKING QUESTIONS • FirstQuestion – Will this be recorded? • Yes, view on YouTube!!! • https://www.youtube.com/user/OpenNTF • Use the Questions Pane in GoToWebinar • We will get to your questions at the end of the webinar • The speakers will respond to your questions verbally • (not in the Questions pane) • Please keep all questions related to the topics that our speakers are discussing!!! • Unrelated Question => post at: • http://openntf.slack.com/
  • 4.
    THANKS TO THEOPENNTF SPONSORS • HCL made a significant contribution to help our organization • Funds these webinars! • Contests like Hackathons • Running the organization • Prominic donates all IT related services • Cloud Hosting for OpenNTF • Infrastructure management for HCL Domino and Atlassian Servers • System Administration for day-to-day operation
  • 5.
    THIS IS OURCOMMUNITY • Join us and get involved! • We are all volunteers • No effort is too small • If your idea is bigger than you can do on your own, we can connect you to a team to work on it • Test or help or modify an existing project • Write guides or documentation • Add reviews on projects / stars on Snippets
  • 6.
    Copyright © 2020HCL Technologies Limited | www.hcltechsw.com1 Volt MX LotusScript Toolkit Paul Withers Technical Architect HCL Labs Jason Gary CTO HCL Labs Rocky Oliver Senior Software Architect HCL Labs
  • 7.
    Copyright © 2020HCL Technologies Limited | www.hcltechsw.com 2 Powers developer productivity, agility, and speed to build apps that transform your business. Industry-leading low-code platform for delivering beautiful apps across multiple digital touch points with one platform.
  • 8.
    Copyright © 2020HCL Technologies Limited | www.hcltechsw.com 33 From native mobile to PWAs to wearables, build once and deploy any app, anywhere, on one cloud- native platform. Innovative Interactions. Meaningful Engagement. Integrations Without Limits. Build Once. Deploy Everywhere. Remove backend complexity and unlock existing data and business processes to reduce time to market by more than 60%. Engage your users in new ways with VR, AR and voice chat. Add your choice of virtual elements, AI and NLP engines with ease.
  • 9.
    Copyright © 2020HCL Technologies Limited | www.hcltechsw.com 4 SaaS Apps Databases Web Services Core Systems IoT Integrations Without Limits. Accelerate backend and third-party integrations to build powerful apps faster. • Visually map your app to backend APIs, databases and legacy middleware • Pre-built and custom connectors • Orchestrate integrations across systems Fortune 500 Oil and Gas Company • 11 Apps with SAP integrations for field and compliance inspection
  • 10.
    Copyright © 2020HCL Technologies Limited | www.hcltechsw.com 5 But Domino is more than just CRUD and schemas Not all Domino field types don’t neatly map beyond Domino Not every field should be read/write to all users Security restrictions return incorrect HTTP codes Treating Domino as CRUD ignores millions of lines of business logic
  • 11.
  • 12.
    Existing Domino Applications • Formsand views – IN NSF • Business logic (script libraries) – IN NSF • Workflow (agents) – IN NSF
  • 13.
    Scenario 1: Workflow in HCLNotes • Action triggered • Workflow logic runs in Domino script • Updates field values accordingly • Saves to Domino
  • 14.
    Scenario 2: Volt MXApp • Action triggered • Add integration service in Volt MX Foundry • Volt MX Foundry calls Domino REST service • Domino code parses request body • Domino code updates and saves document Refactoring + many additional lines of code
  • 15.
    Scenario 2a: Any REST App •Action triggered • Application calls Domino REST service • Domino code parses request body • Domino code updates and saves document Refactoring + many additional lines of code
  • 16.
    Copyright © 2020HCL Technologies Limited | www.hcltechsw.com 11 • REST is typical HTTP communication • Beyond Domino, Agents are the entry point to LotusScript • Agents are not designed for REST Domino Agents are crucial
  • 17.
    Copyright © 2020HCL Technologies Limited | www.hcltechsw.com But what if they could be? 12
  • 18.
    Copyright © 2020HCL Technologies Limited | www.hcltechsw.com 13 Volt MX LotusScript Toolkit • Develop in the open with the community • Local replicas and Nomad mobile out-of-scope • If local replicas are in use, assume lack of connectivity • Generic payload • New Classes for building / receiving Volt MX Foundry calls (and Project Keep calls!) • Extension of base classes for building REST service calls • Wrappers for processing request body • Wrappers for building headers • Wrappers for converting required fields to JSON object • Wrappers for generating response body • Can we use fluent APIs to allow chaining? • Wrapper for adding callback URL • Server-based scheduled agent to process workflow • Use OpenLog for error handling
  • 19.
    Copyright © 2020HCL Technologies Limited | www.hcltechsw.com Volt MX LS Toolkit Available today on HCL-TECH-SOFTWARE GitHub 14
  • 20.
    Copyright © 2020HCL Technologies Limited | www.hcltechsw.com Show Me The Code
  • 21.
    Copyright © 2020HCL Technologies Limited | www.hcltechsw.com 16 Next Steps • Slack channel in OpenNTF Slack  • Build community • Development • Testing • Samples • Documentation • Identify features and MVP • Allocate roles • Plan for 1.0 (March 2021)
  • 22.
    Copyright © 2020HCL Technologies Limited | www.hcltechsw.com 17 But Why Stop There? • LotusScript Uber Library • e.g. Bubble Sorts • Developed by HCL and community • Apache-Licensed • Attribution is crucial • Some functions may need to be built from scratch
  • 23.
    Copyright © 2020HCL Technologies Limited | www.hcltechsw.com 1818 Request a Free Trial
  • 24.
  • 25.
    HAPPY HOLIDAYS FROMOPENNTF! • Happy Holidays to all and best wishes for 2021!
  • 26.
    QUESTIONS? Use the GoToWebinarQuestions Pane Please keep all questions related to the topics that our speakers are discussing!!! Unrelated Question => post at: http://openntf.slack.com/