Questions tagged [many-to-many]

The tag has no usage guidance.

4 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

Trigger to create a 2nd record on Junction object after creating an initial record on a related Account

I have created a junction object (Account_Relation__c) to be able to link accounts to other accounts (many too many relationships). To do so, I made 2 lookup fields to accounts on the junction object. ...
0
votes
1answer
114 views

Is there a standard way to add junction objects to a parent using the parent's default record edit form?

I have Cases objects in my Salesforce instance, along with Recommendation objects. For each case I would like to have multiple Recommendations. The Recommendations are not unique to the case, so the ...
0
votes
1answer
62 views

How to access all the related lists of a custom object in visualforce email template

I want to access all the related lists in Attendee__c. Also, Attendee__c and Event__c are connected by a junction object called EventAttendee (many-to-many) relationship, I want to print out all the ...
0
votes
0answers
260 views

How to manage sharing rules in apex?

I am currently learning Salesforce. And I`ve got the task on courses about apex managed sharing rules. I need to use 3 standard objects - Account, Contact, User and 3 custom - Terr(as a territory), ...