i
Amtex Systems
Filter interviews by
Create trigger on Case object to prevent duplicate records based on country, city, and state picklist values.
Create a before insert trigger on Case object
Query existing Case records to check for duplicates based on country, city, and state values
Use a map to store unique combinations of country, city, and state values
Throw an error if a duplicate record is found
I applied via Job Portal
A trigger is a piece of code that executes 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 Salesforce records.
Triggers can be used to enforce business rules, automate processes, or update related records.
Example: Writing a trigger to update a related record when a specific field is changed on a record.
Top trending discussions
I applied via Naukri.com and was interviewed in Jan 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Mar 2021. There were 3 interview rounds.
Child records can be made read-only when parent record's field is updated using validation rules.
Create a validation rule on child object
Use ISCHANGED() function to check if parent field is updated
Use PRIORVALUE() function to get the previous value of parent field
Use ISBLANK() function to check if the previous value of parent field is blank
Use ISNEW() function to allow creation of child records
Use OR() function to comb...
To call a controller method from JavaScript in a Visualforce page, use the actionFunction tag.
Create a controller method in the Apex class.
Add an actionFunction tag in the Visualforce page.
Call the actionFunction from JavaScript using its name.
Pass parameters to the controller method using the actionFunction tag.
Use the rerender attribute to update the page after the controller method is called.
Collection variables are used to store multiple values of the same data type in Apex.
Collection variables include Lists, Sets, and Maps.
Lists are ordered collections of elements that can contain duplicates.
Sets are unordered collections of unique elements.
Maps are collections of key-value pairs.
Collection variables are useful for iterating over multiple values and performing operations on them.
Example: List
Use data loader's parent-child functionality to load both parent and child records at once.
Create a CSV file with both parent and child records
Use the data loader's parent-child functionality to map the relationship between the two
Ensure that the parent records are loaded before the child records
Use the data loader's insert or upsert operation to load the data
Batch class and future method syntax in Salesforce development.
Batch class syntax: Implements Database.Batchable interface, has start(), execute() and finish() methods.
Future method syntax: Has @future annotation, returns void, takes parameters.
Example batch class syntax: public class MyBatch implements Database.Batchable
Example future method syntax: @future public static void myFutureMethod(String param) { ...
I applied via Recruitment Consulltant and was interviewed before Nov 2021. There were 2 interview rounds.
posted on 18 Apr 2022
I applied via LinkedIn and was interviewed before Apr 2021. There was 1 interview round.
posted on 30 Jan 2022
I applied via Job Fair
There are 4 section including Aptitude Reasoning and technical question based on java, data structure and SQL.
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...
based on 2 interviews
Interview experience
Softwaretest Engineer
45
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Consultant Developer
37
salaries
| ₹0 L/yr - ₹0 L/yr |
Test Engineer
23
salaries
| ₹0 L/yr - ₹0 L/yr |
System Administrator
14
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
13
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Infosys
Wipro
HCLTech