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.
"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.
You can create simple and some complex logic using workflows in Force.com, but sometimes you may need something more. Apex triggers provide the ability to solve complex logic and are an essential part of any Salesforce implementation.
Learn how to build and manage triggers and best practices on when to use them. Lastly, we’ll also take a look at some debugging techniques and tools that will make coding Apex triggers a breeze.
A trigger is an Apex script that executes before or after certain events occur in DML, For example, before the object record is entered into the database or after the record has been deleted. Triggers allow you to carry out custom actions before or after changes to Salesforce records.
Did you inherit a cluttered org with no documentation? Are you trying to figure out why you have 500 fields on an object? Join this session and collaboratively learn from other customers about the most common traits of a messy implementation, and how you can untangle yours.
Salesforce integration best practices columbus meetupMuleSoft Meetup
onnectivity Overview
Connectivity to Salesforce Clouds
Connectors and Salesforce APIs
Connector interacting with Salesforce core
Composite Connector
Triggers
Establishing a connected app for MuleSoft Connectors
Salesforce Integration Best Practices
When to move data into SFDC
Appropriate use of APEX
Salesforce integration technologies and considerations
Data Virtualization/Live Read
Data Manipulation and Migration
Real-time changes, events and Streaming
Resources
Salesforce Accelerators for Service Cloud and Commerce Cloud
Case Study: Salesforce CPQ (Configure Price Quote) for Software as a Service ...Jade Global
Salesforce CPQ Case Study:
Business Requirements
Migrate all quote templates from existing tools to Salesforce CPQ as the main tool for the booking and Sales process
Support project lifecycle activities, including Requirement Gathering, Design, Development, Testing and Deployment
Configure Products based on business needs
An adaptable configuration of validation and pricing rules to prevent booking errors
Upgrade User Experience with guided flow
Enable core CPQ functions on mobile platforms
Business Challenges
OOTB functionality did not meet certain business requirements
Business changed requirements frequently causing rework
Business testing was not completed as quickly as items were being developed
Not able to properly format quotes Formatting of quote generation
Products being selected together incorrectly
Long list of products without any groupings - poor user experience
Approvals were not tracked, Lack of mobile approvals
Solution – Salesforce CPQ (Steelbrick)
Customizable quote templates
Validations to prevent users from selecting products that shouldn’t be selected together
Prompts to guide the user to review products before continuing with product selection
Enabled approvals with mobile capabilities
Connect with us:
Info@jadeglobal.com 1 877-523-3448
Website: http://www.jadeglobal.com
LinkedIn: http://www.linkedin.com/company/jade-...
Facebook: https://www.facebook.com/jadeglobal/
Twitter: https://twitter.com/JadeGlobal
Do you want to be able to integrate external systems to Salesforce without copying the data and be able to write back to that system? Join us to go through several techniques that will allow you to leverage Lightning Connect's new write capability to its fullest potential. We'll show you how to build robust two-way integrations using a variety of declarative and programmatic tools and techniques. In addition, we'll explore common pitfalls like high operation latency and transaction semantics to help you avoid potential failures.
"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.
You can create simple and some complex logic using workflows in Force.com, but sometimes you may need something more. Apex triggers provide the ability to solve complex logic and are an essential part of any Salesforce implementation.
Learn how to build and manage triggers and best practices on when to use them. Lastly, we’ll also take a look at some debugging techniques and tools that will make coding Apex triggers a breeze.
A trigger is an Apex script that executes before or after certain events occur in DML, For example, before the object record is entered into the database or after the record has been deleted. Triggers allow you to carry out custom actions before or after changes to Salesforce records.
Did you inherit a cluttered org with no documentation? Are you trying to figure out why you have 500 fields on an object? Join this session and collaboratively learn from other customers about the most common traits of a messy implementation, and how you can untangle yours.
Salesforce integration best practices columbus meetupMuleSoft Meetup
onnectivity Overview
Connectivity to Salesforce Clouds
Connectors and Salesforce APIs
Connector interacting with Salesforce core
Composite Connector
Triggers
Establishing a connected app for MuleSoft Connectors
Salesforce Integration Best Practices
When to move data into SFDC
Appropriate use of APEX
Salesforce integration technologies and considerations
Data Virtualization/Live Read
Data Manipulation and Migration
Real-time changes, events and Streaming
Resources
Salesforce Accelerators for Service Cloud and Commerce Cloud
Case Study: Salesforce CPQ (Configure Price Quote) for Software as a Service ...Jade Global
Salesforce CPQ Case Study:
Business Requirements
Migrate all quote templates from existing tools to Salesforce CPQ as the main tool for the booking and Sales process
Support project lifecycle activities, including Requirement Gathering, Design, Development, Testing and Deployment
Configure Products based on business needs
An adaptable configuration of validation and pricing rules to prevent booking errors
Upgrade User Experience with guided flow
Enable core CPQ functions on mobile platforms
Business Challenges
OOTB functionality did not meet certain business requirements
Business changed requirements frequently causing rework
Business testing was not completed as quickly as items were being developed
Not able to properly format quotes Formatting of quote generation
Products being selected together incorrectly
Long list of products without any groupings - poor user experience
Approvals were not tracked, Lack of mobile approvals
Solution – Salesforce CPQ (Steelbrick)
Customizable quote templates
Validations to prevent users from selecting products that shouldn’t be selected together
Prompts to guide the user to review products before continuing with product selection
Enabled approvals with mobile capabilities
Connect with us:
Info@jadeglobal.com 1 877-523-3448
Website: http://www.jadeglobal.com
LinkedIn: http://www.linkedin.com/company/jade-...
Facebook: https://www.facebook.com/jadeglobal/
Twitter: https://twitter.com/JadeGlobal
Do you want to be able to integrate external systems to Salesforce without copying the data and be able to write back to that system? Join us to go through several techniques that will allow you to leverage Lightning Connect's new write capability to its fullest potential. We'll show you how to build robust two-way integrations using a variety of declarative and programmatic tools and techniques. In addition, we'll explore common pitfalls like high operation latency and transaction semantics to help you avoid potential failures.
Force.com Canvas allows you to create apps in any language, running on Heroku or any other cloud app platform, that are fully integrated with Force.com. Join us as we walk you through creating your first Force.com Canvas app, and use Quickstart templates to create a canvas app running on Heroku in minutes.
The Salesforce platform offers system as well as application level security capabilities for building robust and secure applications. Join us as we introduce the system-level security features of Salesforce, like authentication and authorization mechanisms that include various Single Sign-On and OAuth flows. We'll also cover declarative application-level security features, like user profiles, roles and permissions, and how an Organization Wide Security and record-sharing model enforces a finer level of access control over the data.
Join us to learn how to leverage SSO technologies (such as SAML) with Force.com Canvas. We'll show examples of using Canvas with your existing SSO application to provide a seamless user experience, how you can use Canvas and Salesforce Identity to demo cross-org Visualforce pages, and we'll show this behaving in Salesforce.
Maximizing Salesforce Lightning Experience and Lightning Component PerformanceSalesforce Developers
We all want the Salesforce Lightning Experience to be fast- but how do we define fast, and how do we make it even faster? When you’re building a UI, everything you add to the page affects performance, and to make load times faster and perform the way users expect, we need to treat speed as an essential design feature. In this presentation, you’ll learn how to measure performance, learn a few tips on how to maximize performance, and take responsibility for your feature’s performance from design to production.
Join us to learn the components required for building a good unit test that will keep your developers and applications from being blindsided, as well as some of the common Apex use cases like controllers and triggers. You'll also see how to handle trickier situations like HTTP callouts and asynchronous processing.
As a Salesforce Admin, you have four core responsibilities that you need to master to succeed and grow your career. In this session, we'll dive into the core responsibility of Security and the habits you need to build to successfully master it: review roles, profiles, and permissions sets; run Health Check; align with IT, and review login history. You'll learn how to develop each habit, with expert advice and key actionable takeaways for you to implement right away.
Learn about the Essential Habits for Salesforce Admins series here: https://admin.salesforce.com/blog/2020/essential-habits-for-salesforce-admins-just-got-bigger-and-better
Apex Triggers can be your best friend or your worst enemy. When a trigger is firing properly your data is under control and remains sane, but when a trigger doesn't fire properly, your users can be faced with the frustration of exceptions when saving a record, or worse: incorrect data. Join us to learn tips and tricks on how to debug and solve the most complex issues, including: Ambiguous Field Validation, After Insert Activity Errors, and SOQL and Governor Limit Errors. You'll learn the origins of these kinds of advanced trigger issues and gain solutions for avoiding them.
LWC Episode 3- Component Communication and Aura InteroperabilitySalesforce Developers
Lightning Web Components gives JavaScript developers a web standards-based path to building apps on the Salesforce Lightning Platform.
In the third episode of our five part series on Lightning Web Components, we cover design considerations and compositions of Lightning Web Components.
Manage Development in Your Org with Salesforce Governance FrameworkSalesforce Developers
As your team creates more apps in your Salesforce Org, you're faced with a new set of challenges: managing a well-designed org. Join us to learn about using the practices defined in the Salesforce Governance framework, and the set of tools available for managing issues such as security, coding standards, decisions over declarative verses Apex apps, design standards, overall Org strategy, and change control. By applying these best practices, your team can continue to grow your apps to meet the continuing challenges of your company.
Organisations using Salesforce will inevitably accumulate technical debt over time. It’s a costly side effect of growth, and to manage it successfully, these organisations need to not only remove their existing debt but also understand its causes and develop a plan to manage it in the future.
To find out more about the key areas you need to cover to carry out a successful technical debt assessment in the Salesforce platform watch our on-demand webinar:
https://www.whishworks.com/event/recording-performing-a-successful-technical-debt-assessment-in-salesforce/
Key topics
– What is technical debt
– Causes of technical debt in Salesforce
– Key areas to assess
– Common tools for diagnosis
– Technical debt assessment results & reporting
Salesforce MVPs Alex Sutherland and Maria Belli give Salesforce Admins an overview of security in Salesforce. From Org wide defaults, to object, field, and record access this presentation will help you understand how to secure your data and understand sharing rules.
Lightning Web Components give any JavaScript developer a modern, web standards-based path to building apps and experiences on the Lightning Platform.
In the second episode of our five part webinar series on Lightning Web Components, we will show you how to access data from the Salesforce org, get record data, create records and handle errors using Lightning Web Components. In this webinar you’ll learn all about Lightning Data Service, reactive wire service and Lightning App Builder.
Salesforce Security Best Practices for Every AdminCloud Analogy
In this presentation, we will discuss Salesforce Security Best Practices for Every Admin.
Following these advanced Salesforce Security best practices will help us get most of the powerful and out-of-the-box Salesforce CRM system. Through it, Salesforce admins can easily leverage all of the platform’s features to safeguard their company and customers' data.
"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.
Force.com Canvas allows you to create apps in any language, running on Heroku or any other cloud app platform, that are fully integrated with Force.com. Join us as we walk you through creating your first Force.com Canvas app, and use Quickstart templates to create a canvas app running on Heroku in minutes.
The Salesforce platform offers system as well as application level security capabilities for building robust and secure applications. Join us as we introduce the system-level security features of Salesforce, like authentication and authorization mechanisms that include various Single Sign-On and OAuth flows. We'll also cover declarative application-level security features, like user profiles, roles and permissions, and how an Organization Wide Security and record-sharing model enforces a finer level of access control over the data.
Join us to learn how to leverage SSO technologies (such as SAML) with Force.com Canvas. We'll show examples of using Canvas with your existing SSO application to provide a seamless user experience, how you can use Canvas and Salesforce Identity to demo cross-org Visualforce pages, and we'll show this behaving in Salesforce.
Maximizing Salesforce Lightning Experience and Lightning Component PerformanceSalesforce Developers
We all want the Salesforce Lightning Experience to be fast- but how do we define fast, and how do we make it even faster? When you’re building a UI, everything you add to the page affects performance, and to make load times faster and perform the way users expect, we need to treat speed as an essential design feature. In this presentation, you’ll learn how to measure performance, learn a few tips on how to maximize performance, and take responsibility for your feature’s performance from design to production.
Join us to learn the components required for building a good unit test that will keep your developers and applications from being blindsided, as well as some of the common Apex use cases like controllers and triggers. You'll also see how to handle trickier situations like HTTP callouts and asynchronous processing.
As a Salesforce Admin, you have four core responsibilities that you need to master to succeed and grow your career. In this session, we'll dive into the core responsibility of Security and the habits you need to build to successfully master it: review roles, profiles, and permissions sets; run Health Check; align with IT, and review login history. You'll learn how to develop each habit, with expert advice and key actionable takeaways for you to implement right away.
Learn about the Essential Habits for Salesforce Admins series here: https://admin.salesforce.com/blog/2020/essential-habits-for-salesforce-admins-just-got-bigger-and-better
Apex Triggers can be your best friend or your worst enemy. When a trigger is firing properly your data is under control and remains sane, but when a trigger doesn't fire properly, your users can be faced with the frustration of exceptions when saving a record, or worse: incorrect data. Join us to learn tips and tricks on how to debug and solve the most complex issues, including: Ambiguous Field Validation, After Insert Activity Errors, and SOQL and Governor Limit Errors. You'll learn the origins of these kinds of advanced trigger issues and gain solutions for avoiding them.
LWC Episode 3- Component Communication and Aura InteroperabilitySalesforce Developers
Lightning Web Components gives JavaScript developers a web standards-based path to building apps on the Salesforce Lightning Platform.
In the third episode of our five part series on Lightning Web Components, we cover design considerations and compositions of Lightning Web Components.
Manage Development in Your Org with Salesforce Governance FrameworkSalesforce Developers
As your team creates more apps in your Salesforce Org, you're faced with a new set of challenges: managing a well-designed org. Join us to learn about using the practices defined in the Salesforce Governance framework, and the set of tools available for managing issues such as security, coding standards, decisions over declarative verses Apex apps, design standards, overall Org strategy, and change control. By applying these best practices, your team can continue to grow your apps to meet the continuing challenges of your company.
Organisations using Salesforce will inevitably accumulate technical debt over time. It’s a costly side effect of growth, and to manage it successfully, these organisations need to not only remove their existing debt but also understand its causes and develop a plan to manage it in the future.
To find out more about the key areas you need to cover to carry out a successful technical debt assessment in the Salesforce platform watch our on-demand webinar:
https://www.whishworks.com/event/recording-performing-a-successful-technical-debt-assessment-in-salesforce/
Key topics
– What is technical debt
– Causes of technical debt in Salesforce
– Key areas to assess
– Common tools for diagnosis
– Technical debt assessment results & reporting
Salesforce MVPs Alex Sutherland and Maria Belli give Salesforce Admins an overview of security in Salesforce. From Org wide defaults, to object, field, and record access this presentation will help you understand how to secure your data and understand sharing rules.
Lightning Web Components give any JavaScript developer a modern, web standards-based path to building apps and experiences on the Lightning Platform.
In the second episode of our five part webinar series on Lightning Web Components, we will show you how to access data from the Salesforce org, get record data, create records and handle errors using Lightning Web Components. In this webinar you’ll learn all about Lightning Data Service, reactive wire service and Lightning App Builder.
Salesforce Security Best Practices for Every AdminCloud Analogy
In this presentation, we will discuss Salesforce Security Best Practices for Every Admin.
Following these advanced Salesforce Security best practices will help us get most of the powerful and out-of-the-box Salesforce CRM system. Through it, Salesforce admins can easily leverage all of the platform’s features to safeguard their company and customers' data.
"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.
To help maximize your experience at Dreamforce we're providing you with some of the Reporting sessions for Admins at the biggest Dreamforce EVER! Check out the hottest sessions handpicked just for you, to help you learn more about moving business forward faster with the Salesforce Platform. Start building your Admin journey now.
Are your business partners asking to be able to create their own applications? Are you asked to share development environments with other teams? Join us to learn considerations and best practices for making shared development in a single org a success. We'll cover process management, development methodology, release processes, and apps life cycle maintenance.
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.
In the fourth episode of our five part series on Lightning Web Components, we show you how static resources and custom JavaScript are used with Lightning Web Components. You’ll learn how to use external APIs in conjunction with Lightning Locker to secure your JavaScript code. And finally, we’ll demonstrate how you can test your Lightning Web Components using Jest.
In this webinar, we'll share how you can leverage the tools and best practices available to promote healthy Application Lifecycle Management.
Learn about the latest advancements we've made in our Sandbox environments, metadata API, deployments, namespaces and source control management, how the brand new Apex Debugger extends the Force.com IDE, and how these updates can be leveraged to enhance your development efforts and transformation.
Webinar: From Sandbox to Production: Demystifying Force.com Release Managemen...Salesforce Developers
Ever wonder how to plan to customize your production org? Do you know when to use a developer sandbox? Stumped on how to reliably move changes around? We'll show you how in this webinar. Learn the best practices from the pros.
Salesforce gives you the ability to create copies of your production org in a separate sandbox environment for a variety of purposes like testing and training without compromising the data and applications in your Salesforce production organization. Learn some of the key considerations that lead to effective Release Management.
Key Takeaways
:: Understand how to move code and configuration utilizing change sets.
:: Best practices for org management/governance.
Intended Audience
:: This webinar is geared towards all Force.com developers.
:: Not scoped to ISV developers.
:: Tailored toward customers with one sandbox, small dev team, and limited number of customization projects.
Planning Your Migration to the Lightning ExperienceShell Black
Learn how to migrate to the Salesforce Lighting UI in four steps. Shell Black in this presentation discusses how to make the business case to justify the costs to moving to the Lightning Experience (LEX) from Classic. In the four steps Shell covers how to assess the current state of your org, plan out the migration, manage your build sprints and UAT (User Acceptance Testing), and train your end users. He also covers the factors that drive the time needed to complete the project. As you will find, the biggest hurdle to migrating to Lightning is not a missing feature, but Admin knowledge. Click the link on Slide 2 to watch a video of this presentation!
Description
Final installation of the 3 part webinar series! Time to use all the Apex skills you have learned in this series and combine SOQL with Apex to build one glorious trigger.
This series serves as an Introduction to Apex for Salesforce Administrators with no programming background. This is the last in a 3-part series with David Liu and LeeAnne Templeman. David Liu is the creator of sfdc99.com, an intro to Apex exercise guide for all Salesforce Admins. David is a self-taught Salesforce MVP who began his path as a marketer and is now the Salesforce Technical Architect for Google. He will share some of his own learning path, as well as tips and tricks on how to become a Salesforce developer.
Key Takeaways
::Learn the principles of a good test class
::Maintain your data quality by writing a deduping trigger
::Get an outline of the steps to become a Salesforce Developer
Series
Apex for Admins series:
::Get Started with Apex in 30 Minutes!
::Build on the Basics
::Beyond the Basics ← you are here!
Intended Audience
::Salesforce Admins who have begun learning Apex. You should be familiar with basic triggers, Apex classes, and basic Apex.
::Anyone who joined us last week for Apex for Admins: Build on the Basics
::If you missed the previous session, get up to speed with these awesome tutorials from sfdc99.com:
Chapter 2: SOQL: A Beginner’s Guide
Chapter 3: Core Apex Tools
Recommended Resources
https://developer.salesforce.com/en/events/webinars/apex-for-admins-beyond-the-basics?d=70130000000hUks
Continuous Integration In The Cloud Final (1)Alexis Williams
Continuous integration of cloud based applications using a combination of technologies: Visual Force, Apex, Selenium, Jenkins, Ant, & YUI test framework
Bug Hunting with the Salesforce Developer ConsoleMatthew Poe
Join Jess Lopez, Salesforce.org's NGO Technical Architect in Customer Centric Engineering (aka NPSP Surgeon and Detective) as she shares tips and tricks she uses every day when troubleshooting both managed packages and unmanaged customizations in some of the most complex and largest customer orgs. Managed Package examples will be focused on the Nonprofit Success Pack, but concepts can be broadly applied to any package.
You receive a cryptic error. Where do you even start to troubleshoot? In this session, Jess will walk you through capturing a debug log and viewing all sorts of useful information from within the Dev Console. She'll also walk you through some of the more common errors and strategies for troubleshooting
Join us as we cover some of the use cases and design patterns for developing custom REST and SOAP APIs on the Force.com platform. We'll review relevant Enterprise Integration patterns, walk through real-world examples for Mobile and System-to-System integrations that require custom APIs and best practices for building your own.
Many Apex developers ignore security, particularly when doing consulting projects. But security is not difficult if you consider it when designing your code. Join us to learn some simple design patterns to help ensure your code respects configured security settings, and some more sophisticated architectures you can use when your requirements call on you to override configured security settings.
The Summer ‘18 release introduces new features for Salesforce Developers including new Base Lightning Components, Switch for Apex, Metadata API enhancements and updates to Salesforce DX
As a Salesforce Admin, if your org uses triggers, even if you didn’t build them, you need to know how they work. This advanced webinar will help you decode the basic structure of a trigger, understand what role triggers play in your org, and how to modify them, if desired.
With the Lightning Framework you can build modern apps faster and run them across all your devices. With the Winter ’17 Release, we’ve delivered a number of enhancements to Lightning to help you build even faster including new Lightning Base Components and Lightning Data Services. Learn about these important new features and more in this must-attend webinar.
- Accessing data more easily and efficiently with the new Lightning Data Service
- Building Lightning Components faster with new Lightning Base Components
- Developing more interactive experiences with new Lightning Quick Actions and the Utility Bar
Sample Gallery: Reference Code and Best Practices for Salesforce DevelopersSalesforce Developers
Exploring the code within sample applications is a great way to learn new languages, frameworks, and platforms. That’s why we built the Sample Gallery (https://trailhead.salesforce.com/sample-gallery), a collection of Salesforce Customer 360 Platform reference applications that demonstrate examples of what you can create and how to build it. In this interactive webinar, we introduce you to a few Sample Apps and show you how to make the best use of them in your day-to-day development projects.
Last year was eventful for Salesforce Developers - we started with the launch of Lightning Web Components (LWC), open-sourced it, enabled local development, and ended the year by open-sourcing Base Lightning Components. In this webinar, we will explore exciting new developments within Base Components and we will show you how to use open-source Base Components to build engaging applications faster with local development.
In this session we will,
- Spin up a local development environment to build Lightning web components
- Use and customize the base components and recipes to build pages and apps quickly
- Explore the latest features of VS Code developer tooling while coding for a use case
Over the past two months, we’ve announced many new resources for developers at Dreamforce and TrailheaDX India. To learn all about them, watch this video, where we'll explore live demos showcasing the latest updates for Lightning Web Components (LWC), Einstein, Heroku, and a lot more on the Customer 360 Platform.
In this session we,
- Explore key highlights from TrailheaDX India
- Show live demos of generally available features
- Explain how you can benefit from these features
TrailheaDX (TDX) is coming to ‘namma’ Bengaluru in India on Dec 19th and 20th! TrailheaDX India is the conference for everyone who builds on and customises Salesforce — including admins, developers, architects, and partners. This event will have sessions, demos and fun for those just getting started with the platform, as well as for advanced admins, architects and developers.
You might have questions about the event - and to answer your questions Kavindra Patel, known as the father of the Indian Salesforce Community, joins Shashank Srivatsavaya, Head of APAC Developer Relations. Register for our exclusive webinar to:
- Get a sneak peek into exclusive sessions and activities
- Find out who you shouldn’t miss at TrailheaDX India
- Understand what comes with your #TDX19 registration
CodeLive: Build Lightning Web Components faster with Local DevelopmentSalesforce Developers
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
CodeLive: Converting Aura Components to Lightning Web ComponentsSalesforce Developers
GitHub repo: https://github.com/adityanaag3/aura2lwc
Lightning Web Components (LWC) give any JavaScript developer a modern, web standards-based path to building apps and experiences on the Salesforce Platform.
In this live coding session, you’ll learn how to first evaluate if an existing Aura Component needs to be converted, then convert it to LWC using the latest features of Salesforce Extensions for VS Code. We demonstrate conversion to LWC by walking through various components of a real world Aura Component - including input and output, Tables, Forms, and more.
In this live coding session we:
- Convert Aura Components to LWC
- Leverage the latest IDE features
- Share implementation best practices
Earlier this year, we released Lightning Web Components (LWC), a new UI framework based on web standards and optimized for performance and developer productivity. We have now open sourced the Lightning Web Components framework so that anyone can build applications on any platform.
Join our webinar where we'll explore how this framework, based on standard HTML, modern JavaScript (ES6+), and the best of native Web Components, helps you create web components and apps using the stack and tools you prefer.
We recently announced over 300 new features and enhancements at TrailheaDX '19 and for the Summer '19 release. In our Developer Highlights webinar we explore the top features with in-depth demos, including the latest updates for Lightning Web Components (LWC), LWC Open Source, CLI updates, Change Data Capture for external objects, Asynchronous Apex Triggers, Notification Builder and more.
Watch the recording here: https://youtu.be/kmOkk74QiCo
You can watch a recording of the live coding session at https://sforce.co/2IbU3yJ
In the fifth and final webinar of our five part series, we learn how to build Lightning web components for different use cases. We explore how to leverage all of the concepts you’ve learned in this webinar series to create modern apps with Lightning Web Components. We also demonstrate various ways to migrate Aura components to Lightning web components for a seamless transition.
Lightning Web Components are a JavaScript programming model for building web applications and interfaces that is built on the best of web standards.
Any front-end web developer can get started with LWC and leverage custom elements, and JavaScript APIs to create modern apps and experiences that are fully aware of Salesforce data and processes.
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.
Replicate Salesforce Data in Real Time with Change Data CaptureSalesforce Developers
Migrate your batch processing, scheduled ETL, and nightly workloads to event-driven, real-time integrations using Change Data Capture. CDC means data change events are published to an event stream, allowing businesses to have up-to-date information across systems and applications. Join us to learn how to configure Change Data Capture and subscribe to the stream of change events, streamlining your architectures and processes.
Using Salesforce DX and its suite of offerings can significantly increase your development productivity.
Join this webinar to learn more about source control, scratch orgs, CLI, Metadata Coverage, VS Code, and Unlocked Packages. We will even do a live demo on continuous delivery using Salesforce DX.
Lightning Flow makes it easier for developers to build dynamic process-driven apps with Process Builder and the new Flow Builder. Join us and learn more about how you can get in the Flow!
Integrate CMS Content Into Lightning Communities with CMS ConnectSalesforce Developers
In this webinar we will show you how to display content from external Content Management Systems into Lightning Communities. This lets you take advantage of the Communities framework and help you centralize content in whatever CMS system you have chosen.
With the MuleSoft Anypoint Platform, you can build scalable data integrations and flows across any application, data source, and device - whether in the cloud or on-premise. The platform provides a suite of out-of-the-box connectors that work across any system, and you can customize them to whatever you need with minimal code. This means you can integrate and deploy innovative, robust customer apps even faster. Join this webinar, learn the basics of the Anypoint Platform, and see how it works with Salesforce and any of your third party systems.
This webinar focuses on what’s available for app delivery and development lifecycles on the Salesforce platform. We’ll walk through a real-life scenario that spans VS Code, the Salesforce CLI, sandboxes, scratch orgs, and packaging. Join us and learn patterns and considerations that you can immediately use to modernize your development using Salesforce DX.
At Dreamforce 2018, we brought you new and exciting ways to build apps faster, integrate apps easier, and make apps smarter. Join us to learn more about how the Salesforce platform helps developers build apps of the future.
Knowing how an IDE works can drastically simplify a developer's day-to-day job. In this webinar, Zayne and René dive into Visual Studio Code. No matter if you're a Salesforce Developer familiar with the good old Force.com IDE, now looking to move to VS code or if you’re brand new to developing on the Salesforce Platform. This webinar will bring you up to high-productivity!
1. Introduction to Apex Triggers
Arming the Dangerous
Iman Maghroori, Lead Sales Engineer
@IMaghroori
Josh Kaplan, Senior Product Manager
@JoshSFDC
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
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.
5. Here is the Plan
What is a
Trigger?
When / Why
Trigger
Deconstruction
Tools
Resources
Q&A
6. SURVEY: RAISE YOUR HAND IF YOU’VE…
Created a Custom Field?
Created a Workflow/Approval rules?
Written any code before?
Written Apex code?
Written a Trigger before?
11. What Happens When You Hit “Save”?
1. Old values are overwritten
2. System Validation Rules
3. Apex (before) triggers
4. Custom Validation Rules
5. Record saved to DB (not committed)
6. Record reloaded from DB
7. Apex (after) triggers
8. Assignment Rules
9. Auto-Response Rules
10. Workflow Rules
11. Escalation Rules
12. Rollup Summary Formulas updated
13. Database Commit
14. Post-commit logic (Sending emails)
13. When Should You Use Triggers?
• When all other options fail
• Don’t write code if you don’t have to
• Easier to maintain
• Easier to change
• Faster to deploy
15. Workflow Cannot…
• Create Other Records – Automatically create child records.
• Complex Calculations – Calculate total revenue from child accounts
• Automatically Submit Records for Approval
• Delete Records
16. Apex: The Programming Language of Force.com
Object-oriented language
Java-like syntax
2.5 Billion Lines Of Apex
17. Why Apex?
Runs in the Cloud
Integrated to Your Data
Convenience Features
Testing Framework
Backward Compatibility
26. Workflow Can…
• Update Fields
• Assign Tasks
• Send Emails
• Send Outbound
Test Your Code!
27. 75% Minimum Code Coverage Before You Deploy
We check for the %, you should check for all the possible use cases.
28. How to Deploy to Production?
• Make sure your code passes the tests & test coverage
• Create an “Outbound Change Set” and add your updates to it
• Push the Outbound Change Set to your Production Environment
• Accept the Inbound Change Set in your Production Environment.
• Setup->Deploy->Inbound Change Sets -> [Change Set] -> Deploy
29. Next Steps to Level Up
• Developer Environment
• Apex Workbook
• To Learn More
30. Where Can I Go for Help?
• Developer.force.com
• Salesforce.com Training / Certifications
• Code Share
• Developer Community
• Apex Guide
• Help & Training
Take it to the Next Level: Professional Services