Filter interviews by
Apex trigger to count number of contacts associated with an account
Create a trigger on Account object
Query for related contacts using SOQL
Count the number of contacts and update a custom field on Account
I applied via LinkedIn and was interviewed in Nov 2024. There were 2 interview rounds.
Flows can be invoked using other flows and Apex. Apex classes can be invoked from a flow by using invocable methods and passing variables as input parameters.
To invoke a flow from another flow, use the 'Launch Flow' element in the Flow Designer.
To invoke an Apex class from a flow, create an invocable method in the Apex class and annotate it with @InvocableMethod.
Pass variables from a flow to an Apex class by defining i...
Master-detail relationship on Contact as child object is not allowed due to data integrity concerns.
Contact is a standard object and cannot be a child object in a master-detail relationship
Master-detail relationships require the child object to have a lookup to the parent object
Contacts are often used as the primary object in many relationships, making it unsuitable as a child object
Child to parent communication in LWC allows a child component to communicate with its parent component.
Child components can dispatch custom events to communicate with parent components.
Parent components can listen for these custom events and handle them accordingly.
This communication pattern helps in passing data and triggering actions between components.
Write triggers to update user email from contact emails
Create a trigger on the User object
Query for related Contact records
Update User email field with Contact email
LWC ensures data refresh by using Lightning Data Service and @wire decorator.
LWC uses Lightning Data Service to ensure data refresh without needing to write Apex code.
The @wire decorator in LWC allows for declarative data binding and automatic refresh when data changes.
LWC components can also manually refresh data using imperative Apex calls or by calling the refreshApex() method.
I applied via Campus Placement and was interviewed in Oct 2024. There were 3 interview rounds.
It was easy and basic
Coding questions are bit complicated
I applied via Company Website and was interviewed in Oct 2024. There were 2 interview rounds.
Basic Apex coding questions
Apex sharing allows developers to control access to records based on criteria.
Apex sharing rules can be used to extend sharing access beyond the organization-wide defaults.
Apex managed sharing allows developers to programmatically share records with specific users or groups.
Sharing reasons can be used to define the reason for sharing a record in Apex.
Apex sharing can be enforced using the 'with sharing' keyword in Apex
I applied via Recruitment Consulltant and was interviewed in Sep 2024. There was 1 interview round.
Life Cycle hooks in LWC are methods that allow you to interact with the component at specific stages of its lifecycle.
There are four main life cycle hooks in LWC: connectedCallback, disconnectedCallback, renderedCallback, and errorCallback.
connectedCallback is called when a component is inserted into the DOM.
disconnectedCallback is called when a component is removed from the DOM.
renderedCallback is called after the com...
There are multiple ways to communicate between components in Salesforce, including using events, public properties, and Apex methods.
Using events to communicate between components
Passing data through public properties
Invoking Apex methods to share data
I applied via Naukri.com and was interviewed in Jul 2024. There were 3 interview rounds.
LWC to display contacts associated to an account
Create an Apex class to fetch contacts associated with the account
Use Lightning Data Service to retrieve account details
Display contacts in a Lightning web component using HTML and CSS
Use trigger to update child record field from parent record
Create a trigger on the parent object
Query for the child records related to the parent record
Update the field on the child records with the desired value
Write a trigger to update a field on child record with default value if it is the only child of parent
Create a trigger on the child object
Query for the parent record and check if it has only one child record
If the parent has only one child, update the field on the child record with the default value
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
I applied via Recruitment Consulltant and was interviewed in Apr 2024. There was 1 interview round.
A trigger is a piece of code that is executed before or after a record is inserted, updated, or deleted in Salesforce.
Triggers are written in Apex and are used to perform custom actions on records.
Triggers can be executed before or after a record is inserted, updated, or deleted.
Triggers can be used to enforce validation rules, update related records, or perform other custom logic.
LWC decorators are used to add metadata to class fields or methods. '@api' is used to expose a public property or method.
LWC decorators are used to enhance the functionality of Lightning web components.
'@api' decorator is used to expose a public property or method that can be accessed by parent components.
Other decorators like '@track', '@wire', '@api get', '@api set' are also commonly used in LWC development.
based on 2 reviews
Rating in categories
Salesforce Developer
15
salaries
| ₹2 L/yr - ₹7 L/yr |
QA Tester
3
salaries
| ₹3.6 L/yr - ₹5.4 L/yr |
Salesforce Business Analyst
3
salaries
| ₹5 L/yr - ₹6.6 L/yr |
TCS
Infosys
Wipro
HCLTech