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
0 votes
1 answer
486 views

Why can I not have a custom list button link to this Visualforce page?

I'm currently trying to recreate the the functionality of the "Add Product" list button for Opportunity Products. I understand Visualforce pages need to have their controller set to the object they ...
user avatar
0 votes
1 answer
943 views

Cloning on trigger is inserting record twice

we have a approval system and when every step is approved it updates Revision number. There is a trigger on the change of Revision Number, which is responsible for cloning the the existing record and ...
user avatar
  • 33
2 votes
1 answer
3k views

How to mimic the functionality of the "Add Product" button in within the Product Related list in Opportunity?

I need to mimic the functionality of the "Add Product" button that is shown on the Product Related List within Opportunity. And I need to add it to a related list for my Custom Packages Object I was ...
user avatar
1 vote
3 answers
2k views

How to Dynamically Update Related List Values via Apex Trigger in Salesforce

I am fairly new to triggers, so please bear with me. Goal: The related stores dynamically update based on the Account location's Postal/Zip Code. Requirement: When a new Account is created or ...
user avatar
  • 115
1 vote
1 answer
1k views

Adding a button for every record in a related list

I want to add a button which apply a brief update in a record in a related list. As far as I've searched, there is only the possibility of adding a custom button/link in a related list table. ...
user avatar
1 vote
2 answers
1k views

Related List Master Detail Objects

I have created custom object with Master Detail relationship to parent account object. 1) I have set the permission on the detail object to read view all for the user profiles 2) I have added the ...
user avatar
  • 163
0 votes
1 answer
72 views

apex:relatedList not showed in "NEW" mode

This is my simple VF page named "RelatedListDetail": <apex:page standardController="Contact"> <apex:relatedList list="DealRows__r"/> </apex:page> It´s used to override "New" ...
user avatar
  • 3,617
0 votes
1 answer
99 views

Including a RelatedList of tasks in a broadcast email via Visualforce

So I'm just trying to see if this is possible. I've been tasked with trying to find a way to include a related list in a broadcast email template. Some background, we use Tasks for student forms and ...
user avatar
  • 209
0 votes
2 answers
81 views

How to query "Related List" header from Opportunity page via Javascript?

I'm trying to query "Related List" header from Opportunity page via Javascript, <h3 id="006g0000005dVS5_00Ng0000000p6b6_title">Phoenix Quotes</h3> I know that "006g0000005dVS5" is ...
user avatar
1 vote
2 answers
210 views

Add canvas app to layout of all object

How can we add connected canvas app to layout of all the objects like account, opportunity, custom objects etc. Currently I have to go to each object, edit layout and add canvas app. Also, If ...
user avatar
  • 111
0 votes
2 answers
4k views

Adding a link in a related list

I have a related list of a junction object on one of my objects, and we removed the junction object name because the header was really long. Now, however, we don't have a way of clicking through to ...
user avatar
  • 1,315
1 vote
3 answers
3k views

can I concatenate field values form a related list into a formula field?

I want to ba able to concatenate the values of a field of a related list records into a field on the parent. How can I do this?
user avatar
  • 5,176
3 votes
1 answer
3k views

Can we rename related list "Notes & Attachment"?

In my project, we have a requirement that related list "Notes and Attachments" to be renamed to something else. Is there any way?
user avatar
  • 43
4 votes
1 answer
781 views

Navigating to Opportunity related Activities List in Aura

Trying to use force:navigateToRelatedList to navigate to an opportunitys' related activity list on a click event within an aura/lightning component. var evt = $A.get("e.force:...
user avatar
  • 43
0 votes
1 answer
1k views

How do I display fields from other parent object on related list?

I have a juction object linking two objects together like this--- A - junction object - B I am trying to show Fields from object A on the junction object related list on object B. I am only able ...
user avatar
  • 121
0 votes
1 answer
2k views

Add standard button to visualforce element

I've been asked to create a custom visualforce element to replace the Campaign History related list on contact. Everything appears to be working as expected, except that the last requirement is to ...
user avatar
  • 873
1 vote
1 answer
1k views

Filtered related list in Salesforce

How to get a filtered related list in Salesforce? I know that we can get a custom Related List using PageBlock Table in a VF page but i don't know how to get hyperlinks around records in related lists ...
user avatar
1 vote
1 answer
660 views

How to call the overridden Delete link (Del) in a Related List of Account detail page, which is displayed using “nooverride=1" parameter in the URL?

I have overridden the standard "View" of the Account detail page with a custom Visualforce page. When I need to display the Account detail page, I use the "nooverride=1" parameter in the URL to ...
user avatar
2 votes
1 answer
3k views

how to create a custom button for a custom object on a related list

I have an custom object and it has a look up relationship to Quote .Now i would like to create a custom button as "Edit All" and display it on related list..The functionality of the button should be ...
user avatar
  • 1,325
1 vote
2 answers
2k views

Custom List buttons Supported in Salesforce1?

Custom List buttons(buttons on the related list) not showing up in Ipad(Salesforce 1 app). I see there is a knowledge article from salesforce which says Custom Buttons are only supported in ...
user avatar
  • 13.3k
0 votes
1 answer
283 views

How do I reference the OpportunityCompetitor object in a VF?

I am trying to create a table of the list of competitors on the opportunity. this list will be shown as part of a VF email template. Like the opportunity team, opportunity partners and so on, I assume ...
user avatar
1 vote
1 answer
390 views

relatedlisthover not working

The apex:detail tag has an attribute called relatedListHover which does the following: A Boolean value that specifies whether the related list hover links are included in the rendered component. If ...
user avatar
  • 1,754
1 vote
2 answers
6k views

Hiding 'Edit' action of a related list

Wanted to hide the 'Edit' action from one of my related list. Please let me know if there is a way to achieve this by out of the box. - Thanks in advance
user avatar
0 votes
1 answer
1k views

On click Javscript on Custom Button

I have a related list ( custom object ) on Opportunity record. When I click on New button of the custom object from the related list of the opportunity , I want to check the value of some field on ...
user avatar
1 vote
1 answer
1k views

How to display total under related list in a user friendly manner

After creating a Custom Object and adding lookup field to a Case object, Case's detail page can have a related list of this Custom Object. This Custom Object has a field Quantity. I need to put 'Total:...
user avatar
3 votes
1 answer
8k views

Related List not visible for selection from Page Layout

I have a custom object called Partner__c It has two lookup relationships to Contact standard object as shown below. But in Page Layout I am unable to see the Contact object available in the Related ...
user avatar
  • 3,031
2 votes
0 answers
249 views

Show list buttons when user clicks on Go to list link

How to show list buttons when user clicks on Go to list link in related list.I see there is a idea posted. Any work around for this.
user avatar
  • 13.3k
2 votes
1 answer
4k views

Use apex:relatedlist in visual force component

This is my VF page "TestPage": <apex:page standardController="Account"> <c:TestComponent recordId="{!account}" /> </apex:page> Visual Force component "Test Component": <apex:...
user avatar
  • 3,617
0 votes
0 answers
207 views

How to display Schedule object related list using <apex:relatedList> on a Visualforce page?

I have created a Visual Force Page for the Opportunity Line Item and I would like to display the related list object (i.e. Schedule) in the Visual Force Page.How to call it using the <apex:...
user avatar
  • 1,325
2 votes
1 answer
5k views

Remove or Hide New task/New Event button from Activity List View

I need to remove or hide New task/New Event button from the standard Activity List View. I want to show users the list view but do not want any user to create a Task/Event from that view. Is there any ...
user avatar
  • 535
5 votes
3 answers
7k views

How to display History related list using <apex:relatedList> or by any other direct approach on a Visualforce page?

I have a custom Visualforce page at the end of which I want to display some related object list (like Activity Histories, Notes and Attachments) as they are on the standard detail page of a record. ...
user avatar
  • 236
1 vote
1 answer
3k views

How do I restrict the ability of a user to edit and delete an object, but allow them to be edited via another object?

How do I prevent a user from being able to edit and delete records directly in an object, but not through a master-detail relationship that is related to the same object? For example, We have 3 ...
user avatar
2 votes
0 answers
1k views

Customize Opportunity - Related List Stage History

I have a requirement where I need to add fields in stage history related list. Please help me.
user avatar
  • 105
2 votes
1 answer
927 views

Junction object confusion

I have 3 objects order, order_lines and shipment_lines . So order has many order lines and many shipment_lines. So I want to display order_lines and shipment_lines fields on a single related list on ...
user avatar
  • 3,122
1 vote
2 answers
504 views

Tally the number of items in a related lists on a related object

Hi guys I am a complete n00b with SalesForce.com, so please forgive me if my question is too basic, but I have been trying for about 2 days now and I feel like I am getting nowhere I have a database ...
user avatar
0 votes
1 answer
359 views

Update Opportunity stage based on related list

I'm looking to update the opportunity stage based on a field in a related list. My opportunity is linked to the school, and the opportunity has a related list of teachers. We often have several ...
user avatar
  • 1,119
0 votes
1 answer
707 views

How do I reference related record (__r) field value from query

I don't know how to reference the value of the Job_Matching_Title__r.Salary_Range_Avg__c field from this query: List<Position__c> Positions = [SELECT Name, Department__c, Job_Matching_Title__r....
user avatar
2 votes
1 answer
2k views

Filtering in Related List

We are looking for a Filtering option in the Related Lists. As We understand, there is NO Out of the Box or configuration mechanism in SFDC to filter the Related Lists. (Though we have Sorting Option ...
user avatar
2 votes
1 answer
172 views

is there a way to add related list in a VF page dynamically

I have custom object which has the address fields, so if one enters the suburb then it should lookup another objects and list out probable postcode and states which would allow the user to choose the ...
user avatar
  • 12k
1 vote
1 answer
74 views

How do I add a list of the opportunities associated with a particular contact to their contact record?

I have customer names associated with specific opportunities, and I want to be able to see a list of those opportunities when I look at the contact record. Is this possible? I tried creating a ...
user avatar
  • 11
2 votes
1 answer
226 views

Creating a related list on Opps pulling a custom object in the same format as the Contact Roles

So I'm trying to create a related list on Opportunities that pulls a custom object called Technologies (an Object where we store Competitors info essentially). So I've created a Custom Object that has ...
user avatar
  • 103
1 vote
1 answer
112 views

Related list availablity

I have custom object X which is look up with Account and custom object Y which is detail of X(master). Now I have to make Y appear in related list section of only those Accounts, whose reference ...
user avatar
  • 2,900
2 votes
3 answers
2k views

Show contact's related list on their account page - possible?

The educational institution that I work for uses Salesforce primarily to track admissions/applications. Applicants have records in the 'contact' object and are under an account which is typically the ...
user avatar
  • 31
0 votes
1 answer
843 views

Field Formula to Count Contact Number of Cases

I have done some researching and just trying to verify that this is not possible to count the number of cases a contact has created with a formula field. Is the only option a trigger? I'm assuming I ...
user avatar
  • 169
0 votes
2 answers
489 views

Access data in Visualforce/Formula fields through Custom Junction Object [duplicate]

I have three custom objects: Entity, Residency, and Address. Entity and Address have a many-to-many relationship; Residency is the junction object (two master-detail relationships.). Is it possible ...
user avatar
2 votes
1 answer
4k views

Add an already existing record to a related list

Basically, we have records that are Unassigned. We would like to be able to assign them to an Account. These records are displayed in a related list on the Account page. Of course, a new button is ...
user avatar
  • 65
6 votes
2 answers
4k views

Choosing Columns to display in <apex:relatedList />

I have a VisualForce page where I'm trying to display a standard related list by using the <apex:relatedList /> tag. It seems like this should be simple, but I can't seem to find any way to ...
user avatar
1 vote
2 answers
581 views

Can someone please explain what "related lists" are?

When querying the layout for the Account object via the Salesforce REST API (v31.0), I am seeing a populated relatedLists array. Could someone please explain what related lists are, where they are ...
user avatar
  • 1,039
4 votes
2 answers
1k views

Making related list as mandatory

This could be a stupid question. please apologize my lack of knowledge in salesforce. I am still new to the salesforce world and learning... Is it even possible to make a related list as mandatory ...
user avatar
  • 1,645
1 vote
4 answers
549 views

Facing Issue in apex:related list SALESFORCE INLINE VF PAGE

I am facing an issue while implmenting an Inline Visualforce Page. Its only 4 lines of code but still I haven't got it working. Issue is, when ever I click Show 5 more » | Go to list (15) » The page ...
user avatar