Filter interviews by
I was interviewed in May 2024.
Use Lightning Web Components to display records from Salesforce
Create a Lightning Web Component (LWC) with a wire method to fetch records from Salesforce
Use HTML and CSS to design the layout of the component
Iterate over the fetched records to display them in the component
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
posted on 17 Feb 2024
You can change the create date while uploading records through Data Loader by enabling the 'Allow Insert' option.
Enable 'Allow Insert' option in Data Loader settings
Map the 'Created Date' field in the mapping file to the desired date/time value
Ensure the user has the necessary permissions to change the create date
Wire method in Salesforce is used to fetch data from Apex controller to Lightning Web Component. Adding records inside wire method in JS file involves using imperative Apex to create records.
Use @wire decorator in Lightning Web Component JS file to call an Apex method
Inside the wire method, use imperative Apex to create records by calling the createRecord method from the Lightning Data Service
Pass the record data as pa
In Apex, security is enforced by default. If a user doesn't have access to a field, they won't be able to query it.
In Apex, security is enforced by default, meaning that users can only access data they have permission to see.
If a user doesn't have access to the Phone field in the Account object, they won't be able to query it even with WITH_SECURITY_ENFORCED.
The SELECT id, Name, Phone from Account WITH_SECURITY_ENFORCE...
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.
Data Scientist
5
salaries
| ₹5.8 L/yr - ₹16 L/yr |
Salesforce Developer
3
salaries
| ₹10 L/yr - ₹20 L/yr |
TCS
Accenture
Wipro
Cognizant