A Related List is used to display the details of objects that have a relationship (i.e. a master-detail or lookup) to the current object on the page.

learn more… | top users | synonyms

1
vote
0answers
14 views

How to add new Action buttons to related list?

We are using the Service Console app to log incoming calls as cases. Our current process is to use Global Search to find the Account, find the contact and create a new case on from the contact. I am ...
-1
votes
1answer
40 views

ParentId on Child Record

Ahhh Salesforce, here we go... When creating a new Opportunity record using the Account's related list New Opportunity button, I am able to get the Account Id using "Map m = ...
0
votes
1answer
24 views

apex:relatedList pageSize works in sandbox, but not production

I just deployed a custom account page from our sandbox to production instances. One the changes involved was to use <apex:detail id="Account" relatedList="false"/> and then reconstruct all of ...
0
votes
0answers
17 views

How can we add Cloning option of Notes/Attachments when cloning Opportunities?

We would like to Clone Opps, currently it asks if we would like to clone with or without Products, but we need it to also ask if we would like to clone the notes/attachments. How can we achieve this ...
0
votes
0answers
22 views

Removing all buttons on related lists across all page layouts through the metadata

I need to remove all buttons on related lists across all page layouts. I work with the metadata as this is a package with releases, so ultimately, I need the changes reflected in the .layout files. ...
2
votes
1answer
13 views

How to get RelatedListHover to work in <apex:detail> with RelatedList=“false”

I know the question may sound counter-intuitive but I do have a specific use case. Rather then embed a VisualForce page on a Page Layout I have built a VisualForce page that uses the Page Layout and ...
0
votes
1answer
23 views

How can i clone record use deepclone() method and update clone recorded id with its related list?

The problem arising clone recorded id does'not updated so and does'not appear related list and updated field so how should i do this? Apex class Public Class CloneVersionwithTextController{ Public ...
0
votes
3answers
55 views

Clone (Parent -> Child ) record with its related list using list button?

I have a requirement to clone (Parent -> Child ) records by clicking a button at the Parent Level with its realted list. I believe Salesforce supports Clone at the Parent Level, it does not have Clone ...
1
vote
2answers
38 views

Visual Force Page in a standard layout. Causing problem because of height limit

I have created a visual force page that displays all the approval history steps. I have added that to the Standard Layout of opportunity and I have found out due to height restriction it is not ...
0
votes
2answers
33 views

Is there any way to create a replica of Approval history using code?

This may sound funny. But I want to create a replica of Approval History related list that looks exactly simillar but not include submit for applroval or recall button. Any help is appreciated.
0
votes
0answers
15 views

Process Builder update Related List

Process builder mentions the ability to update related list information. I want to build Process where if the owner of a record in Object A. then select all records from object B (Lookup relationship ...
1
vote
1answer
50 views

Is it possible to insert a visual force page in the custom object layout?

Public Class SalesOrderLayoutCom{ public List<Sales_Order__c> OrderIdList{get;set;} public List<Sales_Order__c> oppIdList{get;set;} Public SalesOrderLayoutCom() ...
1
vote
1answer
35 views

Contacts/ Notes & Attachments

Is it possible to have all the 'Notes and Attachments' from the Account Object to be displayed on each subsequent Opportunity it is related to automatically- similar to a related list? Also, is it ...
4
votes
1answer
147 views

Populate Flow variable with Parent Id - from VisualForce page - launched by related list Custom Button

I have created a Flow which allows my users to insert multiple Currency_Detail__c records from one page. The Currency Detail records have a Master-Detail relationship with Opportunities. I have ...
0
votes
1answer
77 views

Apex Trigger: Insert record in custom object [closed]

A bit lost on how to finish this trigger. Scenario: - After creating a new opportunity - Object Implementation should populate a list of 12 Records - Each record then has it’s own set of task - ...
4
votes
1answer
116 views

Showing Multiple Related list for the Same Object

We have an requirement to show multiple related list of same child object. For e.g. On Account object, we would like to show two related list of Contact object. One related list need to show contacts ...
0
votes
0answers
19 views

Limit the ability to add records of a type to a related list

I need to be able to control creation of records when they are related to a specific record type. Here is the details: "Research Items" is a custom object with 5 record types. "Subscriptions" is a ...
0
votes
0answers
17 views

Salesforce and Mailchimp - displaying of links/open emails

We are investigating Mailchimp as an option for newsletters as we begin to use Salesforce. We will in all liklihood have a custom object (lets call it "Salesforce Subscribers") which will populate a ...
0
votes
1answer
56 views

Please , how to retrieve line items to Visualforce Email Template?

I try to create Visualforce Email Template in order to send our Purchase order (BC) to the supplier So I need to insert inside the mail , all (BC line items ) I begin to create HTML+CSS code , ...
0
votes
2answers
69 views

How do i get data from a related list (custom object) so i can display it in a text field in Case object

I have a custom object with the name RepairLines RepairLines have a master-detail relation to Case I use the standard Case system where i have a custom text field named Repair In a Case trigger i ...
2
votes
1answer
35 views

I have a simple VisualForce email template that gives a <p> tag error message when I add in the Apex repeat tag.

The Template below validates ok, but when I add the repeat tag it get an error: When I add the Apex tag here is the message I get: Error Error: Volunteer_Reminder_of_All_Opps line 21, column 7: ...
1
vote
1answer
52 views

Not able to add field for related list in page layout

I am not able to add field named 'Related to' for open activities related list in opportunity page layout Is it possible to set in page layout of OPEN ACTIVITIES & ACTIVITY HISTORY ? Thanks in ...
1
vote
2answers
37 views

Filter a related list based on a check box from another related list

Is it possible to filter the related list based on a check box from another related list? If so what is the best way to achieve this. The current relationship is all based on custom objects and ...
1
vote
2answers
28 views

Prepopulate a Set of tasks

Background: I am currently undertaking my first sf project here at work. We are building a little tracking application for the projects we undertake here. I have an object with several related lists. ...
0
votes
2answers
51 views

Customizing Action links on relaed list

I have a visual force page which displays Ticket related info. i have got related list which disaplays related activities. <apex:tab label="Ticket Task" name="OpenActivities" ...
1
vote
1answer
98 views

Prevent related record deletion, except when parent record is being deleted

I have two custom objects, call them Parent and Child. Child has a Lookup to Parent, via Parent__c. It is not a Master:Detail relation. What pattern could I use to prevent deletion of a Child record ...
1
vote
1answer
38 views

please help me in finding the erroe

VF page <apex:page controller="recordPageCont"> <apex:form > <apex:pageBlock > <apex:pageBlockButtons > <apex:commandButton value="Edit" ...
1
vote
1answer
52 views

How to iterate through custom account object to get contacts from it

I have created a page which displays records of account tab.the page that displays a list of record is pasted below. what i want to implement is ..where i click a record,it should diplays the detail ...
1
vote
2answers
146 views

How to implement related list like contact via code

I am trying to create a custom tab just like Accounts Tab. I was able to fetch the detail on my custom tab.but I donot have any idea how i need to get the related list like contact which is related ...
1
vote
1answer
33 views

Separate opportunity views

I have a situation in which User X currently supports both Latin America and our south region . Is there any way to have two separate opportunity views, one for each region. If that is not possible, ...
1
vote
2answers
76 views

Handling Related List Security in Override VF pages

We have created an Override VF page for an object (for e.g. "Parent Object"). There is an object (for e.g. "Child Object"), which has lookup relation ship with "Parent Object". On Override page we ...
0
votes
2answers
52 views

Hover Details on related lists

From what i found the salesforce hover details feature (pop up to show details of object on another objects layout)(User Interface > Enable Hover Details) does not work on related lists. It works ...
0
votes
1answer
107 views

Render item from related list on Visualforce Page

I'm trying to render an item from one related list on PDF. the structure is following: I have Sales Order, where is lookup field to Company, on Company is related list of Bank Accounts which I need to ...
0
votes
1answer
110 views

Javascript error on Button click

I am using one custom list button on one of the related list. But sometime when I click on this button I am getting the below error message: A problem with the OnClick javascript for this button ...
1
vote
1answer
41 views

No Contact Role related list on Contact?

Not sure if I'm missing something obvious here, but on an Account layout I can add Contact Roles fine. Now if I want to view this from a Contact point of view (ie see what roles a Contact plays in ...
1
vote
2answers
72 views

How to use the child objects in a related list after a soql call in Visual Force

My org has an account object with a related list of Contacts. I am querying for the Contacts from the Account and want to use the data on the Contact object. How can I access fields from the contact ...
0
votes
0answers
17 views

Limit action to only View in Campaign History Related List

A user has a Gold Partner license. Whenever they access to a person account, there is a related list called "Campaign History", we need to limit the actions from "View, Edit and Delete" to only ...
0
votes
2answers
203 views

Displaying Contact Roles Related List for Parent Account on Custom Object

I'm trying to build a Visualforce page that will display Contact Roles for the parent Account of a custom object. My class and page tags follow. I'm not receiving any errors at this time, and the ...
1
vote
1answer
59 views

What's the the apex:relatedlist 'list' parameter for Order Product History?

I'm trying to add the 'Order Product History' related list for an OrderItem (aka 'Order Product') to a Visualforce page that uses 'OrderItem' as the standardController: <apex:page ...
1
vote
2answers
196 views

How to access an object related lists in apex

I have an object 'Household Served' with a field called volunteer, and it also has an Event attached to it. The Event has a related list of Contacts. I need to write a trigger that validates the the ...
1
vote
0answers
72 views

Creating a new custom links section

I've been given a requirement to change the name of the Custom Links section in Account details. Changing the section name through Edit Page is greyed out, according to SF help it's one of the ...
0
votes
2answers
69 views

Child Relationship Query Not Working

I have a trigger that I am trying to update the custom object (Share_Reference__c) within the Account object. For some reason my query in List accounts isn't working, saying that it didn't understand ...
3
votes
2answers
41 views

Populate opportunity field based on multiple task criteria

We are currently trying to populate a field on the opportunity based the opportunity having multiple tasks within which certain criteria are fulfilled. The idea is: if more than one task has a ...
0
votes
0answers
72 views

Process Builder - copy notes from a record to related list

is there a way upon creation of a note attached to a record to push it out (copy) to records in a related list?
0
votes
0answers
165 views

Update Checkbox by checking already existing field values

I'm creating an approval process in an account where I am checking the values of a related list, and if the value equals a certain value, I want to check a checkbox on the account object. I have it ...
0
votes
1answer
81 views

Related list not visible to a profile

I have page layout on order object. And there I have a related list of a object. This is access able to admin, but I have a different profile who have access to this page layout but not able to see ...
-1
votes
1answer
41 views

Validation to check if related record available

How to throw some message to user if check box is checked on parent then related record needs to be created if there is no related record in salesforce.How to achieve this
0
votes
0answers
44 views

Junction object between Contract and Order

I have a junction object between Contract and Order. Now I want to create a custom button for creating Contract from the related list of Order.I have a VF page where I have custom controller. On ...
0
votes
2answers
139 views

Visualforce page to show all Chatter posts on contact and all related records

This code will give me all of the posts associated with that Contact but how can I also see all of the posts on related records (opportunities, leads, applications, cases, activities, etc) as well. ...
0
votes
0answers
40 views

Visualforce detail page -related list help links gone?

It seems related list help links don't show up on an overridden view (using apex:detail). How come?