Filter interviews by
I applied via Naukri.com and was interviewed in Aug 2021. There were 3 interview rounds.
Relationships in Salesforce define how objects are related to each other.
Relationships in Salesforce can be one-to-many, many-to-one, or many-to-many.
They are defined using lookup or master-detail fields.
Relationships help in creating connections between different objects in Salesforce.
Examples include Account-Contact relationship, Opportunity-Product relationship.
A trigger is a piece of code that automatically executes when a specified event occurs in a database.
Triggers are used to enforce business rules, validate data, and maintain data integrity.
They can be written in Apex programming language in Salesforce.
Triggers can be executed before or after an event like insert, update, delete, etc.
Example: A trigger can be used to update a related record when a new record is inserted
Use proper naming conventions, follow coding standards, write test classes, bulkify code, and handle exceptions.
Follow naming conventions like using meaningful names for variables and methods.
Adhere to coding standards to ensure consistency and readability.
Write test classes to cover at least 75% of your code for better code coverage.
Bulkify your code to handle large data volumes efficiently.
Handle exceptions properly ...
Top trending discussions
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 LinkedIn and was interviewed in Dec 2024. There was 1 interview round.
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 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 1 review
Rating in categories
TCS
Accenture
Cognizant
Infosys