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
3answers
36 views

Invalid field for SObject using nested SOQL Query

Trying to create a list of Open activities so that I can sort and display as an apexDataTable on a VF page. I'm currently seeing the error: Invalid field Subject for SObject Account VF Page ...
0
votes
2answers
31 views

Set name of related list on contact

I have Opportunities that link directly to a contact with a custom master detail field, and that link to a contact via a Contact Role. One Opportunity record type (general) will use the custom Master-...
3
votes
1answer
26 views

Custom Object missing from English translation in Translation Workbench but not other languages

I'm trying to rename a managed package custom object's related list label through the Translation workbench using this article as a guide. When selecting "English" as the language and the Setup ...
0
votes
1answer
40 views

How To Display A Related List Of Custom Object

I've created a custom object and I would like to know how to display a related list for that object? Please have a look at the screenshot. Please advise how to display a related list for Cases ...
2
votes
0answers
31 views

Lightning Component - Selected Related Object

I'd like to build a custom component similar to the post below: Lightning - Related List The answer for that post above works only for the visualisation. However, it does not describe the Write access ...
0
votes
0answers
17 views

Getting data and making a trigger around Activity history of Quote

I need to make a trigger/workflow that would change opportunity stage after someone sends a quote pdf email. I'm still thinking of ways to accomplish this, but so far i thought about making a trigger ...
2
votes
0answers
91 views

How to add a line item to a related list from a custom button?

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
12 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
49 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 <apex:...
0
votes
0answers
29 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
40 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
30 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
21 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
45 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
33 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
43 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
44 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
67 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
24 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
28 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 ...
2
votes
1answer
47 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
16 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
41 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
111 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" /> <apex:...
1
vote
2answers
51 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
71 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
20 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
90 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
52 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
73 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
144 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
31 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
80 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 column....
1
vote
1answer
62 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
36 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
32 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
49 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
62 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
35 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
51 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
58 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
41 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
18 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
43 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
72 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
41 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
196 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 that....