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
1answer
21 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
21 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
19 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
0answers
22 views

Related List does not working properly with attribute PageSize

Don't know what i am doing wrong with related List, i am not getting exact output of this Visualforce Page code... Can anybody tell me what is the issue ? Here is the Code : <apex:page ...
0
votes
0answers
19 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
25 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
13 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
13 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
39 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
28 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
29 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
20 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
16 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
32 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
1answer
29 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
55 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
61 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
25 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 ...
0
votes
1answer
30 views

Table in Revenue Object

I've created a object called Revenue in Salesforce and there i stack all the revenue per month. What I want to do is summarize all the revenue that is there. For that reason I've created a roll-up ...
1
vote
0answers
54 views

Service Console - Expendable/retractable list view of ALL emails of a contact, accessible from a case

Our support agents need an expendable/retractable list view of ALL emails from/to a contact, accessible easily from a case in the Service Console. In a case, we can click on "All Emails", and we get ...
0
votes
1answer
125 views

Field with Count of Records in Related List

My Opportunities have a lookup field (Lookup__c) to specific Accounts. I have a related list of these Opportunities on these Accounts. Now, I need a custom field (Qty_of_Opportunities__c) on my ...
0
votes
1answer
21 views

Roll up of all of the items in the related list in the current WEEK only

I created a roll up summary to get the sum of all of the quantity in my related list. I need to sum up all of the quantity of the items which date__c is within the current week. What approach can I ...
2
votes
0answers
67 views

Custom Button that opens a visualforce popup, is needed to be reused as List Button as well

I have a custom button on Account detail page that onclick javascript opens a visualforce page window.open('/apex/test_k?id={!Account.Id}', '_blank', ...
0
votes
0answers
13 views

IE 10 VF page Malfunction

we have a visualforce page as a part of account detail page with columns hyperlinked and the hyperlink was supposed to open in a new tab. This is working as expected in Chrome but in IE 10 the ...
0
votes
0answers
14 views

how to use different quote template for different quote record type

I have two quote record type and two quote layout. When I select quote A, when I create PDF, the quote layout should be layout A, and if I select quote record type B, The PDF should be in layout B. ...
0
votes
1answer
30 views

how can i get the total number of quantity via workflow

I need to get the total number of quantity via workflow. I created a workflow that will get the quantity but it only returns one quantity of the product in my products related list. What i need is the ...
0
votes
1answer
30 views

Working off the Quote in Visualforce, how can I access Contacts? Getting an unsupported complex expression error

The quote is associated with an account, and the account has contacts. I can access the account data just fine, but when I try to display any contact data then it fails with the following error: ...
0
votes
0answers
18 views

Contract Auto-Populate button from Contract related list

Background: We are looking to kick off one type of contract which refers to another type of contract; essentially both the parent and child would be contract objects. we're trying to generate an ...
0
votes
0answers
24 views

Custom Related List for AppExchange App shows up only for System Administrator profile

I have a AppExchange package which contains a custom object related to the Salesforce object - Leads. This custom object will be configured as a Related List by the Salesforce Administrator after ...
2
votes
1answer
34 views

Translation of Related List

Can I do translation of Related List Names? If not by Translation workbench, is there any other way?
1
vote
0answers
31 views

Hide Related list on parent Page layout for users not in Opportunity Team

I need to hide related list on opp page layout for users who are not an opp Team member. The related list is a custom child object XYZ[Detail] of opportunity[Master]. How to implement it ? Please ...
0
votes
2answers
27 views

Dynamic picklist values in standard relatedlist

The problem occurs in the opportunity related list of a custom object. I have create a custom picklist on the custom object with dynamic values. Eg. You select the product eg a pullover and you get ...
1
vote
0answers
67 views

How to filter Activity History Related List based on Activity RecordType

One solution I thought of doing this would be to create another Activity History related list based on what Event record type I want and then exclude that record type from the original Activity ...
0
votes
1answer
51 views

Get total value of a related list

Suppose I have "SUB_ACCOUNT__c" object and I've created it as a child object of "Account". Now "SUB_ACCOUNT__c" has a field "value__c" which is number in type. I also created a custom field for ...
1
vote
1answer
79 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
68 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
52 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
47 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
29 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
43 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
90 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 ...
1
vote
3answers
422 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
48 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
79 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 apprroval or recall button. Any help is appreciated.
0
votes
0answers
55 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
177 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
83 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
381 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
132 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
445 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 ...