Join Kevin O'Hara and Kevin Poorman to learn more about building reusable components that you can use inside and outside of your Salesforce Org. They'll build an external dashboard surfacing Salesforce data with Lighting Web Components OSS.
Dev Dives: Streamline document processing with UiPath Studio Web
Code live with kevin o'hara lwc oss dashboard
1. Live Coding with Salesforce Developers
Oct 3, 2019
Building a Dashboard with LWC OSS, and Salesforce Data
with Kevin O’Hara and Kevin Poorman
2. Have Questions?
● Don’t wait until the end to ask your question!
● Technical support will answer questions starting now.
● Respect Q&A etiquette
● No need to repeat questions. The support team is working their way
down the queue.
● Head to the Trailblazer Community
● More questions? Visit http://trailblazer.salesforce.com/answers
3. This session is being recorded! The video will be posted to YouTube & the
session recap page (same URL as registration).
Salesforce Developers
Salesforce Developers
Salesforce Developers
@salesforcedevs
Go Social
4. This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the
assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we
make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber
growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief,
any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new
products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays
in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the
immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth,
new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger
enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form
10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important
disclosures are available on the SEC Filings section of the Investor Information section of our Website.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be
delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available.
Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
Statement under the Private Securities Litigation Reform Act of 1995
Forward-Looking Statement
5. Introductions
Explanation of the problem
Coding our solution
Recap
Talking about what we’re gonna talk about. #meta
What’re we working on today?
6. Kevin O’Hara
Developer Evangelist, Salesforce.com
Is eagerly awaiting the end of Pumpkin
Spice Everything season
Live Coding with Kevin O’Hara & Kevin Poorman
Kevin Poorman @codefriar
CTO, Super S3cret Company
Was a nightclub DJ in a previous
life #trailblazerStory
7. Building with Lightning Web Components Open Source!
Our dashboard will
● Use LWC OSS for UI
● Subscribe to a streaming topic
● Pull Salesforce Data
● Show interaction with other NPM Modules
● Pretty Graphs!
Did you know LWC is Open Source?
8. What we’ve already built.
● A basic Node (express) app - (create-lwc-app)
● Wired up JSForce
● Subscribed to a Streaming Topic
So we need to:
● Write some lightning web components to display our chart
● Wire up Socket.IO - to forward streaming api data to the client
● Give the app some basic structure (header, etc.)
Through the magic of television, we’ve already built these things
10. This way to the code
In case Kevin forgets, this is where we (finally) get away
from the slides and to the coding bits.
11. Today we
Created a node based dashboard app
Used Lightning Web Components - OSS to build a reusable and modular UI
Incorporated third party Javascript libraries like Socket-io and Charts.js into our web components
Setup Salesforce to stream update notifications to our app, and pull data from Salesforce on
demand with JSForce
mAd3 n0 Tyops.
12. Key Takeaways
Lightning Web Components are Open Source and can be easily used off-platform!
LWC OSS components play nicely with other Javascript libraries!
It’s easy to surface data from your Salesforce org in external applications!
Remember this!