12 votes
Accepted

Filter in Related List using fields from related record

There's three options available that I know of. Use an existing, third party Lightning component that provides filtered related list functionality, such as this one from Salesforce Labs. (Disclaimer: ...
David Reed's user avatar
  • 92.6k
8 votes
Accepted

Show more than 4 columns in Salesforce Lightning Related Lists

Currently you cannot view more than 4 columns in lightning related view. There is a idea currently and status shows as Currently in development. Hopefully it should be available soon. Idea link You ...
night crawler's user avatar
8 votes
Accepted

Dynamic Related List Not Supporting Custom Actions?

You cannot add custom action on the related list. Review the bellow idea : Allow quick action on related lists However, you can use a custom button on the related list (Display Type : List Button). ...
Vitalii Dehnerys's user avatar
7 votes
Accepted

Layout - How to rename related lists?

You can change the Related List Label by modifying the Related List Label field on the field that references the parent object. In your case, if you go to the object CaseBugJunctionObject, edit the ...
sfdcfox's user avatar
  • 487k
6 votes
Accepted

Having Trouble with Parent-to-Child lookup/SOQL Query

You can get the API Name of the child relationship as follows via Execute Anonymous: for (ChildRelationship relationship : SObjectType.Request__c.getChildRelationships()) if (relationship....
Adrian Larson's user avatar
  • 150k
6 votes
Accepted

How to Query 2 Objects Down Parent to Child SOQL in APEX Class

This is one of the most confusing aspects of relationship queries in SOQL. The FROM clause in your subquery does not specify the name of the child object. It specifies the name of the relationship, ...
David Reed's user avatar
  • 92.6k
6 votes
Accepted

Can I use getListUi method with Related List Views?

Currently, no. That @wire adapter does not allow relative parent (flexipage record Id). On the roadmap (no ETA) is the lightning:relatedList base component, so whenever that is released we might be ...
tsalb's user avatar
  • 3,735
5 votes
Accepted

Visualforce customization isn't displaying multiple fields

The reason for this issue is that the relatedList is not named "Campaign Histories" Use: <apex:relatedList list="CampaignMembers"/> apex:relatedList list= values have to be valid relationship ...
cropredy's user avatar
  • 70.9k
5 votes
Accepted

How to customize the record related list in lightning community

Not all standard components are available in Community Builder as available in App Builder. It also depends on the type of page you are creating. Refer to below excerpt from the documentation: The ...
Jayant Das's user avatar
  • 30.5k
4 votes

Limit for Related Look-up Lists

You can have as many custom objects as you want, you just can't reference them in your workflow, formula fields and validation rules during the same execution context by spanning more than 10 objects. ...
crmprogdev's user avatar
  • 40.9k
4 votes
Accepted

Related list button not displaying on opportunity record in Lightning Experience

Javascript custom buttons are not supported in Lightning. Read here, it says: Custom buttons that use a JavaScript content source aren’t supported in Lightning Experience. You can replace some of ...
Blair Kristin's user avatar
4 votes
Accepted

Name of related list Related Contacts

<apex:page standardController="Account"> <apex:relatedList list="AccountContactRelations" subject="{!Account.ID}"/> </apex:page>
cropredy's user avatar
  • 70.9k
4 votes
Accepted

How to Pass in Checked Objects from RelatedList into VF and Apex Class Constructor?

To enable a List Button, first define a Visualforce Page whose <apex:page> tag uses the standardController and recordSetVar properties. The former should use the child object on your related ...
Adrian Larson's user avatar
  • 150k
4 votes
Accepted

Cannot locate Created By field for Case layout

Created By is one of those fields that is not available for related lists. It's not just the one related list you've observed, it's all related lists. The same is true for the Last Modified By field; ...
sfdcfox's user avatar
  • 487k
4 votes
Accepted

Where do I find this related list API name to access in query?

You can always find the child relationship name by going through the DescribeSObjectResult on your parent object. DescribeSObjectResult describe = SObjectType.Contract; for (ChildRelationship ...
Adrian Larson's user avatar
  • 150k
4 votes

Where do I find this related list API name to access in query?

Declarative (Standard Order Object) Setup Customize Orders Click on the field that is the lookup to the Contract Look at the Child Relationship name For code see Adrian's answer An example query [ ...
Eric's user avatar
  • 54.1k
4 votes

Related list is not visible in lightning mode for a user but visible in classic mode

Hi I have faced the same problem so this is what i did check for the lookup field permission on the child object (It needs to be atleast read) in classic we are able to see the related list ...
Umang Gupta's user avatar
4 votes
Accepted

Read-only permissions on Files

I suggest writing a trigger on ContentVersion Object to prevent user from uploading the file on case and contact object. We do not have any such permission to restrict user from uploading a file from ...
sanket kumar's user avatar
  • 15.2k
4 votes
Accepted

Trying to add Related Record List to community

I was not using the correct related list name. I found the correct related list name by going to displaying the related list in Lightning & copying what appeared in the URL for the related list ...
Michele Kleinhomer's user avatar
4 votes

New Button missing on Custom related list

Okay, weird fix but it resolved my issue. Went to the Lightning App Builder for the problem page. On the related list component, set the Related List Type from Enhanced List to Basic List and saved. ...
dazmae's user avatar
  • 166
3 votes

Visualforce customization isn't displaying multiple fields

You have to use related list's reference names, not the titles. Here is 2 examples: <apex:page standardController="Lead"> <apex:relatedList list="OpenActivities" /> <apex:...
o-lexi's user avatar
  • 3,094
3 votes
Accepted

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

When you use a relationship name in a query or in related list, you must use the relationship names without the __c. Instead, append an __r (underscore underscore r). so it will be Inspections__r ...
Himanshu's user avatar
  • 10.5k
3 votes

Overriding the contact related list

Custom Fiter: You need a separate VisualForce page for sure. This blog explains creating a new VisualForce page with custom conditions as you wanted. You can add filters in the SOQL while retrieving ...
karthikselva's user avatar
  • 2,446
3 votes

How to display the field history related list for a custom object on a Visualforce page?

Spring '17 (API v39.0) The Histories relationship works for custom objects: <apex:relatedList list="Histories"/>. I couldn't find it mentioned in the release notes. Thanks for forum user ...
xn.'s user avatar
  • 2,428
3 votes
Accepted

See child account opportunities under parent account

You can do the following: Create a lookup to Account on Opportunity called Parent Account Update the lookup field to parent account of the account of Opportunity if it is not null. This can be done ...
RajeshShah's user avatar
  • 1,754
3 votes
Accepted

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

For custom objects that are part of a Managed Package this is done slightly different, because you have to override the values provided in the package: Click Setup->Translation Workbench->Override In ...
Guy Clairbois's user avatar
3 votes

Get data from related list w/list of opportunity

You can use the inner query to get related list of a Object. You can verify the Relationship name using Workbench --> Info --> Standard and Custom Object -> Select and Object for which Relationship ...
Devendra's user avatar
  • 5,075
3 votes
Accepted

Rename Standard new related list button

No, you cannot rename the standard buttons. You'll have to create a new button then uncheck the new button from the related list buttons. To create the url hack a tutorial I found is here: http://...
Dan Wooding's user avatar
  • 3,498
3 votes

Is it possible in LEX to show the Related List Contacts on Account-View as List instead of Cards?

This functionality is coming in Spring 17 release. You can edit the page using Lightning App Builder. You can click on the 'Related Lists' (not Related List) component and select the way they need to ...
Balanarayan NT's user avatar
3 votes
Accepted

Approval process within a VF page in lightning experience does not work

Since you already know it's not supported in Lightning, your code should be written such that it's context sensitive. You can use code such as what's contained in this Trailhead Module on multipurpose ...
crmprogdev's user avatar
  • 40.9k

Only top scored, non community-wiki answers of a minimum length are eligible