Questions tagged [related-list]

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.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
33 views

Write the following apex trigger [closed]

Anyone can help me to write following trigger: Find the first 2 contacts with the highest salary and update the name in a custom field separated by a “,”. Create a new custom text field on account ...
user avatar
0 votes
0 answers
24 views

Creating multiple specific related lists from one object to multiple child objects based one single lookup on Salesforce

Let's say I have objects A, B, C with another object E which stores records as a result of lookups between E and A,B,C as separate record types, Ex 1. Record type AB on object E which has lookups to ...
user avatar
-1 votes
0 answers
27 views

select all record from a related list without having to select them

I am using a standardSetController in constructor of my extention, wich let me use the functions getRecords() and GetSelected() The problem is that getRecords() gives me a list of ALL the records of ...
user avatar
  • 23
-2 votes
0 answers
39 views

Creating modal window from a related list button

I am trying to create a custom button in a related list that opens as a pop up but the only thing I get is that it opens a new tab in which a button appears that opens a pop up. Something like this: ...
user avatar
  • 1
1 vote
0 answers
18 views

How to open and close a visualForce page with ba related list?

So I am trying to create a VF page where it will be easy to manage multiples records of a related list at a time. My problems are: I don't know how to launch the page from a new button on the related ...
user avatar
  • 23
-1 votes
0 answers
20 views

Click on View All of Notes & Attachments related list shows error

I have multiple Attachments in Notes & Attachments related list of a custom object. My org is Lightning Enabled. When I do click on View All button it shows an error and fails to show all the ...
user avatar
-1 votes
0 answers
22 views

If we need to use compact layout for mini page layout in lightning, then why the option mini page layout given?

There is no need of mini page layout option in salesforce lightning because anyhow we are using compact layout for so that all the selected fields will be shown on mini page layout.
user avatar
  • 1
0 votes
0 answers
13 views

Visualforce page is getting closed after editing the record from Standard Related List

I have a Visualforce page to display Medication records related to the Account. I have used apex:relatedList tag to display Standard Medication related list for Account. Standard related list records ...
user avatar
0 votes
1 answer
62 views

Visualforce display a related list from a lookup field on a custom object

I am quite new to salesforce/coding and got myself stuck on a stumbling block when developing object for our internal use. I have and object called Inventory_Skid_c this object has a field called Skid ...
user avatar
  • 5
-3 votes
1 answer
57 views

How to show more than 4 fields in Salesforce Lightning Related List

Is possible show more than 4 fields? Thanks.
user avatar
0 votes
0 answers
83 views

New Quote button not visible in custom object related list view

I have created a custom lookup field on Quote to an Custom Object X . I added "Quote related list" on this Custom object x page layout . However Im not getting any option to add buttons in ...
user avatar
1 vote
0 answers
69 views

Import Button for Custom Object

I have a custom object that I would like users to be able to upload new related records to. These records are the detail of a master-detail relationship. In campaigns, you can add campaign members ...
user avatar
0 votes
1 answer
58 views

Display child and grandchild record in reated list below parent record on single page

We have three object Opportunity ---> Vendor ---> Vendor Items. The relationship between all these objects are Master Detail. i.e. Opportunity is Master and Vendor is Detail, and Vendor is ...
user avatar
0 votes
1 answer
48 views

Junction object allows to create only one related list

I have created a junction object that relates Case (with related list "A") and Account (with related list "B") objects with each other. I want to place both Related Lists on the ...
user avatar
0 votes
2 answers
73 views

Task Compact Layout is not displaying on hover from its related list

Normally when we have a related list, when we hover our mouse to the clickable link, it'll display a pop up that will show a quick summary (or set of fields) of a record, as shown below: But this ...
user avatar
0 votes
1 answer
49 views

Modify the Fields on Related List

I would just like to ask on how we can add more fields to display on Related List on the right-side? I know that I can re-arrange them through Page Layout Editor, but my goal is to display 5-6 fields, ...
user avatar
  • 103
1 vote
1 answer
29 views

PDF Generation Failed when first result of list does not match criteria

"PDF generation failed. Check the page markup is valid." I have an apex data table to list cases related to a contract. However, I want to only display specific record types on the list. My ...
user avatar
  • 17
0 votes
0 answers
27 views

Can you use CSS overrides to hide actions on Files Related List in a Community

I would like to prevent community users from uploading files on a Files related list on the contact object, but this related list is a system object and is not editable. Is there a way to use CSS ...
user avatar
0 votes
1 answer
34 views

Cannot add a contact related to account without Direct checkbox

I want to add a contact, related to an account, as the contact of an opportunity, but I can only select the related contacts that have the checkbox “Direct” active. This checkbox I cannot see, edit or ...
user avatar
0 votes
1 answer
37 views

Delete a file from a related list by non-owner

I have a record with a file in a related list. I want to allow a non-owner to delete that file. Since you can't add a custom button to that list and non-owners can't delete a file how can this be ...
user avatar
0 votes
0 answers
37 views

Validation Rule On Related List

I have a request to make Page> Related Record required, via validation rule. It is a Lookup Field to Account Name with an Update Action. Im not at all familiar with Lightning Pages or how the ...
user avatar
0 votes
0 answers
28 views

FSC - Adding a column to "Investment accounts" related list under person account

I need to add a new column/field to the "Investment account" related list but do not see it in either the Account or Person Account page layout - is this controlled elsewhere in FSC?
user avatar
1 vote
0 answers
31 views

Prevent record names from showing in related records

Set up I have a profile for an external user called "Software manager". "Software manager" has read access to account & contacts. Organization wide default (OWD) setting for ...
user avatar
  • 149
0 votes
1 answer
218 views

redirect relatedlist button back to relatedlist view after the flow is completed

Premise: I have to delete the records of a custom object(custObj__c) from Opportunity's related list (there's a master-detail relationship between custObj__c and opportunity). Only "selected"...
user avatar
  • 405
0 votes
0 answers
26 views

Visualforce - Trying to lookup a specific list from a related object

Context: We have two main objects we work with Loans & Contacts. Contacts two main categories are Borrowers & Business Partners(ie. Realtor, Insurance Agent, Referral). Loans have multiple ...
user avatar
  • 1
0 votes
1 answer
29 views

Count of RelatedLIsts on a Page Layout

Using Tooling API, or Reports, is there a way to find how many related lists are on each Page Layout ? I am dealing with a large Org with more than 600 Objects, and some objects have more than 100 ...
user avatar
0 votes
0 answers
25 views

Dynamic Text Template in a Flow

I am trying to create an email alert that contains a list of records. The relation from the input record (call it "Object A") to the list I want to show (call it "Object C") is ...
user avatar
0 votes
0 answers
154 views

Get selected records from related list In Quick Action (Aura or LWC component)

Do we have any possibility to get selected records in related list in Quick Action (Aura or LWC component) for that related list. So when I select records I want to get these records or their Ids ...
user avatar
0 votes
0 answers
51 views

Individual Email Message Related List On Lightning App Page

I have added the "Individual Email Message" related list to a Lightning Record Page, and also added it to the Classic Page-Layout, but when I open a record with this Lightning Page/Page-...
user avatar
0 votes
0 answers
21 views

How can we Hide Reply buttons of Emails related list on community detail page?

Following is the image of buttons on the emails-related list in salesforce. Replying via these buttons is showing the following errors for community users. How to hide these buttons so that Emails ...
user avatar
0 votes
0 answers
152 views

Custom lightning-datatable limit displayed rows and view all redirect to filtered by RecordType

I've been asked to do a custom relatedList in a parent object (i'm using lightning:datatable): I'm facing two problems: First one: If the custom related list has for instance 16 records, i only want ...
user avatar
2 votes
1 answer
488 views

Community Members Related List Won't Display Data In Community For Partner Users

When I am log as a regular salesforce user on the account detail page, we have a related list displaying Community Members. Now I wanted similar thing in the Experience Site. I set it as follows. ...
user avatar
  • 1,532
0 votes
0 answers
202 views

Related list of child object not showing in parent Object

Correct me if im wrong, In my knowledge I have to create a look up Account field in the child object for the related list appear in Parent Object (account) but it is not showing in Parent. Is my ...
user avatar
0 votes
0 answers
18 views

Apex:relatedlist pageSize attribute is working for other users except for the creator of the code

I'm trying to create a custom related list enclosed in a VF Component that was called in a VF page using apex:relatedlist and I'm having trouble with the functionality of the pageSize. <apex:...
user avatar
0 votes
0 answers
15 views

I would like to receive the ID value of checked Opportunity Product within Opportunity and process it

We tried to get the ID value of the checked Opportunity Product in the Opportunity record and process it as Button. However, OpportunityLIneItem does not support StandardController on VisualforcePage. ...
user avatar
  • 31
0 votes
0 answers
108 views

User with correct profile permissions unable to view Related Custom Object list

I recently rolled out a new custom object to our org and have made sure profile settings are correct for read / view / edit access for the custom object itself, and the related objects that need to be ...
user avatar
1 vote
1 answer
184 views

force:hasRecordId interface doesn't provide recordId from "new" button override

I have two custom objects (let's call them House and Resident). The House record page has a related list containing all related residents. I also have two lightning components (ResidentDetails and ...
user avatar
  • 155
0 votes
0 answers
35 views

How to get selected records to Custom List Controller

I need to create a button that will delete selected OpportunityLineItem records. This special object is not supporting StandardListController so I need to write custom one. I know how to start, what I ...
user avatar
0 votes
2 answers
108 views

My query is returning one record, but without any data in it

I have this query to get the related data and update it, if it exists. In interface im not seeing any data, but sfdc somehow is fetching one row without any values in it.
user avatar
0 votes
0 answers
44 views

In related Contacts list it shows account field instead of contact fields

I am seeing some discrepancies with related list page layout deployment. The columns are shown in Contact related list on custom object page layout changes when deployed to the instance. Columns in ...
user avatar
0 votes
1 answer
178 views

Open a lightning web component using custom button on related list [closed]

Hi everyone I have this requirement where I have to call a lightning web component by clicking on a custom button on the related list. Little confused, can this be achieved? As seen in the below ...
user avatar
0 votes
0 answers
35 views

How can I show the 'MessagingSession' Related List to my users in a Community?

Is there a way to show the "MessagingSession" object for SMS on a Community where the profile has read access to both the session and user objects? We can see the records internally but once ...
user avatar
0 votes
0 answers
61 views

Related List 'Files' not showing related Files

I have a custom object with several lookups to other objects. On the page layout I have added a related list 'Files'. When I click on 'add files' a dialog window opens. Here I miss the tab related ...
user avatar
  • 181
0 votes
1 answer
265 views

Default value is not getting prefilled while creating a new record using button

There is a master detail relationship between Opportunity and Work Order with opportunity as the master. I have created a custom list button on Work Order related list that will create new Work Order ...
user avatar
  • 1,014
1 vote
1 answer
270 views

Custom "new object" screen from related list

Let's say I have two objects, Object A and Object B. I have a related list on Object A's page layout, which can be used to create B objects. The problem is, Object B has many "system" fields ...
user avatar
  • 155
0 votes
0 answers
262 views

External Id a standard field on Custom Objects

I am writing a data migration project to take data from an external system and map it into SFDC as a hierarchical structure of custom objects using the Bulk Api 2. The pattern is as follows: Insert ...
user avatar
0 votes
1 answer
1k views

Navigate to related list of Account in LWC

I want to navigate to the related list of accounts with click of the button in LWC. But when I click on the button I am getting the below error : Error in $A.getCallback() [Cannot read property '...
user avatar
  • 55
2 votes
0 answers
192 views

Adding additional columns to standard related list in Lightning

I have a requirement to display version number and some other fields from files object in Approval object . I am using the files related list-Single . I tried using enhanced list and number of records ...
user avatar
  • 197
0 votes
1 answer
63 views

Certain Profiles Unable to View Related List on Custom Object

Related List is shown for admin and not for other profile, even this profile has access in child object read, and in the fls too. can someone help me to figure it out please.
user avatar
0 votes
1 answer
491 views

Lightning Email template Related Entity Types not populating

I'm trying to create an email template in lightning. The Related Entity Type dropdown is only loading Contact and lead, not all of the regular objects.
user avatar

1
2 3 4 5
11