-
How to apply uniqueness on Junction object in Salesforce?
Hii All,
I have a junction object C of A and B.
I found out that I can create multiple entries of A and B in Object C - this is wrong, as in my case, each combination of A and B should appear only once in Junction object C. The second time, someone will try to enter A and B as a new entry in C - it should fail.
How can I enforce this?
Log In to reply.
Popular Salesforce Blogs
Salesforce Configuration Vs Salesforce Customization and Their Best Practices
What Is Configuration In Salesforce? Salesforce design is everything you can do inside the CRM framework. This implies you can add another field to your…
Using Ternary Operator in Salesforce Lightning Components
The below code shows how to use Ternary Operator in Salesforce Lightning Components: Ternary_Operator.cmp <aura:component > <aura:attribute name=”isError” type=”Boolean” description=”If Name is empty then true,…
Popular Salesforce Videos
What is Salesforce APEX? How to use APEX? Salesforce Interview Questions and Answers
Apex is a strongly typed, object-oriented programming language that allows developers to execute flow and transaction control statements on Salesforce servers in conjunction with calls…
Securing Salesforce Access with Multi-Factor Authentication
It's important to implement strong security measures to protect your business and customers. One of the simplest, most effective ways to help prevent unauthorized account…
What are Cross Object Formula fields in Salesforce?
In this video, Cross Object Formula Fields in Salesforce is explained by dividing this topic into 4 basic points, which are: 1. What is Cross…