Sunday, 9 July 2023

Salesforce Integrations

 



Salesforce Integration Levels 

1.UI Integration

2.Process Integration

3.Data Integration


UI Integrations :


        1.Force.com Canvas SDK

        2.LWC/Aura + Apex Callout

        3.Javascript Fetch API


Process Integration:


  1.Platform Events

  2.Salesforce REST API

  3.Apex SOAP service

  4.Trigger+ Apex Callout

  5.Enhanced External Service

  6.Salesforce SOAP API

  7.APEX REST Service

  8.APEX Email Service


Data Integration :

  

1.Salesforce Connect

2.Change Data capture

3.Bulk API 2.0

Monday, 3 July 2023

Handling Large Data in Salesforce

 Managing large data volumes in Salesforce necessitates employing effective strategies and optimization techniques. Below are some recommended approaches to handle this situation efficiently:


1. Data Archiving and Purging: Identify historical or redundant data and archive or delete it from the Salesforce instance. This practice helps reduce the overall size of your database and enhances performance.


2. Data Model Optimization: Design your Salesforce data model in a manner that minimizes the number of records and maximizes data reuse. Use appropriate relationships, such as lookup or master-detail relationships, to avoid data duplication.


3. Indexing: Index critical fields used in search filters or report criteria. Indexing can significantly enhance query and search performance on large data sets.


4. Bulk API: Utilize the Salesforce Bulk API for operations involving large data volumes, such as data imports, updates, or deletions. The Bulk API enables processing large data sets in batches, leading to improved performance.


5. Asynchronous Processing: Consider leveraging Salesforce Asynchronous Apex or Queueable Apex for resource-intensive operations. These mechanisms enable the management of long-running processes without adversely affecting the user experience.


6. Data Loader and External Tools: Take advantage of tools like the Salesforce Data Loader or third-party ETL (Extract, Transform, Load) tools to handle large data volumes efficiently. These tools facilitate data migration, synchronization, and manipulation tasks at scale.


7. Governor Limits and Limits Management: Ensure that your processes operate within the Salesforce governor limits. Monitor system usage and implement measures to gracefully handle limit exceptions.


8. Data Partitioning: If feasible, partition your data into smaller logical units to enhance manageability. For instance, consider partitioning data based on geographical regions or business units.


9. Data Archiving Services: Salesforce provides data archiving solutions like "Big Objects" that can handle large historical data volumes that are infrequently accessed. Utilize these features to offload older data from your primary tables.


10. Performance Tuning: Regularly monitor your Salesforce instance's performance and optimize slow-performing queries or processes. This may involve creating custom indexes, optimizing code, or reevaluating data access patterns.

Sunday, 2 July 2023

Salesforce Connect

 What is Salesforce Connect? 


Salesforce Connect provides seamless integration of data across system boundaries by letting your users view, search, and modify data that’s stored outside your Salesforce organization, without actually copying the data into Salesforce. Salesforce Connect is a point-and-click solution to your other databases, and it makes earlier integration scenarios seem archaic.


Data from external systems are available as External Objects in Salesforce that are similar to Standard and Custom Objects so things like Tabs, Page Layouts, Custom Fields exist.


Salesforce Connect is used most Commonly


1.Searching External Data

2.List Views

3.Record Views

4.Related Lists



Note :

We can’t create formula fields, validation rules, and workflows on External Objects.



Salesforce Connect Cross Org :


Salesforce Connect Cross Org is one of the adapter types available in Salesforce Connect. When you define an external data source in your organization, you specify the Salesforce Connect Cross Org adapter in the Type field, and this will allow you to connect your org to another org, and access the records of this other org in your current Salesforce org.


(OR)


With the extension of Salesforce Connect Cross Org Adapter in the external data source, the users can create, edit, delete the records in/from the external system with support of writable interface.