
Custom objects are database tables that allow you to store data specific to your organization in salesforce.com.
You can use custom objects to extend salesforce.com functionality or to build new application functionality.
Subscribe to the YouTube channel My Tutorial Rack for Salesforce tips and tricks, latest news, and glimpses of the new courses.
Master Detail relationship is the Parent child relationship. In which Master represents Parent and detail represents Child. If Parent is deleted then Child also gets deleted. Rollup summary fields can only be created on Master records which will calculate the SUM, AVG, MIN of the Child records.
•Up to 2 allowed to object.
•Parent field on child is required.
•Access to parent determines access to children.
•Deleting parent automatically deletes child.
•A child of one master detail relationship cannot be the parent of another.
•Lookup field on page layout is required.
No, directly we cannot create master details relationship if custom object contains existing records.
Steps to follow:
Lookup relationships are used when you want to create a link between two objects, but without the dependency on the parent object.
So you can have all 40 as Lookup Relationship fields,38 Lookup and 2 MD or 39 Lookup and 1 MD relationship fields on an object
| Lookup | Master detail |
| Loosely coupled. | Strongly coupled. |
| Roll-up summary field cannot be created. | Roll-up summary field can be created. |
| Parent record is not required while creating a child record. | Parent record is always required in order to create a child record. |
| Lookup fields are not required on the page layout of the detail record. | Master-detail field is always required on the page layout of the detail record. |
| Standard object record can be on the detail side of a custom object in a lookup relationship. | Standard object record cannot be a child. |
| By default record ownership of child records is not controlled by the parent. | Parent controls the record ownership of child records. The owner field is not available on the detail record in master-detail relationship queues, sharing rules and manual sharing is not possible for detail records as it requires the owner field. |
| You can have a child record without a parent. | You cannot have a child record without a parent. |
| You can have a maximum of 40 lookups on an object. | You can have a maximum of two master details on an object. |
| No cascade delete. | cascade delete. |
Explore roll-up summary fields, a master-detail only, read-only tool that aggregates related records by sum, min, max, or count, with optional filters.
Explore organization-wide defaults in Salesforce, including private, public read, write, transfer, and public read/write transfer, plus controlled by the parent and grant access using hierarchies.
Explain how to open access in Salesforce when access is private by using the role hierarchy and sharing rules, allowing the record owner and higher roles to view related records.
Use Salesforce audit trail to track password resets and user activity, view recent entries, and download six months of history with view setup and configuration permission.
Learn how Salesforce workflows automate tasks—assigning tasks, email alerts, field updates, and outbound messages—without human intervention, while approval processes require human input and submission locks records.
Explore the four types of Salesforce email templates—text, HTML with letterhead, custom HTML, and Visualforce—and learn how merge fields and permissions shape personalized outreach.
Learn how lead and case assignment rules automate routing to users or queues by criteria for lead generation and support. Enable multiple rules in setup, but activate only one.
Learn to implement pagination in Salesforce by loading a page of accounts with 20, adjustable to 10 or 40, using a standard controller with first, last, next, and previous navigation.
Learn the difference between sets and maps in Salesforce, and how to store a list inside a map with an example using ID keys and a list of opportunities.
Explore the difference between SOSL and SOQL: SOSL searches text across multiple objects and fields, while SOQL reads records from a single object.
Learn to write SOQL and SOSL queries to fetch account name, phone, and account number, and use SOSL find to search across all fields in Salesforce via the developer console.
Explore how apex transactions ensure all operations are committed or rolled back within a single transaction, using a lead validation rule and account and lead inserts to preserve data integrity.
Understand how batch apex processes millions of records by dividing them into batches to avoid governor limits, using the database dot matchable interface with start, execute, and finished methods.
Learn how to use trigger.new in a before insert trigger to prepend X, Y, Z to the product code for new product records, iterating over new records to modify codes.
Discover why Apex unit tests validate code, enable regression testing, and help deploy to production with 75 percent code coverage, using isTest annotations or testMethod.
Learn to write Apex unit tests for a temperature converter that converts Fahrenheit to Celsius, including test class naming and strong code coverage.
Maximize Salesforce code coverage by implementing comprehensive unit tests with a test utility and Apex test class, covering normal, high-priority, and invalid inputs to reach 100 percent.
Learn how Salesforce trigger events fire, covering before and after triggers, with examples for before insert, before update, before delete, and after insert, after update, after delete, and after undelete.
Write bulkified apex code that handles multiple records and avoids queries inside loops. Maintain a single trigger per object by using apex classes and limits, and avoid hard-coded ids.
Salesforce Interview Questions & Answers – Be Fully Prepared for Your Next Job Interview
Struggling with Salesforce Interview Preparation? Unsure What Questions to Expect?
The demand for Salesforce professionals is skyrocketing. With more businesses adopting and upgrading their Salesforce platforms, job opportunities for Salesforce Developers, Administrators, and Business Analysts are at an all-time high.
But with more opportunities comes tougher competition.
Employers are no longer asking just basic, straightforward questions. Scenario-based and real-world problem-solving questions are now the norm, making it difficult for candidates without hands-on experience to succeed.
Without the right preparation, even the most skilled professionals struggle to articulate their knowledge confidently.
But what if you could walk into your Salesforce interview fully prepared, knowing exactly what to expect?
This course is designed to help you do just that.
Why This Course?
This isn’t just a list of questions—it’s a strategic preparation guide that helps you understand the reasoning behind each question, how to structure your answers, and what hiring managers are really looking for.
Comprehensive Interview Coverage – Covers interview questions for Salesforce Developers, Administrators, and Business Analysts.
Scenario-Based Questions – Practice answering real-world, hands-on questions that hiring managers love to ask.
Freshers & Experienced Professionals – Whether you’re just starting or want to brush up on your skills, this course has you covered.
Apex, Visualforce & Out-of-the-Box Features – Gain in-depth knowledge of the most frequently asked topics.
Expert-Led Insights – Get inside tips on how to approach complex questions from an experienced Salesforce professional.
Who Is This Course For?
Aspiring Salesforce Professionals preparing for their first job interview
Experienced Developers & Admins who want to refine their interview skills
Salesforce Career Changers looking to transition into a new role
Anyone preparing for Salesforce technical interviews
What You’ll Learn
By the end of this course, you will:
Understand the most frequently asked Salesforce interview questions
Master scenario-based problem-solving techniques
Learn how to structure your answers to impress interviewers
Gain confidence in discussing Apex, Visualforce, and core Salesforce functionalities
Be fully prepared for real Salesforce job interviews
Before vs. After – Your Career Transformation
Before this course, Salesforce interviews might feel unpredictable and overwhelming, leaving you unsure of what to expect.
After this course, you will have clear insights, structured responses, and the confidence to answer even the toughest interview questions.
This is your opportunity to stand out from the competition and land your dream job in Salesforce.
Are you ready to ace your next Salesforce interview?
Enroll Now & Take the First Step Toward Your Next Career Move