This document discusses a new capability in Salesforce called DataWeave in Apex that allows developers to perform powerful data transformations directly in Apex. DataWeave is a functional programming language from MuleSoft that can read data from various formats, transform it, and write it out to another format. With DataWeave in Apex, developers will be able to leverage DataWeave directly in Apex code to handle tasks like parsing CSV files, serializing Apex objects to different formats, and performing custom data transformations more efficiently. The capability will be available in a developer preview in Winter '23 and provide developers more options for handling data transformations without building custom logic.
If you're looking to interact with your Salesforce data from other systems, but need something more complex than what's offered by the native Rest API, look no further than REST Apex. Join us as we take a look at the basics of defining your own custom APIs using Apex REST. The session will be packed with tips and tricks, and we'll cover everything involved in defining your first Apex REST service.
"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.
With the new Lightning Editions of Salesforce, everyone now has plenty of sandboxes available to put together a robust change/release management process. Join us as we talk about how to maximize the use of your sandboxes, including refresh cycles, Sandbox templates, Change Set & Package flow between environments, Single Sign-on through Environment Hub, and more.
See the video of this presentation here: https://www.salesforce.com/video/306450/
and more details here:
https://success.salesforce.com/Sessions?eventId=a1Q3000000qQOd9#/session/a2q3A000000LBfmQAG
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
Dreamforce 2014 Presentation : Salesforce.com Sandbox management
Large organizations have complex development processes that span multiple release schedules. It is not only the division between development and testing that is important, but the synchronization of projects on different schedules.
If you're looking to interact with your Salesforce data from other systems, but need something more complex than what's offered by the native Rest API, look no further than REST Apex. Join us as we take a look at the basics of defining your own custom APIs using Apex REST. The session will be packed with tips and tricks, and we'll cover everything involved in defining your first Apex REST service.
"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.
With the new Lightning Editions of Salesforce, everyone now has plenty of sandboxes available to put together a robust change/release management process. Join us as we talk about how to maximize the use of your sandboxes, including refresh cycles, Sandbox templates, Change Set & Package flow between environments, Single Sign-on through Environment Hub, and more.
See the video of this presentation here: https://www.salesforce.com/video/306450/
and more details here:
https://success.salesforce.com/Sessions?eventId=a1Q3000000qQOd9#/session/a2q3A000000LBfmQAG
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
Dreamforce 2014 Presentation : Salesforce.com Sandbox management
Large organizations have complex development processes that span multiple release schedules. It is not only the division between development and testing that is important, but the synchronization of projects on different schedules.
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.
Taking control of your queries with GraphQL, Alba RivasCzechDreamin
GraphQL is a database query language and an API runtime that allows you to work with exactly the data that you need, and no more.
With GraphQL the number of database operations is reduced, as you’re able to work with several data sources in the same API call.
This means the number of endpoints needed is reduced, and APIs become faster, more flexible and more developer-friendly.
In this session we’ll talk about all these benefits, exploring the new Salesforce GraphQL API.
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.
Platform Events enables a new event-driven architecture for Salesforce focused on events and record changes, rather than full record processing. Join us to learn about Platform Events and what this will mean to the future of integration with Salesforce.
In this exclusive webinar, you'll learn about
- How Platform Events enable real-time integration
- Defining, publishing and subscribing to Platform Events in Salesforce
- How Platform Events work through live demonstrations
Intro to Force.com Canvas: Running External Apps within the Salesforce UI Web...Salesforce Developers
Learn about Force.com Canvas (currently pilot in Winter '13), an exciting new platform service that allows any app, in any language, to run inside of the Salesforce user interface with unified identity, secure access to records, and collaboration via the Chatter social graph. Legacy apps, such as SAP, can be transformed into social front ends creating a seamless experience for users.
After attending this webinar, you will understand:
:: Force.com Canvas fundamentals and use cases
:: The steps for creating a Canvas app using a Heroku Quick Start, the Canvas JavaScript SDK, and Force.com app management screens
:: How some customers are currently using Force.com Canvas, including Taulia and CloudSquads/Twilio
:: How to get your hands on Force.com Canvas today
:: What resources are available to help you learn more about Force.com Canvas
This presentation is related to salesforce service cloud .
How customer support is implemented in salesforce is service cloud, and what are the tools need to accomplish this support are described here
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
How to Use Salesforce Platform Events to Help With Salesforce LimitsRoy Gilad
Presented at Israel User Group December 2019: Mixed DMLS Operations, Too Many SOQL Queries, Too Many DML Statements, CPU Timeout: Salesforce's Governor limits are there for a reason but even when you employ best practices you may still exceed them. A good developer will look at all tools available on the platform and find the best approach to solving the problem they are facing. Join us to add the newest tool to your developer toolbelt. Use Platform Events to change the rules of the game, process more, and faster within governor limits.
Link to GitHub repository:
https://github.com/RoyGilad/Dreamforce-2019-Do-more-within-Salesforce-Governor-Limits-using-Platform-Events
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.
How to Setup Continuous Integration With Git, Jenkins, and Force.comSalesforce Developers
Join us we walk through setting up a continuous integration system for Salesforce development, from scratch, using Git, Jenkins, the Force.com Migration Tool, and the Apex Data Loader, following a proven, step-by-step approach that you can use with your own project. You'll learn how to manage code using feature-specific sandboxes and feature-specific branches. We'll present the actual configuration scripts we use to make all this work for our group of eight developers, working together on the same managed product, spanning 65+ objects, 350+ classes, and 600+ Apex tests.
Have you ever wanted to write a trigger? This workshop is designed for people who would like begin learning the basics of implementing business logic using Apex, the primary programming language of the Salesforce platform. This workshop will begin exploring the building blocks of Apex, and provide you with the best practices for implementing complex business logic.
Org-dependent unlocked packages are a variation of unlocked packages that allow you to create packages that depend on unpackaged metadata in the installation org. You can use org-dependent unlocked packages when untangling your production org metadata is a daunting project. When you use org-dependent unlocked packages, metadata validation occurs during package installation, instead of during package version creation.
First Steps to Salesforce Release Management & DevOps [Salesforce User Group,...Anna Loughnan Colquhoun
Slide deck shared by Adam Best, presenter. First Steps to Salesforce Release Management & DevOps Salesforce User Group, Wellington, New Zealand - Nov, 2022
Fort Worth Community - Record Triggered Automations.pdfAmeyKulkarni84
Tom Leddy, Principal Evangelist with Architect Relations at Salesforce, will lead a discussion about best practices and tool recommendations for various triggered automation use cases. We'll also discuss how Flow automatically handles scalability, bulkification, and recursion control and share some performance and automation design pointers.
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.
Taking control of your queries with GraphQL, Alba RivasCzechDreamin
GraphQL is a database query language and an API runtime that allows you to work with exactly the data that you need, and no more.
With GraphQL the number of database operations is reduced, as you’re able to work with several data sources in the same API call.
This means the number of endpoints needed is reduced, and APIs become faster, more flexible and more developer-friendly.
In this session we’ll talk about all these benefits, exploring the new Salesforce GraphQL API.
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.
Platform Events enables a new event-driven architecture for Salesforce focused on events and record changes, rather than full record processing. Join us to learn about Platform Events and what this will mean to the future of integration with Salesforce.
In this exclusive webinar, you'll learn about
- How Platform Events enable real-time integration
- Defining, publishing and subscribing to Platform Events in Salesforce
- How Platform Events work through live demonstrations
Intro to Force.com Canvas: Running External Apps within the Salesforce UI Web...Salesforce Developers
Learn about Force.com Canvas (currently pilot in Winter '13), an exciting new platform service that allows any app, in any language, to run inside of the Salesforce user interface with unified identity, secure access to records, and collaboration via the Chatter social graph. Legacy apps, such as SAP, can be transformed into social front ends creating a seamless experience for users.
After attending this webinar, you will understand:
:: Force.com Canvas fundamentals and use cases
:: The steps for creating a Canvas app using a Heroku Quick Start, the Canvas JavaScript SDK, and Force.com app management screens
:: How some customers are currently using Force.com Canvas, including Taulia and CloudSquads/Twilio
:: How to get your hands on Force.com Canvas today
:: What resources are available to help you learn more about Force.com Canvas
This presentation is related to salesforce service cloud .
How customer support is implemented in salesforce is service cloud, and what are the tools need to accomplish this support are described here
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
How to Use Salesforce Platform Events to Help With Salesforce LimitsRoy Gilad
Presented at Israel User Group December 2019: Mixed DMLS Operations, Too Many SOQL Queries, Too Many DML Statements, CPU Timeout: Salesforce's Governor limits are there for a reason but even when you employ best practices you may still exceed them. A good developer will look at all tools available on the platform and find the best approach to solving the problem they are facing. Join us to add the newest tool to your developer toolbelt. Use Platform Events to change the rules of the game, process more, and faster within governor limits.
Link to GitHub repository:
https://github.com/RoyGilad/Dreamforce-2019-Do-more-within-Salesforce-Governor-Limits-using-Platform-Events
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.
How to Setup Continuous Integration With Git, Jenkins, and Force.comSalesforce Developers
Join us we walk through setting up a continuous integration system for Salesforce development, from scratch, using Git, Jenkins, the Force.com Migration Tool, and the Apex Data Loader, following a proven, step-by-step approach that you can use with your own project. You'll learn how to manage code using feature-specific sandboxes and feature-specific branches. We'll present the actual configuration scripts we use to make all this work for our group of eight developers, working together on the same managed product, spanning 65+ objects, 350+ classes, and 600+ Apex tests.
Have you ever wanted to write a trigger? This workshop is designed for people who would like begin learning the basics of implementing business logic using Apex, the primary programming language of the Salesforce platform. This workshop will begin exploring the building blocks of Apex, and provide you with the best practices for implementing complex business logic.
Org-dependent unlocked packages are a variation of unlocked packages that allow you to create packages that depend on unpackaged metadata in the installation org. You can use org-dependent unlocked packages when untangling your production org metadata is a daunting project. When you use org-dependent unlocked packages, metadata validation occurs during package installation, instead of during package version creation.
First Steps to Salesforce Release Management & DevOps [Salesforce User Group,...Anna Loughnan Colquhoun
Slide deck shared by Adam Best, presenter. First Steps to Salesforce Release Management & DevOps Salesforce User Group, Wellington, New Zealand - Nov, 2022
Fort Worth Community - Record Triggered Automations.pdfAmeyKulkarni84
Tom Leddy, Principal Evangelist with Architect Relations at Salesforce, will lead a discussion about best practices and tool recommendations for various triggered automation use cases. We'll also discuss how Flow automatically handles scalability, bulkification, and recursion control and share some performance and automation design pointers.
Denver MuleSoft Meetup: TDX Talk - Automatically Secure and Manage any API at...Big Compass
Automatically Secure and Manage Any API at Scale
Protect any API—anywhere—the moment it's deployed. Join us to learn how you can automate API management as part of your CI/CD pipeline with MuleSoft’s Anypoint Flex Gateway and hear about a real use case of Flex Gateway and Governance.
Meet the Speakers:
• Brian Statkevicus, MuleSoft Practice Manager at Big Compass
• Sue Saio, Technical Product Marketing Manager at Salesforce
Learn how to 'Go with the Flow' by moving your Salesforce workflow rules to flow. Discover how to build a flow architecture and plan out your migrations.
May 2024 - Frederick Architect Group AI + Data Community Tour.pdfNadinaLisbon1
Now is the time to learn what you can build with Einstein 1.
Join Nadina D. Lisbon, Salesforce Certified Technical Architect, for a fun, hands-on session that will walk you through the details of the Einstein 1 Platform, the importance of data for building AI applications, and the different tools and technologies that Salesforce offers to bring AI + Data to you.
Salesforce Wellington user group hosted by PwC for lunch, June 29, 2022, featuring Salesforce Summer 22 release highlights with various speakers. Natalie Savell, Bill Wu, Mark Barcham, Afzal Khan
DC MuleSoft Meetup: TDX Talk: API Security The 3 Keys To Protect Your Digital...Big Compass
API Security: The 3 Keys to Protect Your Digital Estate
Tackle key challenges to securing all of your APIs with recommended best practices from MuleSoft. Join us as we show how you can achieve the ultimate governance and security through live demos.
Meet the Speakers:
Sue Han Saio: Technical Product Marketing Manager at Salesforce
Sameer Parulkar: Director of Product Marketing at Salesforce
Jax, FL Admin Group Presents: Winter '22 Release HighlightsMarc Lester
Playing a little catch up, but we don't want to miss sharing some of the key highlights from the Winter '22 Release that impacts most Orgs. These updates have been available in all Orgs since October 2021.
Did you know many of the new features are included with your initial purchase? Explore the latest innovations in the release to maximize your ROI from Salesforce.
Some features in Winter ’22 affect all users immediately after the release goes live. Make sure you are communicating these changes to your users, if you haven't already, so they know to take advantage of any features that will add value to your team. Other features require direct action by an administrator before users can benefit from the new functionality.
Presenter, Marc Lester, Senior Salesforce Consultant, Coastal Cloud
Architecting Integrations for Observability.pdfManik S Magar
Observability is a critical attribute of software design that gives you control over systems by proactively monitoring datasets like metrics, logs, health, and traces. In this session, Manik will help us understand how to architect integrations for Observability.
Women in Tech - Salesforce Debug Logs Deep Dive with Jess Lopez - March 2021Alesia Dvorkina
Debugging and troubleshooting Salesforce issues can be challenging sometimes. But having the right tool and being comfortable with it can take you really far.
Jess Lopez (Principal Member of Technical Staff, Customer Centric Engineering at Salesforce.org) is walking us through capturing a debug log and translating lines and lines of code into useful information from within the Salesforce Dev Console. This session is targeted toward all audiences (Administrator, Developers, Architects). If you have ever been troubled by errors popping up in your org in all screaming red, and you don't know where to start looking, this session is for you.
Watch the video recording here: https://youtu.be/eVZ4jeri5q0
To attend our Salesforce Women in Tech virtual events live - register here: https://bit.ly/WITColumbiaMD
We would love to interact with you live!
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC
Ellisha Heppner, Grant Management Lead, presented an update on APNIC Foundation to the PNG DNS Forum held from 6 to 10 May, 2024 in Port Moresby, Papua New Guinea.
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBrad Spiegel Macon GA
Brad Spiegel Macon GA’s journey exemplifies the profound impact that one individual can have on their community. Through his unwavering dedication to digital inclusion, he’s not only bridging the gap in Macon but also setting an example for others to follow.
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...JeyaPerumal1
A cellular network, frequently referred to as a mobile network, is a type of communication system that enables wireless communication between mobile devices. The final stage of connectivity is achieved by segmenting the comprehensive service area into several compact zones, each called a cell.
1.Wireless Communication System_Wireless communication is a broad term that i...JeyaPerumal1
Wireless communication involves the transmission of information over a distance without the help of wires, cables or any other forms of electrical conductors.
Wireless communication is a broad term that incorporates all procedures and forms of connecting and communicating between two or more devices using a wireless signal through wireless communication technologies and devices.
Features of Wireless Communication
The evolution of wireless technology has brought many advancements with its effective features.
The transmitted distance can be anywhere between a few meters (for example, a television's remote control) and thousands of kilometers (for example, radio communication).
Wireless communication can be used for cellular telephony, wireless access to the internet, wireless home networking, and so on.
Understanding User Behavior with Google Analytics.pdfSEO Article Boost
Unlocking the full potential of Google Analytics is crucial for understanding and optimizing your website’s performance. This guide dives deep into the essential aspects of Google Analytics, from analyzing traffic sources to understanding user demographics and tracking user engagement.
Traffic Sources Analysis:
Discover where your website traffic originates. By examining the Acquisition section, you can identify whether visitors come from organic search, paid campaigns, direct visits, social media, or referral links. This knowledge helps in refining marketing strategies and optimizing resource allocation.
User Demographics Insights:
Gain a comprehensive view of your audience by exploring demographic data in the Audience section. Understand age, gender, and interests to tailor your marketing strategies effectively. Leverage this information to create personalized content and improve user engagement and conversion rates.
Tracking User Engagement:
Learn how to measure user interaction with your site through key metrics like bounce rate, average session duration, and pages per session. Enhance user experience by analyzing engagement metrics and implementing strategies to keep visitors engaged.
Conversion Rate Optimization:
Understand the importance of conversion rates and how to track them using Google Analytics. Set up Goals, analyze conversion funnels, segment your audience, and employ A/B testing to optimize your website for higher conversions. Utilize ecommerce tracking and multi-channel funnels for a detailed view of your sales performance and marketing channel contributions.
Custom Reports and Dashboards:
Create custom reports and dashboards to visualize and interpret data relevant to your business goals. Use advanced filters, segments, and visualization options to gain deeper insights. Incorporate custom dimensions and metrics for tailored data analysis. Integrate external data sources to enrich your analytics and make well-informed decisions.
This guide is designed to help you harness the power of Google Analytics for making data-driven decisions that enhance website performance and achieve your digital marketing objectives. Whether you are looking to improve SEO, refine your social media strategy, or boost conversion rates, understanding and utilizing Google Analytics is essential for your success.
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfFlorence Consulting
Quattordicesimo Meetup di Milano, tenutosi a Milano il 23 Maggio 2024 dalle ore 17:00 alle ore 18:30 in presenza e da remoto.
Abbiamo parlato di come Axpo Italia S.p.A. ha ridotto il technical debt migrando le proprie APIs da Mule 3.9 a Mule 4.4 passando anche da on-premises a CloudHub 1.0.
Dreamforce 22 Unleash Powerful Data Transforms in Apex with DataWeave
1. 1
Unleash Powerful Data
Transforms in Apex
with DataWeave
Daniel Ballinger, Apex Product Manager
@FishOfPrey | dballinger@salesforce.com
Anand Subramanian, Apex Principal Engineer
@anand13s | a.subramanian@salesforce.com
2. Forward Looking Statements
This presentation contains forward-looking statements about, among other things, trend analyses and future events, future financial performance, anticipated growth, industry prospects,
environmental, social and governance goals, and the anticipated benefits of acquired companies. The achievement or success of the matters covered by such forward-looking statements
involves risks, uncertainties and assumptions. If any such risks or uncertainties materialize or if any of the assumptions prove incorrect, Salesforce’s results could differ materially from the results
expressed or implied by these forward-looking statements. The risks and uncertainties referred to above include those factors discussed in Salesforce’s reports filed from time to time with the
Securities and Exchange Commission, including, but not limited to: the impact of, and actions we may take in response to, the COVID-19 pandemic, related public health measures and
resulting economic downturn and market volatility; our ability to maintain security levels and service performance meeting the expectations of our customers, and the resources and costs
required to avoid unanticipated downtime and prevent, detect and remediate performance degradation and security breaches; the expenses associated with our data centers and third-party
infrastructure providers; our ability to secure additional data center capacity; our reliance on third-party hardware, software and platform providers; the effect of evolving domestic and foreign
government regulations, including those related to the provision of services on the Internet, those related to accessing the Internet, and those addressing data privacy, cross-border data
transfers and import and export controls; current and potential litigation involving us or our industry, including litigation involving acquired entities such as Tableau Software, Inc. and Slack
Technologies, Inc., and the resolution or settlement thereof; regulatory developments and regulatory investigations involving us or affecting our industry; our ability to successfully introduce
new services and product features, including any efforts to expand our services; the success of our strategy of acquiring or making investments in complementary businesses, joint ventures,
services, technologies and intellectual property rights; our ability to complete, on a timely basis or at all, announced transactions; our ability to realize the benefits from acquisitions, strategic
partnerships, joint ventures and investments, including our July 2021 acquisition of Slack Technologies, Inc., and successfully integrate acquired businesses and technologies; our ability to
compete in the markets in which we participate; the success of our business strategy and our plan to build our business, including our strategy to be a leading provider of enterprise cloud
computing applications and platforms; our ability to execute our business plans; our ability to continue to grow unearned revenue and remaining performance obligation; the pace of change
and innovation in enterprise cloud computing services; the seasonal nature of our sales cycles; our ability to limit customer attrition and costs related to those efforts; the success of our
international expansion strategy; the demands on our personnel and infrastructure resulting from significant growth in our customer base and operations, including as a result of acquisitions;
our ability to preserve our workplace culture, including as a result of our decisions regarding our current and future office environments or work-from-home policies; our dependency on the
development and maintenance of the infrastructure of the Internet; our real estate and office facilities strategy and related costs and uncertainties; fluctuations in, and our ability to predict, our
operating results and cash flows; the variability in our results arising from the accounting for term license revenue products; the performance and fair value of our investments in
complementary businesses through our strategic investment portfolio; the impact of future gains or losses from our strategic investment portfolio, including gains or losses from overall market
conditions that may affect the publicly traded companies within our strategic investment portfolio; our ability to protect our intellectual property rights; our ability to develop our brands; the
impact of foreign currency exchange rate and interest rate fluctuations on our results; the valuation of our deferred tax assets and the release of related valuation allowances; the potential
availability of additional tax assets in the future; the impact of new accounting pronouncements and tax laws; uncertainties affecting our ability to estimate our tax rate; uncertainties regarding
our tax obligations in connection with potential jurisdictional transfers of intellectual property, including the tax rate, the timing of the transfer and the value of such transferred intellectual
property; uncertainties regarding the effect of general economic and market conditions; the impact of geopolitical events; uncertainties regarding the impact of expensing stock options and
other equity awards; the sufficiency of our capital resources; our ability to comply with our debt covenants and lease obligations; and the impact of climate change, natural disasters and actual
or threatened public health emergencies, including the ongoing COVID-19 pandemic.
3. Anand Subramanian
Principal Engineer, Apex
a.subramanian@salesforce.com
@anand13s
Daniel Ballinger
Director of Product Management, Apex
dballinger@salesforce.com
@FishOfPrey
4. Challenges with Data
Transformation
Task: Ingest CSV data blob with Apex
first_name, last_name, … /n
Astro, Nomical, …
● csvString.split('/n');
● csvLine.split(',');
● RFC 4180
○ Double Quote delimiters
■ escaped - """"
6. What is DataWeave?
MuleSoft’s functional programming language for data
transformation.
1. Read and parse data from a given format
2. Transform it
3. Write it out as a target format
Read Transform Write
11. Q: What do I need to
access this in Apex?
A: It will be available everywhere Apex is currently*
You don’t need to be a Mulesoft customer
* Winter ’23 Developer Preview
12. Sample Use Cases
RFC-compliant
CSV parsing and
writing
Turns out it's harder
than just
String.split(',')
Serializing Apex
Objects, but
with a custom
DateTime
format
In Apex today this
requires using a
custom
JSONGenerator, or
hand-crafting XML via
Document
Serialize/
Deserialize with
Apex Reserved
Words
DataWeave inputs
and outputs are
collections of Apex
primitives, reserved
words are allowed
Performant
Custom
Transformations
For example, serialize
an SObject, but
remove the
namespace from
field name keys, or
remove __c suffix
13. The anatomy of a DW script file
Working with Script Parameters
%dw 2.0 DataWeave Version
input payload application/json Input types
input attributes application/json
input exchangeRate application/json
output application/xml Output type
var conversionRate=13.15 Constants
fun toUpper(aString)=upper(aString) Functions
--- Header/Body delimiter
payload Script body for transforms
https://sfdc.co/dwlangfun
16. Scope and Limitations
● Developer Preview in Winter ’23
○ Scratch Orgs only - with DataWeaveInApex feature
○ No Packaging support
● DW 2 Scripts are static via .dwl metadata files
● Environment interaction restricted
● Only built in modules are supported
● No Excel or Flat File format support
● Scripts contribute towards the Apex heap and CPU limits
● XML Entity Expansion isn’t supported
17. ● Contact data
○ 2.32MB CSV file
○ 20,000 rows
Before and Aer
35%
Less Heap
Usage
35%
Less CPU
Usage
Apex Finite State Machine DataWeave in Apex
List<List<String>> List<Contact> with fields
18. Beyond the dev preview
● Beta Spring ’23
● application/apex for input and output
● Packaging support (isolated within namespace)
● Static DataWeave script references
DataWeave in Apex
19. Apex Roadmap
Coming Soon Longer Term
Winter ’23
● DataWeave in Apex Developer Preview
● User Mode Beta enhancements
● New Assert Methods
● Queueable depth behavior and reenquee timing
● ApexTypeImplementor to GA
● List Sorting via Comparator
● User Mode to GA
● Database.treeSave() Dev Preview
● Testing improvements
● User Mode + Permission Sets
● Generics
○ Database.queryWithBinds(soql, bindVariablesMap, accessLevel)
20. How do I get started today?
https://sfdc.co/DataWeaveInApex
● GitHub repo with setup instructions
and examples
● Link to Trailblazer Community Group
● Content of this presentation
Call to Action
22. Join us for more sessions and demos!
Time Session / Demo Location
3:00-3:40 PM
What limits? Elastically scale using OSS with
Functions
Moscone West, Level 2
3:30 - 3:20 PM Python For Functions
Developer Theater, Moscone
West, Level 1
Until 4:15 PM Salesforce Functions Booth Platform Park
Until 4:15 PM Heroku Booth Platform Park
Until 4:15 PM Apex Booth Platform Park
Until 4:15 PM Scale Apps Fast Booth IT Lodge & Campground
Meet our speakers offstage
right after this session!