Database periscope: an alternative to custom fields, Igor Chtivelband

CzechDreamin
CzechDreaminCzechDreamin
Database periscope:
An alternative to custom fields
by Igor Chtivelband
#CD22
B.Sc. in Information Systems Engineering
Double M.Sc. in Software Engineering
VP Data & Salesforce
#CD22
I wish I had a dollar for every time I heard this
Hey Igor, engineering team X recently
released a new feature, so customer’s
attribute Y is now available in the prod
database.
Can we have it in Salesforce as well?
#CD22
* Assuming that your company’s pockets are not deep enough for Salesforce Connect, etc.
We all know what usually* happens next …
A diligent Salesforce
Admin creates a new
custom field
Same diligent
Salesforce Admin
adds this field to
object’s layout
An angry Data
Engineer adjusts
the reverse ETL
pipeline, which
pushes data to
Salesforce
#CD22
But what if the desired attribute doesn’t actually
have to reside in Salesforce?
Maybe it is enough just to show it there!
#CD22
Simplified Architecture Diagram
#CD22
1. Expose database via REST API endpoint
1. Develop a data service class (Apex)
1. Build a custom Lightning Web Component
Steps in building such solution
#CD22
Main alternatives
Expose database via REST API endpoint
Some DBs provide such
functionality out of the box
Middleware tool Custom development
#CD22
Three musketeers can help us
Develop a data service class (Apex)
Named Credential
for storing API
credentials and
whitelisting the callout
endpoint
Custom Metadata for
managing database
queries
HttpRequest Apex class
#CD22
Build a custom Lightning Web Component
Input Output
- Name of the object field with the
unique identifier (e.g. UUID__c)
- Master Label of the Custom Metadata
with the query
Grid with the results of the query
#CD22
Demo
#CD22
- No field level security
- Not possible to trigger actions, based on the fields values
- No reports/dashboards
- High dependency on the database schema
However there are some issues…
Thank you! #CD22
1 of 13

Recommended

Salesforce Forecasting: Evolution, Implementation and Best Practices, Christi... by
Salesforce Forecasting: Evolution, Implementation and Best Practices, Christi...Salesforce Forecasting: Evolution, Implementation and Best Practices, Christi...
Salesforce Forecasting: Evolution, Implementation and Best Practices, Christi...CzechDreamin
1K views32 slides
Supercharge Salesforce Marketing Cloud: The Ultimate Apps Guide, Cyril Louis ... by
Supercharge Salesforce Marketing Cloud: The Ultimate Apps Guide, Cyril Louis ...Supercharge Salesforce Marketing Cloud: The Ultimate Apps Guide, Cyril Louis ...
Supercharge Salesforce Marketing Cloud: The Ultimate Apps Guide, Cyril Louis ...CzechDreamin
1K views27 slides
How we should include Devops Center to get happy developers?, David Fernandez... by
How we should include Devops Center to get happy developers?, David Fernandez...How we should include Devops Center to get happy developers?, David Fernandez...
How we should include Devops Center to get happy developers?, David Fernandez...CzechDreamin
1K views20 slides
Streamline Your Integration with Salesforce’s Composite API: A Consultant’s G... by
Streamline Your Integration with Salesforce’s Composite API: A Consultant’s G...Streamline Your Integration with Salesforce’s Composite API: A Consultant’s G...
Streamline Your Integration with Salesforce’s Composite API: A Consultant’s G...CzechDreamin
1K views18 slides
Architecting for Analytics, Aaron Crear by
Architecting for Analytics, Aaron CrearArchitecting for Analytics, Aaron Crear
Architecting for Analytics, Aaron CrearCzechDreamin
1K views16 slides
Ape to API, Filip Dousek by
Ape to API, Filip DousekApe to API, Filip Dousek
Ape to API, Filip DousekCzechDreamin
1.1K views32 slides

More Related Content

More from CzechDreamin

Black Hat Session: Exploring and Exploiting Aura based Experiences, Christian... by
Black Hat Session: Exploring and Exploiting Aura based Experiences, Christian...Black Hat Session: Exploring and Exploiting Aura based Experiences, Christian...
Black Hat Session: Exploring and Exploiting Aura based Experiences, Christian...CzechDreamin
1.1K views22 slides
5 key ideas for robust and flexible REST API integrations with Apex, Lucian M... by
5 key ideas for robust and flexible REST API integrations with Apex, Lucian M...5 key ideas for robust and flexible REST API integrations with Apex, Lucian M...
5 key ideas for robust and flexible REST API integrations with Apex, Lucian M...CzechDreamin
1.1K views41 slides
Report & Dashboard REST API : Get your report accessible anywhere !, Romain Q... by
Report & Dashboard REST API : Get your report accessible anywhere !, Romain Q...Report & Dashboard REST API : Get your report accessible anywhere !, Romain Q...
Report & Dashboard REST API : Get your report accessible anywhere !, Romain Q...CzechDreamin
1.1K views24 slides
No Such Thing as Best Practice in Design, Nati Asher and Pat Fragoso by
No Such Thing as Best Practice in Design, Nati Asher and Pat FragosoNo Such Thing as Best Practice in Design, Nati Asher and Pat Fragoso
No Such Thing as Best Practice in Design, Nati Asher and Pat FragosoCzechDreamin
1.2K views45 slides
Why do you Need to Migrate to Salesforce Flow?, Andrew Cook by
Why do you Need to Migrate to Salesforce Flow?, Andrew CookWhy do you Need to Migrate to Salesforce Flow?, Andrew Cook
Why do you Need to Migrate to Salesforce Flow?, Andrew CookCzechDreamin
1.1K views22 slides
Be kind to your future admin self, Silvia Denaro & Nathaniel Sombu by
Be kind to your future admin self, Silvia Denaro & Nathaniel SombuBe kind to your future admin self, Silvia Denaro & Nathaniel Sombu
Be kind to your future admin self, Silvia Denaro & Nathaniel SombuCzechDreamin
1.1K views37 slides

More from CzechDreamin(20)

Black Hat Session: Exploring and Exploiting Aura based Experiences, Christian... by CzechDreamin
Black Hat Session: Exploring and Exploiting Aura based Experiences, Christian...Black Hat Session: Exploring and Exploiting Aura based Experiences, Christian...
Black Hat Session: Exploring and Exploiting Aura based Experiences, Christian...
CzechDreamin1.1K views
5 key ideas for robust and flexible REST API integrations with Apex, Lucian M... by CzechDreamin
5 key ideas for robust and flexible REST API integrations with Apex, Lucian M...5 key ideas for robust and flexible REST API integrations with Apex, Lucian M...
5 key ideas for robust and flexible REST API integrations with Apex, Lucian M...
CzechDreamin1.1K views
Report & Dashboard REST API : Get your report accessible anywhere !, Romain Q... by CzechDreamin
Report & Dashboard REST API : Get your report accessible anywhere !, Romain Q...Report & Dashboard REST API : Get your report accessible anywhere !, Romain Q...
Report & Dashboard REST API : Get your report accessible anywhere !, Romain Q...
CzechDreamin1.1K views
No Such Thing as Best Practice in Design, Nati Asher and Pat Fragoso by CzechDreamin
No Such Thing as Best Practice in Design, Nati Asher and Pat FragosoNo Such Thing as Best Practice in Design, Nati Asher and Pat Fragoso
No Such Thing as Best Practice in Design, Nati Asher and Pat Fragoso
CzechDreamin1.2K views
Why do you Need to Migrate to Salesforce Flow?, Andrew Cook by CzechDreamin
Why do you Need to Migrate to Salesforce Flow?, Andrew CookWhy do you Need to Migrate to Salesforce Flow?, Andrew Cook
Why do you Need to Migrate to Salesforce Flow?, Andrew Cook
CzechDreamin1.1K views
Be kind to your future admin self, Silvia Denaro & Nathaniel Sombu by CzechDreamin
Be kind to your future admin self, Silvia Denaro & Nathaniel SombuBe kind to your future admin self, Silvia Denaro & Nathaniel Sombu
Be kind to your future admin self, Silvia Denaro & Nathaniel Sombu
CzechDreamin1.1K views
Monitoring Automation Performance in Marketing Cloud Engagement, Daniela Vrbk... by CzechDreamin
Monitoring Automation Performance in Marketing Cloud Engagement, Daniela Vrbk...Monitoring Automation Performance in Marketing Cloud Engagement, Daniela Vrbk...
Monitoring Automation Performance in Marketing Cloud Engagement, Daniela Vrbk...
CzechDreamin1.2K views
The minimum-profile approach – the modern way to design an efficient security... by CzechDreamin
The minimum-profile approach – the modern way to design an efficient security...The minimum-profile approach – the modern way to design an efficient security...
The minimum-profile approach – the modern way to design an efficient security...
CzechDreamin1.2K views
Restriction Rules – The Whole Picture, Louise Lockie by CzechDreamin
Restriction Rules – The Whole Picture, Louise LockieRestriction Rules – The Whole Picture, Louise Lockie
Restriction Rules – The Whole Picture, Louise Lockie
CzechDreamin1.5K views
Introduction to Custom Journey Builder Activities, Orkhan Alakbarli by CzechDreamin
Introduction to Custom Journey Builder Activities, Orkhan AlakbarliIntroduction to Custom Journey Builder Activities, Orkhan Alakbarli
Introduction to Custom Journey Builder Activities, Orkhan Alakbarli
CzechDreamin1.2K views
Taking control of your queries with GraphQL, Alba Rivas by CzechDreamin
Taking control of your queries with GraphQL, Alba RivasTaking control of your queries with GraphQL, Alba Rivas
Taking control of your queries with GraphQL, Alba Rivas
CzechDreamin1.2K views
“Soft Skills” are the new “Hard Skills” – Tips & Tricks for Salesforce Projec... by CzechDreamin
“Soft Skills” are the new “Hard Skills” – Tips & Tricks for Salesforce Projec...“Soft Skills” are the new “Hard Skills” – Tips & Tricks for Salesforce Projec...
“Soft Skills” are the new “Hard Skills” – Tips & Tricks for Salesforce Projec...
CzechDreamin1.1K views
The Art of Discovery – Why Requirements Matter, Pallavi Agarwal by CzechDreamin
The Art of Discovery – Why Requirements Matter, Pallavi AgarwalThe Art of Discovery – Why Requirements Matter, Pallavi Agarwal
The Art of Discovery – Why Requirements Matter, Pallavi Agarwal
CzechDreamin1.2K views
Effective coding approaches with Salesforce: Combining features for maximum i... by CzechDreamin
Effective coding approaches with Salesforce: Combining features for maximum i...Effective coding approaches with Salesforce: Combining features for maximum i...
Effective coding approaches with Salesforce: Combining features for maximum i...
CzechDreamin1.1K views
Human Centred Design and Architecting a Solution that stands the test of time... by CzechDreamin
Human Centred Design and Architecting a Solution that stands the test of time...Human Centred Design and Architecting a Solution that stands the test of time...
Human Centred Design and Architecting a Solution that stands the test of time...
CzechDreamin1.2K views
Skill Based Routing – The Complete Manual, Mieszko Rożej by CzechDreamin
Skill Based Routing – The Complete Manual, Mieszko RożejSkill Based Routing – The Complete Manual, Mieszko Rożej
Skill Based Routing – The Complete Manual, Mieszko Rożej
CzechDreamin1.2K views
Deep Dive into Dashboard Components, David Carnes by CzechDreamin
Deep Dive into Dashboard Components, David CarnesDeep Dive into Dashboard Components, David Carnes
Deep Dive into Dashboard Components, David Carnes
CzechDreamin1.2K views
Giving Back: How to Volunteer Your Salesforce Skills and Make a Difference, A... by CzechDreamin
Giving Back: How to Volunteer Your Salesforce Skills and Make a Difference, A...Giving Back: How to Volunteer Your Salesforce Skills and Make a Difference, A...
Giving Back: How to Volunteer Your Salesforce Skills and Make a Difference, A...
CzechDreamin1.1K views
Architect’s View On Time Based Workflows, Pawel Dobrzynski by CzechDreamin
Architect’s View On Time Based Workflows, Pawel DobrzynskiArchitect’s View On Time Based Workflows, Pawel Dobrzynski
Architect’s View On Time Based Workflows, Pawel Dobrzynski
CzechDreamin1.1K views
Want to demo like a salesforce solution engineer?, Jasmine Ashley by CzechDreamin
Want to demo like a salesforce solution engineer?, Jasmine AshleyWant to demo like a salesforce solution engineer?, Jasmine Ashley
Want to demo like a salesforce solution engineer?, Jasmine Ashley
CzechDreamin1.2K views

Recently uploaded

SAP FOR CONTRACT MANUFACTURING.pdf by
SAP FOR CONTRACT MANUFACTURING.pdfSAP FOR CONTRACT MANUFACTURING.pdf
SAP FOR CONTRACT MANUFACTURING.pdfVirendra Rai, PMP
11 views2 slides
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with... by
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...sparkfabrik
5 views46 slides
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx by
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptxanimuscrm
14 views19 slides
HarshithAkkapelli_Presentation.pdf by
HarshithAkkapelli_Presentation.pdfHarshithAkkapelli_Presentation.pdf
HarshithAkkapelli_Presentation.pdfharshithakkapelli
11 views16 slides
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated... by
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...TomHalpin9
5 views29 slides
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ... by
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...Deltares
10 views32 slides

Recently uploaded(20)

20231129 - Platform @ localhost 2023 - Application-driven infrastructure with... by sparkfabrik
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...
sparkfabrik5 views
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx by animuscrm
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
animuscrm14 views
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated... by TomHalpin9
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
TomHalpin95 views
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ... by Deltares
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...
Deltares10 views
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the... by Deltares
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...
Deltares6 views
Headless JS UG Presentation.pptx by Jack Spektor
Headless JS UG Presentation.pptxHeadless JS UG Presentation.pptx
Headless JS UG Presentation.pptx
Jack Spektor7 views
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J... by Deltares
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
Deltares9 views
DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge... by Deltares
DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge...DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge...
DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge...
Deltares17 views
DSD-INT 2023 The Danube Hazardous Substances Model - Kovacs by Deltares
DSD-INT 2023 The Danube Hazardous Substances Model - KovacsDSD-INT 2023 The Danube Hazardous Substances Model - Kovacs
DSD-INT 2023 The Danube Hazardous Substances Model - Kovacs
Deltares8 views
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut... by Deltares
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...
Deltares7 views
Airline Booking Software by SharmiMehta
Airline Booking SoftwareAirline Booking Software
Airline Booking Software
SharmiMehta5 views
Generic or specific? Making sensible software design decisions by Bert Jan Schrijver
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
Navigating container technology for enhanced security by Niklas Saari by Metosin Oy
Navigating container technology for enhanced security by Niklas SaariNavigating container technology for enhanced security by Niklas Saari
Navigating container technology for enhanced security by Niklas Saari
Metosin Oy13 views
360 graden fabriek by info33492
360 graden fabriek360 graden fabriek
360 graden fabriek
info3349237 views
Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium... by Lisi Hocke
Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...
Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...
Lisi Hocke28 views
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra... by Marc Müller
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra....NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
Marc Müller38 views
Software evolution understanding: Automatic extraction of software identifier... by Ra'Fat Al-Msie'deen
Software evolution understanding: Automatic extraction of software identifier...Software evolution understanding: Automatic extraction of software identifier...
Software evolution understanding: Automatic extraction of software identifier...

Database periscope: an alternative to custom fields, Igor Chtivelband

  • 1. Database periscope: An alternative to custom fields by Igor Chtivelband
  • 2. #CD22 B.Sc. in Information Systems Engineering Double M.Sc. in Software Engineering VP Data & Salesforce
  • 3. #CD22 I wish I had a dollar for every time I heard this Hey Igor, engineering team X recently released a new feature, so customer’s attribute Y is now available in the prod database. Can we have it in Salesforce as well?
  • 4. #CD22 * Assuming that your company’s pockets are not deep enough for Salesforce Connect, etc. We all know what usually* happens next … A diligent Salesforce Admin creates a new custom field Same diligent Salesforce Admin adds this field to object’s layout An angry Data Engineer adjusts the reverse ETL pipeline, which pushes data to Salesforce
  • 5. #CD22 But what if the desired attribute doesn’t actually have to reside in Salesforce? Maybe it is enough just to show it there!
  • 7. #CD22 1. Expose database via REST API endpoint 1. Develop a data service class (Apex) 1. Build a custom Lightning Web Component Steps in building such solution
  • 8. #CD22 Main alternatives Expose database via REST API endpoint Some DBs provide such functionality out of the box Middleware tool Custom development
  • 9. #CD22 Three musketeers can help us Develop a data service class (Apex) Named Credential for storing API credentials and whitelisting the callout endpoint Custom Metadata for managing database queries HttpRequest Apex class
  • 10. #CD22 Build a custom Lightning Web Component Input Output - Name of the object field with the unique identifier (e.g. UUID__c) - Master Label of the Custom Metadata with the query Grid with the results of the query
  • 12. #CD22 - No field level security - Not possible to trigger actions, based on the fields values - No reports/dashboards - High dependency on the database schema However there are some issues…

Editor's Notes

  1. https://billie--pilot.lightning.force.com/lightning/r/Account/0010D00000bZYs5QAG/view Play with the Custom Metadata to demonstrate how the rendering works https://billie--pilot.my.salesforce.com/m0H1n0000004EQjEAM