i
Capgemini
Filter interviews by
Create a trigger on Order Products to display the most sold product type on the account
Create a trigger on Order Products object in Salesforce
Use SOQL query to count the number of each product type sold
Update the most_sold_product field on the Account object with the highest sold product type
Create a trigger on Account to prevent deletion if associated with one or more contacts
Create an after delete trigger on Account object
Query for related contacts using SOQL
If contacts are found, add an error message to prevent deletion
Create a trigger on Contact to display the number of contacts on the related Account.
Create an after insert, update, delete trigger on Contact object
Query for the count of contacts related to the Account
Update a custom field on the Account with the count of contacts
Promise is an object representing the eventual completion (or failure) of an asynchronous operation, and promiseAll is a method that takes an iterable of promises and returns a single Promise that resolves when all of the promises have resolved.
Promise is used in JavaScript to handle asynchronous operations.
It represents a value that may not be available yet, but will be resolved at some point in the future.
Promis...
What people are saying about Capgemini
Decorators in LWC enhance component functionality, enabling reactive properties and lifecycle management.
1. @api: Exposes a public property or method to the parent component. Example: @api greeting; allows parent to set greeting.
2. @track: Makes a property reactive, so changes trigger re-renders. Example: @track items = []; updates UI when items change.
3. @wire: Connects a property or function to a data source, li...
Future methods in Salesforce can accept primitive data types as parameters.
Primitive data types like Integer, String, Boolean, etc. can be passed as parameters to Future methods.
Non-primitive data types like custom objects or collections cannot be passed as parameters to Future methods.
Example: @future public static void myFutureMethod(Integer param1, String param2) { }
Connection from Mulesoft to Salesforce is done using Salesforce Connector in Mulesoft Anypoint Platform.
Use Salesforce Connector in Mulesoft Anypoint Platform to establish connection
Authenticate using Salesforce credentials (username, password, security token)
Utilize Salesforce APIs to interact with Salesforce data
Rollup summary field is a field in Salesforce that calculates values from related records and displays the result on a parent record.
Rollup summary fields are used to perform calculations on child records and display the result on a parent record.
They can be used to calculate the sum, count, minimum, or maximum of a field in related records.
For example, a rollup summary field can be used to calculate the total amo...
Future is asynchronous and runs in a separate thread, while Queueable Apex runs in the same thread but can be queued for execution.
Future methods are used for executing code asynchronously, while Queueable Apex is used for chaining jobs and running them in a specific order.
Future methods have a limit of 50 per transaction, while Queueable Apex has a limit of 50 jobs in the queue per transaction.
Future methods cann...
With and without sharing in Salesforce determines whether sharing rules are enforced for a class.
With sharing keyword enforces sharing rules, restricting access to records based on the user's profile and organization-wide defaults.
Without sharing keyword does not enforce sharing rules, allowing full access to all records regardless of the user's profile or organization-wide defaults.
I applied via Job Portal and was interviewed in May 2024. There were 2 interview rounds.
Decorators in LWC enhance component functionality, enabling reactive properties and lifecycle management.
1. @api: Exposes a public property or method to the parent component. Example: @api greeting; allows parent to set greeting.
2. @track: Makes a property reactive, so changes trigger re-renders. Example: @track items = []; updates UI when items change.
3. @wire: Connects a property or function to a data source, like an...
Promise is an object representing the eventual completion (or failure) of an asynchronous operation, and promiseAll is a method that takes an iterable of promises and returns a single Promise that resolves when all of the promises have resolved.
Promise is used in JavaScript to handle asynchronous operations.
It represents a value that may not be available yet, but will be resolved at some point in the future.
PromiseAll ...
Connection from Mulesoft to Salesforce is done using Salesforce Connector in Mulesoft Anypoint Platform.
Use Salesforce Connector in Mulesoft Anypoint Platform to establish connection
Authenticate using Salesforce credentials (username, password, security token)
Utilize Salesforce APIs to interact with Salesforce data
Connected App, remote site settings, and OAuth are key components in Salesforce for enabling secure external access to Salesforce data and functionality.
Connected App is a framework that enables external applications to securely integrate with Salesforce using APIs.
Remote Site Settings allow Salesforce to make callouts to external services over HTTPS.
OAuth is an open standard for access delegation, commonly used in Sal...
Best practices in Trigger and trigger events
Best practices include bulkifying triggers, using helper classes, and limiting logic in triggers
Trigger events are before insert, before update, after insert, after update, etc.
Examples of trigger events include before insert, after update, etc.
Rollup summary field is a field in Salesforce that calculates values from related records and displays the result on a parent record.
Rollup summary fields are used to perform calculations on child records and display the result on a parent record.
They can be used to calculate the sum, count, minimum, or maximum of a field in related records.
For example, a rollup summary field can be used to calculate the total amount o...
With and without sharing in Salesforce determines whether sharing rules are enforced for a class.
With sharing keyword enforces sharing rules, restricting access to records based on the user's profile and organization-wide defaults.
Without sharing keyword does not enforce sharing rules, allowing full access to all records regardless of the user's profile or organization-wide defaults.
Future is asynchronous and runs in a separate thread, while Queueable Apex runs in the same thread but can be queued for execution.
Future methods are used for executing code asynchronously, while Queueable Apex is used for chaining jobs and running them in a specific order.
Future methods have a limit of 50 per transaction, while Queueable Apex has a limit of 50 jobs in the queue per transaction.
Future methods cannot be...
Future methods in Salesforce can accept primitive data types as parameters.
Primitive data types like Integer, String, Boolean, etc. can be passed as parameters to Future methods.
Non-primitive data types like custom objects or collections cannot be passed as parameters to Future methods.
Example: @future public static void myFutureMethod(Integer param1, String param2) { }
To pass subjects to future methods, use the @future annotation in Apex.
Use the @future annotation before the method declaration to indicate that the method will run asynchronously in the future.
Pass the subject parameters to the @future method as arguments when calling the method.
Ensure that the subject parameters are serializable to be passed to future methods.
Tools for deployment include Salesforce DX, Ant Migration Tool, Change Sets, and Metadata API.
Salesforce DX is a command-line interface for development and deployment
Ant Migration Tool is a Java/Ant-based tool for moving metadata between environments
Change Sets allow for moving configuration changes between orgs
Metadata API is a web service for managing metadata
Create a trigger on Contact to display the number of contacts on the related Account.
Create an after insert, update, delete trigger on Contact object
Query for the count of contacts related to the Account
Update a custom field on the Account with the count of contacts
Create a trigger on Account to prevent deletion if associated with one or more contacts
Create an after delete trigger on Account object
Query for related contacts using SOQL
If contacts are found, add an error message to prevent deletion
Display Accounts with related contacts in a list using LWC code
Create a Lightning web component (LWC) to display the list
Use Apex to query for Accounts and their related Contacts
Iterate over the data to display Accounts and their related Contacts in the list
Create a trigger on Order Products to display the most sold product type on the account
Create a trigger on Order Products object in Salesforce
Use SOQL query to count the number of each product type sold
Update the most_sold_product field on the Account object with the highest sold product type
Batch class syntax in Salesforce
Batch class must implement Database.Batchable interface
Define start, execute, and finish methods
Use Database.executeBatch method to execute the batch class
I applied via Naukri.com and was interviewed in May 2022. There were 2 interview rounds.
posted on 26 May 2022
I applied via Approached by Company and was interviewed before May 2021. There were 2 interview rounds.
I applied via LinkedIn and was interviewed in Nov 2021. There was 1 interview round.
Generics in Java allow for type safety and reusability of code.
Generics allow for the creation of classes, interfaces, and methods that can work with any data type.
They provide compile-time type safety, preventing runtime errors.
Examples include ArrayList
Wildcards can be used to allow for flexibility in generic types.
Generics can improve code readability and reduce the need for casting.
Ge...
What people are saying about Capgemini
I applied via Job Portal and was interviewed before Dec 2021. There were 3 interview rounds.
I applied via Referral and was interviewed in Jul 2021. There were 4 interview rounds.
Handle errors after project deployment
Implement error logging and monitoring tools
Create a process for reporting and resolving errors
Use automated testing to catch errors before deployment
Have a backup plan in case of critical errors
Regularly review and update error handling procedures
I applied via Referral and was interviewed in Sep 2021. There were 6 interview rounds.
Reliability refers to the ability of a system or component to perform its required functions under stated conditions for a specified period of time.
Reliability is a measure of how often a system or component fails and how quickly it can be restored to normal operation.
It is important to design systems with redundancy and failover mechanisms to ensure high reliability.
Reliability can be improved through regular maintena...
I applied via Referral and was interviewed before May 2022. There were 4 interview rounds.
Maths English Reasoning
Some of the top questions asked at the Capgemini Senior Salesforce Developer interview -
based on 1 interview experience
Difficulty level
Duration
based on 3 reviews
Rating in categories
Consultant
58.6k
salaries
| ₹8.9 L/yr - ₹16.5 L/yr |
Associate Consultant
51.2k
salaries
| ₹4.5 L/yr - ₹10 L/yr |
Senior Consultant
50.1k
salaries
| ₹12.6 L/yr - ₹21 L/yr |
Senior Analyst
22.3k
salaries
| ₹3.1 L/yr - ₹7.5 L/yr |
Senior Software Engineer
21.6k
salaries
| ₹4.7 L/yr - ₹12.9 L/yr |
Wipro
Accenture
Cognizant
TCS