Slide deck from the Dreamforce 20134 talk "Building Machine Learning Systems with Apex". Includes links to github code repository and contact details for speakers.
This slide deck is from the Advanced Apex webinar I presented for Salesforce.com which can be viewed at https://developer.salesforce.com/events/webinars/advanced_apex.
Kevin Poorman presented 10 principles of Apex testing. The principles included using asserts to validate expected behavior, using StartTest and StopTest to reset limits, writing both positive and negative tests, testing with different user profiles and permission sets, generating own test data rather than using real data, using helper libraries to facilitate testing, mocking external services to enable unit testing, writing code in a testable way, and leveraging continuous integration to catch failing tests early. Continuous integration was said to help with multiple developers working in parallel and keeping aware of test coverage.
This document compares Visualforce ActionFunction and RemoteAction for building single-page applications on the Force.com platform. It demonstrates using each approach to build a simple "This vs That" battle app. ActionFunction exposes Apex methods to JavaScript but only supports string parameters, while RemoteAction allows flexible parameter passing but requires more JavaScript code. The document also shows integrating a single-page app with jQuery, Bootstrap, Backbone and other JavaScript libraries using RemoteAction.
Action functions in Visualforce allow JavaScript functions to call Apex controller methods using an asynchronous AJAX request. An action function is defined using <apex:actionFunction> and specifies the Apex method to call. The JavaScript function can then invoke the action function to execute the controller method. Action support adds AJAX functionality to a component and calls a controller method based on events, while action functions can be directly called from JavaScript. The example demonstrates using an action function from a checkbox onclick and action support from an input field to call different controller methods and update an output text.
Description
Visualforce is a powerful web-based framework that lets you quickly develop sophisticated, custom UIs for Force.com desktop and mobile apps. Using native Visualforce markup and standard Web development technologies like HTML5, CSS, JavaScript, and jQuery, you can rapidly build rich UIs for any app.
In this webinar, we will go beyond the basics of Visualforce, and show you how to make your pages lean and fast, to provide you users with an awesome experience, resulting in high adoption rates. We will also focus on best practices and tips to help you improve page efficiency.
In addition to the above, we will also show you how to build custom components, ones that can be reused across several Visualforce pages and applications.
Key Takeaways
::Get thorough knowledge about Viewstate, JavaScript Remoting, Asynchronous Apex and Streaming API.
::Get up to speed with Visualforce components, and see examples of advanced custom Visualforce components in action.
::Discover how to use strongly typed attributes to parameterize component.
::Learn how to incorporate presentation, data and logic.
Intended Audience
This session is tailored for experienced developers who are already familiar with the Visualforce framework.
Recommended Resources
https://developer.salesforce.com/events/webinars/advanced_visualforce_salesforce1
This document summarizes a Salesforce developer session on leveraging StandardSetController in Apex and Visualforce to build a custom "Add to Campaigns" application. It discusses using StandardSetController with list view filters to retrieve campaign records, and an Apex controller extension to integrate this with a Visualforce page. It allows users to select multiple campaigns to add a contact or lead to using checkboxes, while leveraging existing platform functionality and custom settings for customization. Code samples demonstrate the controller, wrappers, and custom setting used.
Javascript and Remote Objects on Force.com Winter 15Peter Chittum
A round up of the state of Javascript on Force.com now that remote objects are about to go GA on Force.com in Winter 15. There are now four great options for invoking Javascript on your Visualforce page. Learn what they are, and more importantly why you need all of them, and when to use each one. Delivered at Salesforce Developer Group North on 18 September, 2014.
Join us to learn how to manage those outlier issues when standard Visualforce, and all other options, will simply become too burdensome to manage. We'll build on use cases with Dynamic Visualforce Components, speaking to these technologies, demoing them, and showing real-life use cases where these have been used in production.
This slide deck is from the Advanced Apex webinar I presented for Salesforce.com which can be viewed at https://developer.salesforce.com/events/webinars/advanced_apex.
Kevin Poorman presented 10 principles of Apex testing. The principles included using asserts to validate expected behavior, using StartTest and StopTest to reset limits, writing both positive and negative tests, testing with different user profiles and permission sets, generating own test data rather than using real data, using helper libraries to facilitate testing, mocking external services to enable unit testing, writing code in a testable way, and leveraging continuous integration to catch failing tests early. Continuous integration was said to help with multiple developers working in parallel and keeping aware of test coverage.
This document compares Visualforce ActionFunction and RemoteAction for building single-page applications on the Force.com platform. It demonstrates using each approach to build a simple "This vs That" battle app. ActionFunction exposes Apex methods to JavaScript but only supports string parameters, while RemoteAction allows flexible parameter passing but requires more JavaScript code. The document also shows integrating a single-page app with jQuery, Bootstrap, Backbone and other JavaScript libraries using RemoteAction.
Action functions in Visualforce allow JavaScript functions to call Apex controller methods using an asynchronous AJAX request. An action function is defined using <apex:actionFunction> and specifies the Apex method to call. The JavaScript function can then invoke the action function to execute the controller method. Action support adds AJAX functionality to a component and calls a controller method based on events, while action functions can be directly called from JavaScript. The example demonstrates using an action function from a checkbox onclick and action support from an input field to call different controller methods and update an output text.
Description
Visualforce is a powerful web-based framework that lets you quickly develop sophisticated, custom UIs for Force.com desktop and mobile apps. Using native Visualforce markup and standard Web development technologies like HTML5, CSS, JavaScript, and jQuery, you can rapidly build rich UIs for any app.
In this webinar, we will go beyond the basics of Visualforce, and show you how to make your pages lean and fast, to provide you users with an awesome experience, resulting in high adoption rates. We will also focus on best practices and tips to help you improve page efficiency.
In addition to the above, we will also show you how to build custom components, ones that can be reused across several Visualforce pages and applications.
Key Takeaways
::Get thorough knowledge about Viewstate, JavaScript Remoting, Asynchronous Apex and Streaming API.
::Get up to speed with Visualforce components, and see examples of advanced custom Visualforce components in action.
::Discover how to use strongly typed attributes to parameterize component.
::Learn how to incorporate presentation, data and logic.
Intended Audience
This session is tailored for experienced developers who are already familiar with the Visualforce framework.
Recommended Resources
https://developer.salesforce.com/events/webinars/advanced_visualforce_salesforce1
This document summarizes a Salesforce developer session on leveraging StandardSetController in Apex and Visualforce to build a custom "Add to Campaigns" application. It discusses using StandardSetController with list view filters to retrieve campaign records, and an Apex controller extension to integrate this with a Visualforce page. It allows users to select multiple campaigns to add a contact or lead to using checkboxes, while leveraging existing platform functionality and custom settings for customization. Code samples demonstrate the controller, wrappers, and custom setting used.
Javascript and Remote Objects on Force.com Winter 15Peter Chittum
A round up of the state of Javascript on Force.com now that remote objects are about to go GA on Force.com in Winter 15. There are now four great options for invoking Javascript on your Visualforce page. Learn what they are, and more importantly why you need all of them, and when to use each one. Delivered at Salesforce Developer Group North on 18 September, 2014.
Join us to learn how to manage those outlier issues when standard Visualforce, and all other options, will simply become too burdensome to manage. We'll build on use cases with Dynamic Visualforce Components, speaking to these technologies, demoing them, and showing real-life use cases where these have been used in production.
Description
Part of what truly makes a platform is an ability to integrate with third party devices, servers and software. Join Ami Assayag and Kirk Steffke from CRM Science and Developer Evangelist Josh Birk as they breakdown examples of using Apex for integration solutions. Apex has robust methods for handling both inbound requests into Salesforce and outbound calls into third party systems. This webinar will break down how Apex can be used in these cases as well as how to test the code once it is up and running.
Key Takeaways
- How Apex fits into an integration solution
- Using Apex to create custom endpoints
- Handling outbound calls with Apex
- How to achieve test coverage with mock interfaces
Intended Audience
Developers with Apex experience looking to integrate with either existing API’s or expanding the functionality of Salesforce API’s.
JavaScript Integration with Visualforce
Description
Visualforce has come a long way when with its ability to integrate with JavaScript. Developers are no longer limited to simply looping Apex functions via the actionFunction component, with Remote Objects live in the last Summer release it is possible to create fully functional HTML5 applications without writing any Apex for basic cread, read, update, delete and query functions.
Join Developer Evangelist Josh Birk as he walks through the various aspects of Visualforce which makes it easy to build applications in a variety of HTML5 frameworks and libraries.
Key Takeaways
::Visualforce now supports a fine level of control over how the page is constructed
::With JavaScript Remoting and Remote Objects you can easily integrate the data layer into your application
::Integrating existing HTML5 frameworks and libraries is easy with Visualforce
Intended Audience
::Existing Visualforce developers looking to keep up to date on the latest features when using JavaScript.
::HTML5 Developers interested in leverage Visualforce to build their applications.
Recommended Resources:
https://developer.salesforce.com/en/events/webinars/JavaScript_Integration_with_Visualforce
Triggers are procedural code that automatically execute in response to database events like record inserts, updates, or deletes. When a record is saved, various processes are run including validation rules, workflow rules, and triggers. Triggers allow developers to perform complex calculations and automatically create related records in a way that standard tools like workflow cannot. Best practice is to use triggers only when necessary since they are harder to maintain than declarative tools. Developers should thoroughly test trigger code and have at least 75% code coverage before deploying to production.
Watch this webinar to discover new and updated Salesforce Platform features coming in the Winter '14 Release including:
Force.com Canvas -- Force.com Canvas continues to add useful features such as ability to access a Canvas app from the Chatter Publisher Action, support for the Streaming API along with modified user permissions and SDK field changes.
API Updates -- New features added to SOQL, SOSL, REST API, SOAP API, Chatter API, Metadata API and the Streaming API. Additionally, we continue to make performance improvements to the Bulk API, Tooling API and Analytics REST API.
Visualforce Updates -- Visualforce enhancements in Winter ’14 are focused on improving the experience of developing HTML5 apps, with some additional development tools improvements and other changes.
Developer Console -- New features have been added to make code management within your organization much easier.
Apex Code -- New classes, methods and interfaces have been added. Updates have been made to Chatter in Apex as well as new classes have been included in Winter ‘14.
Curious about Einstein Platform Services, and how to use them to build AI-powered apps? Join us for this exclusive, interactive webinar where you can ask product owners, Michael Machado and Zineb Laraki, anything you want! We’ll also have your favorite green wigged evangelist, René Winkelmeyer, on hand to answer any burning questions - don’t miss out! We might even have some roadmap hints :)
In this exclusive webinar, you'll learn about
What’s coming next
What we’re most excited about
How to become an AI expert in no time
How to get started today on some amazing applications
Intro to Apex - Salesforce Force Friday Webinar Abhinav Gupta
The document provides an introduction to Apex, the programming language of the Salesforce platform. It discusses how Apex can be used to build both the user interface and business logic layers of applications. It also summarizes key Apex concepts like triggers, interfaces, annotations, testing and deployment. Resources for learning more about Apex like Trailhead, developer guides and discussion boards are recommended.
Join us as we show you how to develop advanced, interactive tables and charts in Visualforce using a combination of jQuery and JavaScript Remoting. Learn how to quickly turn a simple HTML table into a sortable and filterable table with pagination, and how to build an interactive chart to display complex relationships.
This document discusses best practices for testing Apex code in Salesforce. It recommends writing tests to validate both positive and negative scenarios. Specific areas that should be tested include user access permissions, exceptions, and bulk operations. The document provides guidance on setting up test data, avoiding SeeAllData, and using TestSetup to share data across tests. It also recommends using Test.startTest/stopTest to reset governor limits between tests. The goal of testing is to ensure the code performs as expected and to avoid bugs by systematically validating different situations.
Talk given by Gavin Austin, Principal Technical Writer, and Ted Kuster, Lead Technical Writer, at STC Silicon Valley meetup on February 2016
Customers no longer have the patience to read online help or user guides. To help customers better understand why they should use a variety of features, and renew their subscription-based apps, Salesforce conducted research to determine the content types that engaged customers most. The result—Salesforce changed its content strategy.
In this session, you’ll learn:
What types of interactive content we’re creating at Salesforce
Why Salesforce moved to interactive content over documentation
How a large company changed its content strategy and how customers responded
A mini framework for event handling on the OpportunityContactRole (OCR) and AccountContactRole (ACR) objects. Using a custom (dynamic) Visualforce page driven by a controller extension, you can replace the standard related lists
NgForce: A JS Library For Quickly Building Salesforce Apps Using AngularJSSalesforce Developers
AngularJS is an extremely popular JavaScript framework from Google. It makes building front-end apps easy and efficient. It's feature-rich and extensible, and allows us to easily build libraries on top of it. ngForce is one such library that extends AngularJS and provides various Force.com APIs to make it trivial to build HTML5 Force.com apps. Join us for an introduction to the Angular.js framework, and to the ngForce framework for Angular Salesforce applications. You'll experience the rapidity and flexibility of Angular and ngForce by participating in the development of a simple, responsive desktop and mobile application that displays Opportunities from a development org, and more.
This session will introduce Locker Service, a new feature of the Lightning Component Framework which serves to manage JavaScript security while rendering Lightning applications. Get the background on why Locker Service is necessary, what you'll need to know to implement and the advantages it offers the platform.
The document provides an introduction to Apex triggers in Salesforce, explaining that triggers are custom code that automatically executes in response to create, update, or delete events on objects. It discusses when triggers should be used compared to other options like workflow rules, and gives examples of how triggers could be used to automatically create related records or send emails in response to events. The document also covers best practices for testing and deploying trigger code to production environments.
Highly efficient Visualforce pages have rock-solid HTML, CSS, and JavaScript. They do not support a single pixel-perfect UI across all browsers and instead allow for differences. They are also stateless, do not poll servers excessively, and defer difficult work asynchronously using techniques like the transient keyword, Visualforce remoting, streaming API, and the @future annotation.
This document discusses using Lightning Communities to build better communities. It provides an overview of the evolution of Lightning Communities from basic templates to full platform capabilities. Lightning Community Templates offer pre-packaged solutions for use cases like customer service, partner portals, and helpdesks. The Lightning Community Builder allows customizing communities visually without coding. The document also promotes social engagement around Salesforce communities.
Join Kevin as he shares techniques for deploying changes to Salesforce, from quick fixes to well-developed ALM strategies featuring continuous integration with automated deployments. Even in the world of No Software, engineers still need to collaborate in order to get the most out of the platform. Reflecting on his experiences over a year of speaking with developers and admins, Kevin will explain how you can work together effectively and make changes to your Salesforce organizations safely.
The Salesforce object model and the SOQL query language form the foundation of working with Salesforce data. While most developers are SQL-literate, there are small but important distinctions between SOQL and SQL. In this webinar, developers new to Salesforce will come to understand these differences, jumpstarting their Salesforce developer success.
Einstein Analytics is the Salesforce-native analytics platform, providing users with insights into their business. This session dives into topics including APIs, metadata, packaging, and other development tools. Whether you’re just getting started or have already been working with Einstein Analytics, join and learn how to best use this analytics suite to build the customer apps people love.
1. Salesforce Connect allows connecting Salesforce to external data sources using OData. It supports OData 2.0 and 4.0 protocols to connect to systems like SAP and Microsoft.
2. Data can be accessed from external systems through Salesforce using the Force.com REST API and exposed via OData. Apex can also be used to build OData services to access external data.
3. Examples of using Salesforce Connect with Heroku Postgres database were shown to demonstrate retrieving and updating data between the two systems via OData endpoints.
Visualforce, a flexible Web-based framework that lets you develop custom UIs for Salesforce and Force.com desktop and mobile apps, lets you implement pages and controllers as you see fit. Often times, though, new or aging designs yield pages that are slow and unresponsive. Join us to learn how to build efficient Visualforce pages. We'll focus on two key areas for tuning, then treat you to the unveiling of a new third-party tool you can use to scan your org, and find tuning opportunities in the source code for your Visualforce pages and controllers.
Lightning Fast Tips For Your Lightning Roll Out by Kim Schaefges, Nicole Dams...Salesforce Admins
Lightning Fast Tips for your Lightning Rollout provides 10 tips for organizations transitioning to Salesforce Lightning Experience:
1. Set a timeline and dedicate time for thorough testing in a sandbox environment.
2. Create a readiness report to evaluate current functionality.
3. Start testing in a sandbox before full rollout.
4. Enlist power users to help test by creating a permission set.
5. Thoroughly test all existing functionality and applications for compatibility.
6. Vet and configure any new features.
7. Build excitement among end users with communications and Trailhead badges.
8. Plan a phased rollout by business unit or group.
The document outlines 10 commandments or best practices for developing on the Salesforce platform:
1. Keep code simple with the KISS principle
2. Avoid putting queries in for loops
3. Avoid putting DML operations in for loops
4. Only have one trigger per object
5. Only put trigger execution logic in triggers
6. Balance clicks vs code for a happy admin and developer
7. Use maps for efficient queries when needed
8. Leverage relationships to reduce queries
9. Aim for 100% test coverage of all code
10. Write meaningful tests that assert expected behavior
The document provides guidelines but also notes they can be broken when
Description
Part of what truly makes a platform is an ability to integrate with third party devices, servers and software. Join Ami Assayag and Kirk Steffke from CRM Science and Developer Evangelist Josh Birk as they breakdown examples of using Apex for integration solutions. Apex has robust methods for handling both inbound requests into Salesforce and outbound calls into third party systems. This webinar will break down how Apex can be used in these cases as well as how to test the code once it is up and running.
Key Takeaways
- How Apex fits into an integration solution
- Using Apex to create custom endpoints
- Handling outbound calls with Apex
- How to achieve test coverage with mock interfaces
Intended Audience
Developers with Apex experience looking to integrate with either existing API’s or expanding the functionality of Salesforce API’s.
JavaScript Integration with Visualforce
Description
Visualforce has come a long way when with its ability to integrate with JavaScript. Developers are no longer limited to simply looping Apex functions via the actionFunction component, with Remote Objects live in the last Summer release it is possible to create fully functional HTML5 applications without writing any Apex for basic cread, read, update, delete and query functions.
Join Developer Evangelist Josh Birk as he walks through the various aspects of Visualforce which makes it easy to build applications in a variety of HTML5 frameworks and libraries.
Key Takeaways
::Visualforce now supports a fine level of control over how the page is constructed
::With JavaScript Remoting and Remote Objects you can easily integrate the data layer into your application
::Integrating existing HTML5 frameworks and libraries is easy with Visualforce
Intended Audience
::Existing Visualforce developers looking to keep up to date on the latest features when using JavaScript.
::HTML5 Developers interested in leverage Visualforce to build their applications.
Recommended Resources:
https://developer.salesforce.com/en/events/webinars/JavaScript_Integration_with_Visualforce
Triggers are procedural code that automatically execute in response to database events like record inserts, updates, or deletes. When a record is saved, various processes are run including validation rules, workflow rules, and triggers. Triggers allow developers to perform complex calculations and automatically create related records in a way that standard tools like workflow cannot. Best practice is to use triggers only when necessary since they are harder to maintain than declarative tools. Developers should thoroughly test trigger code and have at least 75% code coverage before deploying to production.
Watch this webinar to discover new and updated Salesforce Platform features coming in the Winter '14 Release including:
Force.com Canvas -- Force.com Canvas continues to add useful features such as ability to access a Canvas app from the Chatter Publisher Action, support for the Streaming API along with modified user permissions and SDK field changes.
API Updates -- New features added to SOQL, SOSL, REST API, SOAP API, Chatter API, Metadata API and the Streaming API. Additionally, we continue to make performance improvements to the Bulk API, Tooling API and Analytics REST API.
Visualforce Updates -- Visualforce enhancements in Winter ’14 are focused on improving the experience of developing HTML5 apps, with some additional development tools improvements and other changes.
Developer Console -- New features have been added to make code management within your organization much easier.
Apex Code -- New classes, methods and interfaces have been added. Updates have been made to Chatter in Apex as well as new classes have been included in Winter ‘14.
Curious about Einstein Platform Services, and how to use them to build AI-powered apps? Join us for this exclusive, interactive webinar where you can ask product owners, Michael Machado and Zineb Laraki, anything you want! We’ll also have your favorite green wigged evangelist, René Winkelmeyer, on hand to answer any burning questions - don’t miss out! We might even have some roadmap hints :)
In this exclusive webinar, you'll learn about
What’s coming next
What we’re most excited about
How to become an AI expert in no time
How to get started today on some amazing applications
Intro to Apex - Salesforce Force Friday Webinar Abhinav Gupta
The document provides an introduction to Apex, the programming language of the Salesforce platform. It discusses how Apex can be used to build both the user interface and business logic layers of applications. It also summarizes key Apex concepts like triggers, interfaces, annotations, testing and deployment. Resources for learning more about Apex like Trailhead, developer guides and discussion boards are recommended.
Join us as we show you how to develop advanced, interactive tables and charts in Visualforce using a combination of jQuery and JavaScript Remoting. Learn how to quickly turn a simple HTML table into a sortable and filterable table with pagination, and how to build an interactive chart to display complex relationships.
This document discusses best practices for testing Apex code in Salesforce. It recommends writing tests to validate both positive and negative scenarios. Specific areas that should be tested include user access permissions, exceptions, and bulk operations. The document provides guidance on setting up test data, avoiding SeeAllData, and using TestSetup to share data across tests. It also recommends using Test.startTest/stopTest to reset governor limits between tests. The goal of testing is to ensure the code performs as expected and to avoid bugs by systematically validating different situations.
Talk given by Gavin Austin, Principal Technical Writer, and Ted Kuster, Lead Technical Writer, at STC Silicon Valley meetup on February 2016
Customers no longer have the patience to read online help or user guides. To help customers better understand why they should use a variety of features, and renew their subscription-based apps, Salesforce conducted research to determine the content types that engaged customers most. The result—Salesforce changed its content strategy.
In this session, you’ll learn:
What types of interactive content we’re creating at Salesforce
Why Salesforce moved to interactive content over documentation
How a large company changed its content strategy and how customers responded
A mini framework for event handling on the OpportunityContactRole (OCR) and AccountContactRole (ACR) objects. Using a custom (dynamic) Visualforce page driven by a controller extension, you can replace the standard related lists
NgForce: A JS Library For Quickly Building Salesforce Apps Using AngularJSSalesforce Developers
AngularJS is an extremely popular JavaScript framework from Google. It makes building front-end apps easy and efficient. It's feature-rich and extensible, and allows us to easily build libraries on top of it. ngForce is one such library that extends AngularJS and provides various Force.com APIs to make it trivial to build HTML5 Force.com apps. Join us for an introduction to the Angular.js framework, and to the ngForce framework for Angular Salesforce applications. You'll experience the rapidity and flexibility of Angular and ngForce by participating in the development of a simple, responsive desktop and mobile application that displays Opportunities from a development org, and more.
This session will introduce Locker Service, a new feature of the Lightning Component Framework which serves to manage JavaScript security while rendering Lightning applications. Get the background on why Locker Service is necessary, what you'll need to know to implement and the advantages it offers the platform.
The document provides an introduction to Apex triggers in Salesforce, explaining that triggers are custom code that automatically executes in response to create, update, or delete events on objects. It discusses when triggers should be used compared to other options like workflow rules, and gives examples of how triggers could be used to automatically create related records or send emails in response to events. The document also covers best practices for testing and deploying trigger code to production environments.
Highly efficient Visualforce pages have rock-solid HTML, CSS, and JavaScript. They do not support a single pixel-perfect UI across all browsers and instead allow for differences. They are also stateless, do not poll servers excessively, and defer difficult work asynchronously using techniques like the transient keyword, Visualforce remoting, streaming API, and the @future annotation.
This document discusses using Lightning Communities to build better communities. It provides an overview of the evolution of Lightning Communities from basic templates to full platform capabilities. Lightning Community Templates offer pre-packaged solutions for use cases like customer service, partner portals, and helpdesks. The Lightning Community Builder allows customizing communities visually without coding. The document also promotes social engagement around Salesforce communities.
Join Kevin as he shares techniques for deploying changes to Salesforce, from quick fixes to well-developed ALM strategies featuring continuous integration with automated deployments. Even in the world of No Software, engineers still need to collaborate in order to get the most out of the platform. Reflecting on his experiences over a year of speaking with developers and admins, Kevin will explain how you can work together effectively and make changes to your Salesforce organizations safely.
The Salesforce object model and the SOQL query language form the foundation of working with Salesforce data. While most developers are SQL-literate, there are small but important distinctions between SOQL and SQL. In this webinar, developers new to Salesforce will come to understand these differences, jumpstarting their Salesforce developer success.
Einstein Analytics is the Salesforce-native analytics platform, providing users with insights into their business. This session dives into topics including APIs, metadata, packaging, and other development tools. Whether you’re just getting started or have already been working with Einstein Analytics, join and learn how to best use this analytics suite to build the customer apps people love.
1. Salesforce Connect allows connecting Salesforce to external data sources using OData. It supports OData 2.0 and 4.0 protocols to connect to systems like SAP and Microsoft.
2. Data can be accessed from external systems through Salesforce using the Force.com REST API and exposed via OData. Apex can also be used to build OData services to access external data.
3. Examples of using Salesforce Connect with Heroku Postgres database were shown to demonstrate retrieving and updating data between the two systems via OData endpoints.
Visualforce, a flexible Web-based framework that lets you develop custom UIs for Salesforce and Force.com desktop and mobile apps, lets you implement pages and controllers as you see fit. Often times, though, new or aging designs yield pages that are slow and unresponsive. Join us to learn how to build efficient Visualforce pages. We'll focus on two key areas for tuning, then treat you to the unveiling of a new third-party tool you can use to scan your org, and find tuning opportunities in the source code for your Visualforce pages and controllers.
Lightning Fast Tips For Your Lightning Roll Out by Kim Schaefges, Nicole Dams...Salesforce Admins
Lightning Fast Tips for your Lightning Rollout provides 10 tips for organizations transitioning to Salesforce Lightning Experience:
1. Set a timeline and dedicate time for thorough testing in a sandbox environment.
2. Create a readiness report to evaluate current functionality.
3. Start testing in a sandbox before full rollout.
4. Enlist power users to help test by creating a permission set.
5. Thoroughly test all existing functionality and applications for compatibility.
6. Vet and configure any new features.
7. Build excitement among end users with communications and Trailhead badges.
8. Plan a phased rollout by business unit or group.
The document outlines 10 commandments or best practices for developing on the Salesforce platform:
1. Keep code simple with the KISS principle
2. Avoid putting queries in for loops
3. Avoid putting DML operations in for loops
4. Only have one trigger per object
5. Only put trigger execution logic in triggers
6. Balance clicks vs code for a happy admin and developer
7. Use maps for efficient queries when needed
8. Leverage relationships to reduce queries
9. Aim for 100% test coverage of all code
10. Write meaningful tests that assert expected behavior
The document provides guidelines but also notes they can be broken when
Force.com is designed to let you rapidly build custom applications for the cloud via configuration-driven development, and programmatic logic with Apex and Visualforce. With Force.com, you can design open, mobile, social, and real-time apps in the cloud five times faster than traditional software development approaches. Join us for an overview of the Force.com Platform, and learn how to get started building your first app in the cloud.
"We'll need an Apex trigger to do that." Sound familiar? Take your advanced Admin skills to the next level by developing Apex triggers to solve complex business requirements that can't be implemented using just the configuration-driven features of Force.com. Join us to learn when and how to write your first Apex trigger, and some best practices for making them effective.
Migrate legacy Salesforce CPQ to Advanced Calculator with the help of JSQCP. With Advanced Calculator, you can boost the runtime of quote creation. Join this webinar to learn what is required for migration - we’ll also walk through JSQCP.
The AppExchange Marketplace is one of the major ways for customers to learn about your app and how it can benefit them. It is a key element that needs to be in your business’ marketing strategy and building a high-performing listing is a key competitive differentiator. Join us in this session to learn how to build an optimized AppExchange listing and deliver a great custome experience.
This document provides an overview of the Salesforce platform and Force.com development. It discusses interactive questions and feedback, checking your developer edition environment, and an online workbook. It also includes a safe harbor statement regarding forward-looking statements. The document then covers various topics related to the Salesforce platform including mobile development, data modeling, declarative logic, Apex programming, Visualforce, and tutorials for building custom app logic.
New to Force.com and needing a quick orientation to bring you up to speed? Join us for this series of brief introductory sessions on Force.com, the world’s leading cloud platform that lets you build apps rapidly using configuration-driven development and powerful programmatic logic.
Each Friday one of our experts will walk you through one of the core elements of the Force.com platform and cover the basics you need to build your first app in the cloud. Each session is 30 minutes long.
Enhancing Your Lightning Apps with Einstein Analyticsrikkehovgaard
Go beyond traditional reports and dashboards with embedded Einstein Analytics, including everything from a single KPI to a full-featured interactive dashboard. Join us to learn how analytics can enhance and extend your apps, without your users having to be trained as data scientists or business analysts. We will also be providing an early look at the enhancements to the product for the upcoming Winter '20 release.
The document summarizes Blue Clover Devices, an IoT ODM company that provides design and manufacturing services. It discusses how Blue Clover selected the Kenandy ERP system to manage its millions in component inventory, evolving IoT products, and need for a modern cloud-based solution. Key facts are that Blue Clover has 128 employees between its US and China offices and that Kenandy consolidates functions like purchasing, inventory, suppliers and more for use across the company's departments.
Squash Bugs with the Apex Debugger (TDX'17)Vivek Chawla
The Apex Debugger is a powerful tool that has helped reduce the pain of debugging your Apex code. This session takes you on a deep-dive tour of the Debugger. We'll walk through a live demo showing you how to setup the debugger and highlight the key features of the Apex Debugger plug-in for Eclipse. We'll even walk through a simple debugging puzzle, demonstrating how you might use the debugger for your own projects. This session is for intermediate to experienced Apex Developers.
Batch jobs are a powerful tool that can be used to perform resource-intensive data processing. Join us as we focus on tuning and structuring batch jobs to handle enterprise-level data and business needs in a performant and reliable manner. We'll discuss and provide tips and solutions on issues like avoiding the Salesforce governor limits, increasing the speed of execution, and adding configurability and error management with and without building a batch job framework. We'll also identify and offer workarounds for some gotchas like iterating over custom settings.
The Force.com platform was written to optimize multi tenant resources. Your code should be, too. In this session you will learn why it is important to bulkify your code and see concrete examples of best practices. This will include the use of custom settings, optimization with maps, and how to avoid breaching governor limits.
Greg Wester introduces Apex Realtime Debugger, a new tool that allows developers to debug Apex code and triggers live in sandboxes and production environments. It instruments the platform to observe Apex code execution and provides unit tests, debug logs, and an interactive debugger. This helps developers reproduce and fix bugs that may only appear in complex sandbox and production environments due to differences from developer orgs in metadata, data, and managed code. The debugger can be used to debug async Apex code and works like a local debugger with a dedicated leased line session. It is generally available with licenses assigned per org and can be trialed.
Release Management: Managing Your Internal ReleasesJoshua Hoskins
Too many cooks in the kitchen? Too many changes made in production? Join us to learn how other companies streamlined their release management process, and increased the quality and efficiency of their development cycles.
Video: http://www.slideshare.net/hoskinj/release-management-managing-your-internal-releases
This document discusses building mobile apps on the Salesforce1 platform. It provides a safe harbor statement and then discusses connecting everything through building innovative customer apps and automating processes with employee apps. It demonstrates the Salesforce1 platform and mobile SDK, highlighting interaction methods, look and feel options, frameworks, and capabilities like push notifications and offline sync. It positions building custom mobile apps or using the Salesforce1 app to fill gaps in a company's mobile app portfolio.
The document provides an overview of key concepts for transitioning to Force.com development from other platforms, including governor limits, execution context, DML vs the Database class, triggers, bulkification, asynchronous Apex, and unit testing. It highlights best practices such as bulkifying code to avoid hitting governor limits within for loops, using asynchronous Apex to increase limits, and writing unit tests to assert expected behavior. Resources for additional information on Apex development are also referenced.
Join us to learn how Salesforce Platform R&D is exploring new ways to scale data processing and aggregation from millions of devices. Learn about new frameworks, the challenges with large number of data sources and volumes of information, and making it all work. This session covers internal projects under incubation.
Similar to Df14 Building Machine Learning Systems with Apex (20)
Driving Business Innovation: Latest Generative AI Advancements & Success StorySafe Software
Are you ready to revolutionize how you handle data? Join us for a webinar where we’ll bring you up to speed with the latest advancements in Generative AI technology and discover how leveraging FME with tools from giants like Google Gemini, Amazon, and Microsoft OpenAI can supercharge your workflow efficiency.
During the hour, we’ll take you through:
Guest Speaker Segment with Hannah Barrington: Dive into the world of dynamic real estate marketing with Hannah, the Marketing Manager at Workspace Group. Hear firsthand how their team generates engaging descriptions for thousands of office units by integrating diverse data sources—from PDF floorplans to web pages—using FME transformers, like OpenAIVisionConnector and AnthropicVisionConnector. This use case will show you how GenAI can streamline content creation for marketing across the board.
Ollama Use Case: Learn how Scenario Specialist Dmitri Bagh has utilized Ollama within FME to input data, create custom models, and enhance security protocols. This segment will include demos to illustrate the full capabilities of FME in AI-driven processes.
Custom AI Models: Discover how to leverage FME to build personalized AI models using your data. Whether it’s populating a model with local data for added security or integrating public AI tools, find out how FME facilitates a versatile and secure approach to AI.
We’ll wrap up with a live Q&A session where you can engage with our experts on your specific use cases, and learn more about optimizing your data workflows with AI.
This webinar is ideal for professionals seeking to harness the power of AI within their data management systems while ensuring high levels of customization and security. Whether you're a novice or an expert, gain actionable insights and strategies to elevate your data processes. Join us to see how FME and AI can revolutionize how you work with data!
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on integration of Salesforce with Bonterra Impact Management.
Interested in deploying an integration with Salesforce for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
GraphRAG for Life Science to increase LLM accuracyTomaz Bratanic
GraphRAG for life science domain, where you retriever information from biomedical knowledge graphs using LLMs to increase the accuracy and performance of generated answers
Programming Foundation Models with DSPy - Meetup SlidesZilliz
Prompting language models is hard, while programming language models is easy. In this talk, I will discuss the state-of-the-art framework DSPy for programming foundation models with its powerful optimizers and runtime constraint system.
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...Alex Pruden
Folding is a recent technique for building efficient recursive SNARKs. Several elegant folding protocols have been proposed, such as Nova, Supernova, Hypernova, Protostar, and others. However, all of them rely on an additively homomorphic commitment scheme based on discrete log, and are therefore not post-quantum secure. In this work we present LatticeFold, the first lattice-based folding protocol based on the Module SIS problem. This folding protocol naturally leads to an efficient recursive lattice-based SNARK and an efficient PCD scheme. LatticeFold supports folding low-degree relations, such as R1CS, as well as high-degree relations, such as CCS. The key challenge is to construct a secure folding protocol that works with the Ajtai commitment scheme. The difficulty, is ensuring that extracted witnesses are low norm through many rounds of folding. We present a novel technique using the sumcheck protocol to ensure that extracted witnesses are always low norm no matter how many rounds of folding are used. Our evaluation of the final proof system suggests that it is as performant as Hypernova, while providing post-quantum security.
Paper Link: https://eprint.iacr.org/2024/257
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc
How does your privacy program stack up against your peers? What challenges are privacy teams tackling and prioritizing in 2024?
In the fifth annual Global Privacy Benchmarks Survey, we asked over 1,800 global privacy professionals and business executives to share their perspectives on the current state of privacy inside and outside of their organizations. This year’s report focused on emerging areas of importance for privacy and compliance professionals, including considerations and implications of Artificial Intelligence (AI) technologies, building brand trust, and different approaches for achieving higher privacy competence scores.
See how organizational priorities and strategic approaches to data security and privacy are evolving around the globe.
This webinar will review:
- The top 10 privacy insights from the fifth annual Global Privacy Benchmarks Survey
- The top challenges for privacy leaders, practitioners, and organizations in 2024
- Key themes to consider in developing and maintaining your privacy program
Your One-Stop Shop for Python Success: Top 10 US Python Development Providersakankshawande
Simplify your search for a reliable Python development partner! This list presents the top 10 trusted US providers offering comprehensive Python development services, ensuring your project's success from conception to completion.
Introduction of Cybersecurity with OSS at Code Europe 2024Hiroshi SHIBATA
I develop the Ruby programming language, RubyGems, and Bundler, which are package managers for Ruby. Today, I will introduce how to enhance the security of your application using open-source software (OSS) examples from Ruby and RubyGems.
The first topic is CVE (Common Vulnerabilities and Exposures). I have published CVEs many times. But what exactly is a CVE? I'll provide a basic understanding of CVEs and explain how to detect and handle vulnerabilities in OSS.
Next, let's discuss package managers. Package managers play a critical role in the OSS ecosystem. I'll explain how to manage library dependencies in your application.
I'll share insights into how the Ruby and RubyGems core team works to keep our ecosystem safe. By the end of this talk, you'll have a better understanding of how to safeguard your code.
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyScyllaDB
Freshworks creates AI-boosted business software that helps employees work more efficiently and effectively. Managing data across multiple RDBMS and NoSQL databases was already a challenge at their current scale. To prepare for 10X growth, they knew it was time to rethink their database strategy. Learn how they architected a solution that would simplify scaling while keeping costs under control.
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Tatiana Kojar
Skybuffer AI, built on the robust SAP Business Technology Platform (SAP BTP), is the latest and most advanced version of our AI development, reaffirming our commitment to delivering top-tier AI solutions. Skybuffer AI harnesses all the innovative capabilities of the SAP BTP in the AI domain, from Conversational AI to cutting-edge Generative AI and Retrieval-Augmented Generation (RAG). It also helps SAP customers safeguard their investments into SAP Conversational AI and ensure a seamless, one-click transition to SAP Business AI.
With Skybuffer AI, various AI models can be integrated into a single communication channel such as Microsoft Teams. This integration empowers business users with insights drawn from SAP backend systems, enterprise documents, and the expansive knowledge of Generative AI. And the best part of it is that it is all managed through our intuitive no-code Action Server interface, requiring no extensive coding knowledge and making the advanced AI accessible to more users.
Best 20 SEO Techniques To Improve Website Visibility In SERPPixlogix Infotech
Boost your website's visibility with proven SEO techniques! Our latest blog dives into essential strategies to enhance your online presence, increase traffic, and rank higher on search engines. From keyword optimization to quality content creation, learn how to make your site stand out in the crowded digital landscape. Discover actionable tips and expert insights to elevate your SEO game.
Generating privacy-protected synthetic data using Secludy and MilvusZilliz
During this demo, the founders of Secludy will demonstrate how their system utilizes Milvus to store and manipulate embeddings for generating privacy-protected synthetic data. Their approach not only maintains the confidentiality of the original data but also enhances the utility and scalability of LLMs under privacy constraints. Attendees, including machine learning engineers, data scientists, and data managers, will witness first-hand how Secludy's integration with Milvus empowers organizations to harness the power of LLMs securely and efficiently.
FREE A4 Cyber Security Awareness Posters-Social Engineering part 3Data Hops
Free A4 downloadable and printable Cyber Security, Social Engineering Safety and security Training Posters . Promote security awareness in the home or workplace. Lock them Out From training providers datahops.com
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfChart Kalyan
A Mix Chart displays historical data of numbers in a graphical or tabular form. The Kalyan Rajdhani Mix Chart specifically shows the results of a sequence of numbers over different periods.
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Df14 Building Machine Learning Systems with Apex
1. Building Machine Learning Systems in
Apex
Jen Wyher
Technical Architect
@jenwyher
Paul Battisson
Technical Architect
@pbattisson
2. 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 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.
5. Mavens Consulting
• Preferred Life Sciences implementation
partner for salesforce.com and Veeva
• 60+ consultants located across North America
and Europe
• 12 Mavens in attendance at #Dreamforce14,
speaking in 7 different technical sessions
11. Why Apex?
• Governor limits make it hard to do long
running or big jobs with apex
• Showing the power of the platform
12. K-Means Clustering
• Account targeting
• Medical diagnosis aid
• Data segmentation
“given a group of m different
data points derive k clusters
of related items”
13. The Algorithm
• Initialize K centroids
• Assign each training example to it’s
“nearest” centroid
• Reset the centroid as the mean of all
assigned examples
• Repeat until the centroid is fixed
14. The Algorithm
• Initialize K centroids
• Assign each training example to it’s
“nearest” centroid
• Reset the centroid as the mean of all
assigned examples
• Repeat until the centroid is fixed
18. The Need For Speed
• Chained Batches
– Batches creating batches
• Speedier loops
– Remove around 90% of CPUTime
– See http://goo.gl/mR5GZe
• JSON serialize/deserialize and attachments
– Quick and effective way of storing data
– Attachments have much larger limit (around 10x the amount of data)
• Running totals (stateful batch)
– Saves repeated loops
• Javascript Remoting for charting
– Loading so many attachments destroys heap size
– Use remoting to load attachments for display asynchronously
19. Future Ideas
• Recommendation Engines
– Content
– Products/services
• Neural Networks
– Lots of number processing
– Chaining will be key
• Real time sites recommendations
– Think Amazon recommendations
JOE
and if you’re not familiar with mavens
we are the preferred healthcare and life sciences partner for salesforce.com and veeva
we have about 60 consultants located across North America and Europe
and we have 12 mavens in attendance at #dreamforce14, speaking in 7 different technical sessions
and we’re feeling a little extra pride right now, earlier today, we won the salesforce partner innovation award for marketing, so I figured id toot our horn a bit
Paul - EOS = 2 mins
Paul - EOS =3
Paul - EOS = 4
Paul - EOS = 6
Paul - EOS - 8
Jen - EOS = 12
Simple but still lots of iterations and calculations
K-Mean Clustering Algorithm.
How does the algorithm work?
Feed it a large amount of dataset (eg: your sales data).
The end result of the calculations, the data points are a pre-defined # of clustering (k # of clustering) groupings of the provided data set. Identifying data points with the most similarities.
Account Target
Customized marketing plan.
Cardiology vs a neurologist
Medical Diagnosis Aid
Could have a tumor based on profile, probability of having certain diseases.
Data Segmentation
Cluster into groups to analyze
Jen - EOS = 14
Jen - EOS = 14
Diagram shows you 2-dimensional, but imagine that you can do this analysis for 5, 10, even 100 attributes to the observation.
Jen - EOS = 18
Saving too much data
Our calculations were running long
.. And actually our goal at this time was to be able to analyze on 11 datapoints.
Chained Batches, Winter ‘13.
Start a Batch Apex job from within another Batch Apex job.
Purist, and use matrix operations.