How to use the IBM Social Business Toolkit in XPages Martin Donnelly Software Architect: XPages & Domino Designer Padraic Edwards Software Developer: XPages and Social SDK IBM SBT Webinar 07/10/13
May 12, 2015
How to use the IBM Social Business Toolkit in XPages
Martin Donnelly Software Architect: XPages & Domino Designer
Padraic Edwards Software Developer: XPages and Social SDK
IBM SBT Webinar 07/10/13
© 2013 IBM Corporation2
Previous Webinars on YouTube.com/ibmsbt
© 2013 IBM Corporation3
Future Webinars
Tentatively:● 08/14: How to extend IBM Connections Communities and Profiles● 08/28: How to extend the Embedded Experience in IBM
© 2013 IBM Corporation4
Speaker Introduction
Martin Donnelly Software Architect: IBM Ireland
▬ IBM Lotus® Domino® XPages / IBM Lotus® Domino® Designer▬ IBM Lotus® Component Designer 6.0▬ JavaServer™ Faces (JSF) Tooling IBM® Rational® Application Developer ▬ Java Visual Editor extensions for IBM® Rational® Application Developer
Software Developer: Iris Associates / Lotus Development▬ IBM Lotus® Domino® Designer V4.6 to V6.01▬ IBM Lotus® 1-2-3® for Unix®, ▬ LotusScript, etc.
Author▬ Mastering XPages▬ XPages Portable Command Guide
Padraic Edwards● Software Engineer: IBM Ireland
▬ Joined IBM in 2004▬ IBM Domino® XPages▬ IBM Lotus® Notes® Composite Application Editor▬ IBM Lotus® Component Designer® 6.0▬ Java Visual Editor extensions for IBM® Rational® Application Developer▬ OpenNTF contributor▬ Social SDK contributor
Speaker Introduction
© 2013 IBM Corporation6
Disclaimers
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.
© 2013 IBM Corporation7
Agenda
● XPages and IBM SBT SDK● What you need to do to get started● A quick look at the XPages social stack● Introducing the XPages Social Enabler sample app
● XPages and the SBT Playground● Creating your 1st XPages social snippet● Diving a little deeper on playground snippets
● Beyond Snippets - Applying social capabilities to XPages applications● A practical take on some end-to-end social use cases
● Q&A
© 2013 IBM Corporation8
Getting started with XPages and IBM SBT SDK
● What you need:● Notes/Domino 9.0
● http://www.tinyurl.com/IBMDominoDesigner● IBM Social SDK
● http://ibmsbt.openntf.org/● What you should have:
● Access to IBM Connections, e.g.● a greenhouse account on https://greenhouse.lotus.com● an IBM Collaboration QuickStart Image (free 60 day trial)
● Access to other Social platforms● Twitter● Facebook● Dropbox● … you name it !
© 2013 IBM Corporation9
Installation Information
● Install the Domino SBT update site on Domino and Domino Designer● <root>\redist\domino\com.ibm.sbt.domino.updatesite.zip● Use File > Application > Install menu in Domino Designer
● Copy sample applications to Notes/Domino data folders● sbtplayground.nsf● XPagesSBT.nsf
● Open and sign these applications in Designer or Administrator● Customize the end-points defined in your sample applications● Run the applications in a web browser or the Notes client
● Users with older XPages SBT SDK:● Ensure you have the latest XPagesSBT.nsf● Uninstall old SBT SDK feature● Verify your app's library dependencies
© 2013 IBM Corporation10
The XPages Stack
● Generic Overview of XPages Runtime Stack● XPages is an application framework with an extensible core
XPages Core
XPages Ext Lib
XPages Ext LibX
XPages App N…XPages App 1 XPages App 2
Optional
Base runtime platform from 9.0
© 2013 IBM Corporation11
The XPages Social Stack
● The XPages social stack has been refactored !● Social apps no longer depend on ExtLibX but use the IBM SDK
XPagesSBT.nsf
XPages Core
XPages Ext Lib
XPages Ext LibX
That was then: June'13 … This is now: July '13
XPagesSBT.nsf
XPages Social ExtIBM SBT SDK
XPages Core
XPages Ext Lib
© 2013 IBM Corporation12
XPages Social Enabler Application
● Demo #1 ● See XPages social capabilities across a range of platforms● Understand what resides where in the XPages social stack
© 2013 IBM Corporation13
XPages Snippets in the Playground
● Demo #2 ● Creating a simple XPages social snippet from scratch● A more advanced snippet – finding relevant social info
© 2013 IBM Corporation14
Applied SBT
● Demo #3 ● Socializing a well-known application (TroubleTickets.nsf)● Integrating Connections data into a Domino application
Uses Profiles
Uses Activity Streams
Domino Document
© 2013 IBM Corporation15
Demo Summary
● What You Learned:● Calling SBT SDK APIs via JavaScript in XPages● Calling SBT SDK APIs via Java in XPages● Using XPages to bind to Connections data via XPath● Using XPages data sources to access Connections data● Integrating a Domino application with the Connections applications
XPages Connections Data Source
Data Binding Using XPath
© 2013 IBM Corporation16
What's New In Today's SBT SDK Release (July 10, 2013)
● ActivityStream Dijits support added● XPages support
● XPages Social Enabler NSF ● Renamed XPages plugin "com.ibm.xsp.extlix.sbt" to "com.ibm.xsp.sbtsdk.core" ● New XPages snippets for the SBT playground application
● Bug Fixes / Improvements● Fixes for OAuth related bugs.● Bug fixes for JS and Java wrappers and snippets● Improvements and bug fixes in Dijits samples● Updated jQuery from 1.8.0 to 1.8.2● Improved FileService JavaScript APIs● XPages
● Fix for Sametime awareness problem with 9.0● Adjustments to accomodate Twitter 1.1 api version
© 2013 IBM Corporation17
Resources and Questions
● Home page: http://ibmdw.net/social● SDK: http://ibmsbt.openntf.org● GitHub: https://github.com/OpenNTF/SocialSDK● StackOverflow: #ibmsbt● Twitter: @ibmsbt● YouTube: http://youtube.com/ibmsbt● Playground: http://bit.ly/sbtplayground
© 2013 IBM Corporation18
Acknowledgements and Disclaimers
© Copyright IBM Corporation 2013. 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, Rational, the Rational logo, Telelogic, the Telelogic logo, Green Hat, the Green Hat logo, and other IBM products and services 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.shtmlOther 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.
© 2013 IBM Corporation19
Thank You
M erciGrazie
GraciasObrigado
Danke
Japanese
French
Russian
GermanItalian
Spanish
Brazilian Portuguese
Arabic
Traditional Chinese
Simplified Chinese
Hindi
Tamil
Thai
Korean
BuochasíIrish