25
Systemintegration mit Apex Callout's München 02. Juli 2015

Integrate with External Systems using Apex Callouts

Embed Size (px)

Citation preview

  1. 1. Systemintegration mit Apex Callout's Mnchen 02. Juli 2015
  2. 2. Oliver Haucke Developer (Qkom GmbH) [email protected] Nils Rosen Developer (Qkom GmbH) [email protected] Speakers
  3. 3. Safe Harbor Safe harbor 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 intellectual property and other litigation, risks associated with 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-Q for the most recent fiscal quarter ended July 31, 2012. This 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.
  4. 4. Agenda Sprecher Warum Callouts? Demo: USt-IdNr. Validierung Demo: Mailing-Plattform Q & A Ressourcen
  5. 5. Warum Callouts? Um ntzliche Dienste einzubinden! Zum Beispiel: Besttigung von auslndischen USt-IdNr. Anzahl offener Tickets eines Kunden Informationen aus anderen Systemen
  6. 6. Die API des Bundeszentralamts fr Steuern zur Besttigung von auslndischen Umsatzsteuer-Identifikationsnummern
  7. 7. Datenfluss
  8. 8. Demo: USt-IdNr. Validierung Endpunkt / Domain freigeben (Remote Site Settings) Setup > Administer > Security Controls > Remote Site Settings
  9. 9. Demo: USt-IdNr. Validierung Eigene USt-IdNr. speichern (Custom Settings) Setup > Build > Develop > Custom Settings
  10. 10. Demo: USt-IdNr. Validierung Custom Field fr die USt-IdNr. im Account Setup > Build > Customize > Accounts > Fields
  11. 11. Demo: USt-IdNr. Validierung Daten laden / HTTP Callout
  12. 12. Demo: USt-IdNr. Validierung Datenstruktur
  13. 13. Demo: USt-IdNr. Validierung Custom Button zum Auslsen der berprfung Build > Customize > Accounts > Buttons, Links, and Actions
  14. 14. Demo: USt-IdNr. Validierung
  15. 15. Demo: USt-IdNr. Validierung
  16. 16. Demo: USt-IdNr. Validierung Fazit: mit einem Trigger verwendbar Testklasse wird bentigt Alternativ komplett mit JavaScript realisierbar nicht mit einem Trigger verwendbar keine Testklasse ntig
  17. 17. Demo: USt-IdNr. Validierung mit Lightning Lightning Components Beta aktivieren Namespace falls gesetzt beachten Methode Vorbereiten @auraEnabled vor die gewnschten Methoden Methode muss Static sein
  18. 18. Demo: USt-IdNr. Validierung mit Lightning Component erstellen u.a. Controller der die Apex-Klasse aufruft Style tab anlegen, muss nicht gefllt aber vorhanden sein Application-Event erstellen bertragene Attribute definieren Zweite Component erstellen u.a. Im Controller Event auslsen Erste Component berarbeiten Event Handler erstellen und auf das Event reagieren
  19. 19. Demo: USt-IdNr. Validierung mit Lightning
  20. 20. Demo: Mailing-Plattform
  21. 21. Oliver Haucke Developer (Qkom GmbH) [email protected] Nils Rosen Developer (Qkom GmbH) [email protected] Speakers
  22. 22. Ressourcen Apex Callouts: https://goo.gl/7bJbPK Dom.Document: https://goo.gl/NdnROp String.format: https://goo.gl/8sH5ek Configuring Remote Settings: https://goo.gl/Lnv1l2 Entwicklungsumgebung: Sublime Text: https://www.sublimetext.com/ MavensMate: https://mavensmate.com/
  23. 23. Danke!
  24. 24. developer.salesforce.com/trailhead
  25. 25. Tauschen Sie sich mit anderen Entwicklern aus und erweitern Sie Ihr Wissen! Salesforce Developer Groups bit.ly/cologne_dg bit.ly/berlin_dg bit.ly/munich_dg bit.ly/zurich_dg