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

2
votes
0answers
20 views

How to add a line item to a related list from a custom button? [on hold]

I have created a custom list button using the wizard on a related list. The button is to add a line item to the list from the Products list. The problem is that the URL being used in the custom button ...
0
votes
1answer
11 views

See child account opportunities under parent account

We have a parent-child account structure and we only log our opportunities under the child account. However, we would like to see the opportunities of all child accounts under the parent - is that ...
1
vote
3answers
38 views

How to show a relatedlist using output text field

In my below code, I have an obj1 and obj2 , which is child of Obj1. I am using a visualforce page like below with obj1__c as a standard controller and rendering this page as PDF. I use ...
0
votes
0answers
27 views

Custom button on Related list not visible after deployment

I have created a new custom button on a related list in Sandbox and added it to the layout. When I deploy that button using change set, it become available in the target org but do not get ...
0
votes
1answer
36 views

How to copy related list records of one contact to another contact?

In the contact object i have a related list "Intralink Portal group" each contact can have multiple Intralink Porta groups. i have created a visual force page to add more than one intralink portal ...
1
vote
1answer
26 views

On a related list of a custom object, is it possible to show fields of a related custom object

Apologies if I am asking a stupid question here, but here is my scenario: I have a custom object, say A, which has two lookups: One to a standard object (Lead) and, Another to a custom object, say ...
0
votes
1answer
17 views

Default Record Type when creating record from related list

I'm sure this will be a dumb question, but here it goes. I have two custom objects in a master detail relationship. Credit Applications are the parent, and Credit Decisions are the child. There are ...
2
votes
2answers
28 views

Case Related Lists in Visualforce Page

Does anyone know how I can pull Case related lists into a custom Visualforce page? I know I can use the syntax: <apex:relatedList list="NotesAndAttachments"/> in other pages, however, I ...
1
vote
1answer
28 views

Show specific related lists dependent on profile on a visualforce page

I have an Account VisualForce page that is tabbed. By using Record Types and Page Layouts I can have different fields visible for different record types. this however is not the case with the related ...
0
votes
2answers
40 views

How to Insert data in to Related List on Contact Object

Below is the apex class which i have written to insert data in to related list on contact.i am not getting error while executing the class but the data in not getting saved in the related list ...
0
votes
1answer
31 views

Adding Custom Objects as a tab(related list) to a VisualForce page

I am trying to add a custom object related list onto a tabbed visualforce page. every time i do it comes up with an error: 'Inspection__c' is not a valid child relationship name for entity Account ...
-1
votes
1answer
22 views

Regarding List in Salesforce

global static String updateProfileDetails(UpdateProfile profiles){ try{ System.debug('UserID:'+profiles.UserId); /** Adding a single user into list to support error handiling. ...
0
votes
2answers
47 views

How to customize related list order in Custom VF page? [closed]

I have written custom VF page on CASE object to show custom object as related list to the CASE. I could able to do that but I need to show at the top of all other CASE's standard related list. Im only ...
-1
votes
1answer
23 views

Create Multiple Related Lists [closed]

I am looking for a way to create multiple related lists for Opportunity Products (on Opportunity object) and again for Order Line Items (on Order object). Aren't there any free apps that can ...
1
vote
1answer
22 views

Pull OpportunityContactRole value into VisualForce Template related to an Invoice

We're setting up a workflow to notify the finance department when an Opportunity owner flags an invoice as "ready to be sent". I've got a VF email template, relatedTo="invoice", and I want to pull ...
1
vote
1answer
38 views

How to Override (Related List) New Button?

I am attempting to override the "new" button that I see on the Opportunity List page with a Visual Force page. I intend to use the same page and same controller for the New and Edit buttons. The Edit ...
1
vote
1answer
14 views

Activity Related List doesn't have Sort Option

There is no option on the activity list to sort by subject or other field but it is showing on all other object?
0
votes
1answer
38 views

Add custom field to attachment related list

I need to add a custom field to attachment related list, so that while uploading documents user can specify business type of document. I found it is not possible to customize standard attachment ...
3
votes
3answers
110 views

Visualforce customization isn't displaying multiple fields

I am using the following VF page for Lead related List VF page and it is not working { <apex:page standardController="Lead"> <apex:relatedList list="Campaign History" /> ...
1
vote
2answers
49 views

Populating Related List on Contacts Page using apex

I want to display all the Accounts that have same contacts in them. Suppose Account 'A' has 5 contacts associated to it lets say c1,c2,c3,c4 and c5. Now on contact page i want to see a related list ...
4
votes
1answer
55 views

Show Enhanced Notes in VisualForce page

We had a Visualforce page showing the Notes and Attachments using: <apex:relatedList subject="{!Object__c}" list="CombinedAttachments" /> We recently decided to stop using attachments to ...
3
votes
1answer
17 views

How can I develope vf page related child object EmailMessage to case object?

Can any one tell me how can I get related list from case object.I need to display EmailMessage(child object).Here sample code but not get anything.What did I wrong please help me out? <apex:page ...
1
vote
1answer
69 views

Onclick of related list show more link, it's redirect to home page. while using apex:relatedlist and salesforce global variable action

So let me explain my issue. We have a custom object example custom_object__c. We decided to override the detail page using our custom VF page. SO we have one more VF page that will be home page of ...
1
vote
1answer
44 views

Notes and attachment related list questions

1) A user wants the notes and attachment related list for certain types of documents (i.e. finance related) and another related list for other types of documents (i.e. management). Anyone know how to ...
0
votes
0answers
12 views

How to add commandButton/inputButton to apex:relatedList as its child on top of list

How to add commandButton/inputButton to apex:relatedList as its child on top of list. I need to add custom functionality with the help of button but that should be part of relatedList in visualforce ...
1
vote
1answer
72 views

How to update the child custom Object Picklist field values while creating the child record from Parent Object related list?

I have a Custom Object called Opportunity_carset.the related list of Opportunity Carset Object is Service. The Opportunity Carse Object has two fields. Model Version The Service object has some ...
3
votes
1answer
97 views

Related list button not displaying on opportunity record in Lightning Experience

There is an apex button that is not displaying when the record is viewed in Lightning Experience. The related In Salesforce Classic it is working fine , When I move to lightening it is not ...
0
votes
0answers
28 views

How to display complete list as Apex:RelatedList (lookup obj list)

I need to display relatedList of stadard object on feed view By default 5 items getting displayed. If there are e.g 100 items how can i display all of them ( using next page or something )
4
votes
1answer
77 views

Overriding the contact related list [closed]

I am a newbie to salesforce. I have a requirement where I need to override the Contact related list and have to make the columns sortable(ascending and descending) when the user clicks on the ...
1
vote
1answer
60 views

Dependent lookup in Visualforce

From the VF developer guide I'm learning how to create a related list in Visualforce. I have two questions: Is it possible to filter a related list other than by using Visualforce? Is it possible to ...
1
vote
1answer
33 views

Add related list after create a lookup field with metadata API

I would like to know if there's a way to add the related list in the parent object after I've created a lookup field trough the metadata-api? this is what I'm doing: Creating the field: String ...
1
vote
0answers
27 views

Unable to update (corrupt?) page layouts via Metadata API. Error: Invalid field:xxx in related list:xxx

Our application uses the Metadata API to make changes to page layouts. This mostly works great, but in the last month or so we've encountered several customer organizations where we get errors when we ...
1
vote
2answers
46 views

Using apex:commandButton inside relatedList facet to show/hide pageBlocks on a VF page

I'm trying to replace the "header" facet inside a relatedList on my Visualforce page. Inside the header I want to put a commandButton that, when I click it, will hide (via rendered) the pageBlock that ...
0
votes
0answers
52 views

How to clone opportunity records with its related list ,Notes and attachment using javascript

I have cloned the opportunity record using this java script ,but i want to clone the related list records and Notes&Attachment also using this java script. i don't know how to clone related list ...
0
votes
1answer
33 views

Related Fields not available on visualforce page

I have a long list of "related lists" available to me that I can put on a Contact layout. I would like to display these same related lists on a visualforce page using <apex:relatedList> and the ...
0
votes
1answer
46 views

Related List PageSize Not Working Properly

I am trying to limit an apex:relatedList to one record by setting pageSize=1, but it is showing all of the related records. Can anybody tell me what is the issue? Here is my code: <apex:page ...
0
votes
0answers
44 views

I am getting this error, “Error: Closed/Lost opportunity stage should match with Omitted forecast category”

When I move something to closed lost it won't let me save and I get the error: Error: Closed/Lost opportunity stage should match with Omitted forecast category Forecast category isn't even a field ...
3
votes
1answer
37 views

Relationship between contact and opportunity

In the salesforce UI, there is a related list of opportunities on contact layout. However, I can't figure out an API field that relates contact and opportunity. I basically want to get all ...
0
votes
0answers
16 views

can i customize related list based on soql query

I Have a report card for an account, in that report card i want to know how many certifications which are related to particulate account by clicking the link. here is the page and class for report ...
1
vote
0answers
36 views

NPSP URL Buttons don't display in Lightning

I'm using the latest version of the NPSP and noticed that URL buttons are no longer supported for custom actions on related lists when in Lightning mode. This causes an issue because the org I'm ...
0
votes
4answers
64 views

Displaying Related List on Custom Object: SObject row was retrieved via SOQL without querying the requested field

Any help would be greatly appreciated (either in actual code help or pointing me in the right direction). I'm not much of a developer but was trying to get a related list from a custom object to ...
0
votes
0answers
39 views

Get Related list record Count

Apart from Roll-up summary fields , is there any tag to get the count of number of records in a related list? I suppose we cannot use it like this : Opportunitycount = Select OpportunityCount__c ...
1
vote
1answer
152 views

Visualforce: Displaying A Custom Object's Related List When the Custom Object Isn't Directly “Related”

I've been tasked with creating an executive page layout where the basic information is displayed within a standard page layout and if they'd like to see more details they can click a link and see ...
0
votes
1answer
26 views

Notes and attachment in Lead objects

When a lead with notes and attachments in the related list is converted, does the files also saved in the account object? I haven't tried it yet. Thanks in advance.
0
votes
0answers
23 views

How to add background color to relatedlist section invfpage

please help.. I have built a standard VFpage. i want to apply background color to whole page, but i am facing problem in the relatedList section. relatedList code = <apex:page ...
0
votes
1answer
33 views

Retrieve specific field of a related list as field of its parent

I´m trying to figure out how to achieve the following requirement: Pick a specific field from a related list of Account and put in in a field in Account object. Like the image below. This ...
0
votes
2answers
62 views

removing name column in a related list

I know that sometimes we are allowed to remove the name field as column in a related list. But for some related list we cannot remove the name. What is the rule and how to determine if we could be ...
1
vote
2answers
145 views

Child Related List at Parent Level

Does anyone know of a way to display a Child's related list at the Parent record level? I have a custom object with a Master-Detail relationship to the Opportunity object. We utilize DocuSign and ...
1
vote
1answer
141 views

Adding new “Files” related list to Visualforce page

I'm trying to add the new Chatter Files related list to a Visualforce page but not having much luck. In the past, in order to add the Notes & Attachments related list, you would use: ...
0
votes
1answer
29 views

Detect if related list exceeds a specific number

I have two related objects example Teacher and Student. Inside my parent object Teacher I have a field maximum_number_of_student.What I want is that if I add a new student the code will check if I ...