Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

CodeLive: Build Lightning Web Components faster with Local Development

880 Aufrufe

Veröffentlicht am

GitHub repo: https://github.com/satyasekharcvb/lwc-local-dev.git

With the release of a new beta version of Local Development, you can now build Lightning web components faster than ever before! You can now render changes, iterate rapidly, troubleshoot errors, and even connect with data from your org by spinning up a local development server on your machine.

In this session, we build Lightning web components in real time. The exciting new capabilities we showcase will enable you to be an even more productive developer.

In this CodeLive session we:

- Spin up a local development server from the CLI to rapidly edit and view components
- Observe how a rich error handling experience simplifies testing and debugging
- Learn how to proxy data from an org for more context and fine-tuned development

Veröffentlicht in: Technologie
  • Als Erste(r) kommentieren

  • Gehören Sie zu den Ersten, denen das gefällt!

CodeLive: Build Lightning Web Components faster with Local Development

  1. 1. #CodeLive with Salesforce Build Lightning Web Components faster with Local Development Sept 26, 2019 | 10:30 a.m. IST Satya Sekhar Sr. Developer Evangelist Salesforce Santanu Pal Technical Architect Cognizant
  2. 2. Forward-Looking Statement Statement under the Private Securities Litigation Reform Act of 1995: 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 Web site. 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.
  3. 3. Go Social! Salesforce Developers Salesforce Developers Salesforce Developers The video will be posted to YouTube & the webinar recap page (same URL as registration). This webinar is being recorded! @salesforcedevs
  4. 4. Have Questions? ● Don’t wait until the end to ask your question! ● Technical support will answer questions starting now. ● Respect Q&A etiquette ● Please don’t repeat questions. The support team is working their way down the queue. ● Stick around for live Q&A at the end ● Speakers will tackle more questions at the end, time-allowing ● Head to Developer Forums ● More questions? Visit developer.salesforce.com/forums
  5. 5. Build Lightning web components with Local Development for a business use case in next one hour Agenda
  6. 6. What will we be using today? ● Local Development ● Visualstudio code and its extensions ● Sample Gallery – LWC Recipes ● Component Library
  7. 7. LWC Local Development ● Live rendering of components on your local machine (without pushing to your org) ● Express Server and LWC Compiler ● Only works with LWC ● Will be shipped as part of the SFDX CLI Overview
  8. 8. LWC Local Development Features ● Local Rendering of Components and Live Reload ● Access Org Data using LDS, UI API, and Apex ● Error Handling with Error messages, Code line highlighting, and Stack trace ● Link to open in VS Code
  9. 9. Requirements
  10. 10. User Story • Field Monitor Application: As a Field Service Agent(FSA) of a MedDevice Company, I want to get the 360 view of assigned cases after login to Salesforce Lightning Platform. I can get to know the associated account (Hospital) information for the selected case. Following fields will be applicable with respect to the business entities. Case Account Case Number Name Status BillingStreet Subject BillingCity Created Date BillingState
  11. 11. How it should look like
  12. 12. Lightning App Page Agent Dashboard My Case(s) Case Number Status Subject CreatedDate Actions 00001028 New ECG Machine is not working Sept 10, 2019 Hospital – Address Details Billing Street Billing City Billing State Save
  13. 13. Let’s Design the Components
  14. 14. Component breakup Pub-Sub Model My Case(s) Case Number Status Subject CreatedDate Actions 00001028 New ECG Machine is not working Sept 10, 2019 Hospital – Address Details Billing Street Billing City Billing State Save showCases(LWC) associatedAccountInfo(LWC)
  15. 15. Implementation
  16. 16. Local Development Summary Roadmap ● Local Development ● Visualstudio code and its extensions ● Sample Gallery – LWC Recipes ● Component Library ● Flexipage Rendering ● Apex Support ● Mock Data / Live Data Recording
  17. 17. Q & A Try Trailhead: trailhead.salesforce.com Join the conversation: @salesforcedevs Join Trailblazer Community Group: bit.ly/webinarinapac
  18. 18. Survey Your feedback is crucial to the success of our webinar programs. Please fill out the survey at the end of the webinar. Thank you!