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
4
votes
1answer
1k views

after update trigger creates duplicate value to related list if related list is empty

I am trying to create a trigger that would add a new value to a related list if a value is adeded to a field. The field is called Reason of Contact (ROC) and when ever a new reason of contact is ...
1
vote
0answers
210 views

Visualforce relatedList on Account's ServiceContracts returns unrelated Service Contracts

Scenario - Custom VF page that overrides Account View button. Simplified version below: <apex:page standardcontroller="Account" > <apex:pageMessages id="pageMsgs" showDetail="true"/> ...
5
votes
1answer
181 views

NotesAndAttachments

I just learned the NotesAndAttachments relatedList was renamed to CombinedAttachments. I seem to also have lost the ability to only show "Notes" from the <apex:relatedList /> tag. Does anyone ...
3
votes
1answer
2k views

Related Custom List With Order and Inline Editing - Many to Many relationship and Junction Object

We are using three objects in this project: Contact (for authors), Paper, and junction object PaperAuthor. Paper holds all all attributes to describe an academic paper. Paper can have many Authors. ...
6
votes
2answers
4k views

Custom Related List with Custom Object

I am quite new to Salesforce and have not yet any thing like the following. We have a Paper object which is looking up for authors in Contact object. We want to create to have custom related list of ...
2
votes
1answer
153 views

Using URLFOR to delete a CaseContactRole

I readed on the post Token for URL to delete a record on how to use URLFOR, but it doesn't work in my case: Error: Field $Action.CaseContactRole.Delete does not exist. Check Spelling. I know based ...
2
votes
1answer
1k views

Creating multiple related objects from execute jscript list button

I'm trying to create multiple records of an object called Guarantor__c, a child of Opportunity and Contact, on button click. All of the Guarantor records should relate to the Opportunity on the page ...
3
votes
1answer
1k views

Very Odd Related List Behavior

I have a very odd issue that I think must just be due to some interface setting that I am overlooking, but for the life of me I can't figure it out. I have two users in an org, they both have the ...
2
votes
2answers
2k views

Unable to see activity log in custom object

I am VERY new to salesforce.I feel like I have moved to a foreign county and trying to learn the language (without a translator). We are using a program (App) that has pre-developed "Custom Object" (...
1
vote
1answer
61 views

How to add Position History to the Related Lists area

I'm not understanding how to add Position History to the Related Lists area. Here's what I've done: From Setup I've clicked Create > Objects > Position > Page Layouts > 'Edit' Position Layout From ...
1
vote
1answer
292 views

Duplicate lists on detail page

Lately I've been seeing duplicate lists on my record detail pages. For example I see two Cases lists on a Contact's detail page, or duplicate Opportunity lists. Did someone else encounter that?
4
votes
3answers
2k views

How can I have different related list labels for different page layouts baed on the Record type assignment?

We can change the related list label from relationship field, but it'll change across all page layouts, can we have different related list labels for each of the page layout (based on record type ...
1
vote
1answer
882 views

Spacing of VF page related list section in standard layout

We have a related list which is a VF page and when we don't have any records, we are getting a white space in the related list section. Also, is there a way to dynamically set the section size of the ...
0
votes
1answer
352 views

'Go to list' link for related list when just a few related list records

When you look at a related list on a SFDC page, and there are more than 5 records, you get a link that says 'Go to List'. Is there a way for that link to be ALWAYS present, even if there are fewer ...
1
vote
1answer
202 views

Related List on Account screen no longer “crunching down”

This might be ridiculously easy to answer but I am having a wood for the trees moment. My related lists on the Account screen no longer have the more/fewer buttons, the go to list button - they are ...
0
votes
1answer
5k views

I have created a custom lookup field. But the records are not displayed in the related list of the parent object

I have created a custom lookup field. But the records are not displayed in the related list of the parent object. Suggest me what needs to be modified or checked
1
vote
1answer
407 views

Creating EventRelation over API

I am trying to create and EventRelation over API, but I keep getting the following error even though I see EventRelation as available sObject and "Allow Users to Relate Multiple Contacts to Tasks and ...
2
votes
2answers
3k views

How can I hide the Attach File button from Notes & Attachments related list?

My client is using Professional Edition. They want to remove or hide the 'Attach File' button from the Notes & Attachments Related list which is available in Account,Contact and Opportunity ...
6
votes
2answers
4k views

Token for URL to delete a record

How to generate a confirmation token to delete a related list record? When we delete a related list record it takes 4 parameters - 1) id - Record id 2) delID= Related list record id 3) ...
4
votes
2answers
1k views

Can Cases associated with Contacts via Contact Roles display on the Cases related list on the Contact record?

I have enabled the "Contact Role" related list on both Opportunities and Cases. When I add a contact, and specify a role for an Opportunity, the corresponding related list on the Contact's record (...
3
votes
1answer
553 views

One user is getting Add and Delete buttons but another is not on related lists

I have two users have both have different profiles. I am working on opportunity page and both the users are able to see "Opportunity Team" related list but one user can also Add and Delete the teams ...
10
votes
2answers
1k views

Sort related list with null values last

Is it possible to have a related list sorted by a specific column while displaying the empty values last? By default, these are shown at the top of the list. The field i want to sort after has the ...
1
vote
1answer
7k views

How to add related list in VF page

I have created a Vf page for Standard object. In that VF page I need to add related list,like in our default page. I am using PE for SalesforceKindly please tell any link for this.
3
votes
1answer
1k views

How to refer the Visual force page in list button to display it in related list?

I have created one custom object called Site, and I have created a lookup from Opportunity to that Custom object. Now I can see the opportunity related list in my custom object, there one button ...
2
votes
1answer
638 views

is there any way to show a single VF page as related list across all objects?

Is there any way to show a single vf page as a related list (inside a detail page layout) across multiple / all custom and standard objects like notes and attachments? I have integrated Salesforce ...
0
votes
3answers
2k views

Create new Related Object on popup

It is possible to open a popup to create a new object by clicking the "new object" button that is on related list? I think that I could add a custom button calling some javascript to "window.open(..."...
2
votes
3answers
2k views

Standard Button CODE Available?

Is there a repository of the actual code behind Standard Buttons? Specifically, I'm looking for the code for "New" (and in my case, it's for use within a Related List on Opportunity). I want to ...
2
votes
1answer
132 views

Adding related list item to layout on install

I have an application that has a custom related list. At the moment, the related list needs to be added manually after the app has been installed through the page layout. Is it possible to add this ...
1
vote
1answer
4k views

Cases related list on Opportunity not displaying some case records

We have a custom lookup on Case object to the Opportunity object. On this field, the related list label is named 'Cases'. We added the related list Cases to the Opportunity page layout. The user (...
1
vote
1answer
2k views

Filter/group records in Salesforce related lists by value

In SF related lists, how can we filter records by values ? On Company page layout, we will have Contact related list once filter by one value and Contact related list second time filter by another ...
3
votes
1answer
4k views

VF Page to Show Related Lists from Lookup Object on my Main Object

I am trying to develop a small VF page that will eventually be added to the standard SF page for a custom object called Test_Site__c. Test_Site__c contains a lookup relationship to an object called ...
5
votes
3answers
5k views

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

I cannot find anything equivalent to: <apex:relatedList list="ProcessSteps" /> which works for Approvals. The only solution I can think of is to build a controller/extension that gets the raw ...
7
votes
2answers
2k views

<apex:relatedList list=“{!DontExistInAllOrgs__c}”/ > only solveable with Dynamic Vf components?

Does there exist a dynamic binding mechanism for the list attribute in the <apex:relatedList> element? I want to display a related list for a relationship that does not exist on all orgs where ...
2
votes
2answers
3k views

Need some help with a custom button or button override

Hopefully I can explain my question clearly here. I want to change the behavior of this button that appears on our Opportunity page: The Opportunity object has a custom rollup field that counts the ...
2
votes
2answers
103 views

Setting up relationships between objects

I have custom object lets call it as items. Items may or maynot have cases associated with it. There can be more than one case associated to an item. All cases may or maynot have items associated ...
1
vote
2answers
181 views

How to specify a returl when record is clicked from a related list

When we click on a item in the related list it takes us to that item record. But there is no way to come back to the page we clicked this link from. This works when you click on the new button which ...
9
votes
1answer
151 views

Can an Object Definition's ID be obtained programmatically?

I've noticed that SF related lists are anchored (#) by a concatenation of the current record's Id, an underscore, the Id of the related list's object definition, and then "_target" (e.g. #...
1
vote
2answers
115 views

Is there a better name for what I'm calling a Vanity Lookup?

Here is an example from a 3rd party managed package of what I am currently calling a "Vanity Lookup" because it is totally redundant from an OOD/ERD perspective and I assume it is only for convenience:...
0
votes
1answer
2k views

How to copy field data from object to object with a button-click via Apex?

I want to copy field data from one object to another with a click on a button. I want to get a snapshot of the current family status and copy the data from related son and father data. I have an ...
1
vote
1answer
5k views

What's the easiest way to pull related data for a report?

I want to create a report that fetches data from a related list and outputs it alltogether. Say, I have one custom object crm with the following fields: name, contacts - where contacts is a related ...
0
votes
1answer
2k views

Filtering related list on custom object VF page (with custom controller)

I have a VF page related to a custom object called Equipment__c (named 'obj' in the page) as shown in the snippet below: <apex:page controller="Reserve_Equipment" tabStyle="Equipment__c" action="{!...
1
vote
1answer
430 views

Custom edit layout

After including an <apex:relatedList list="Contacts"> in a VisualForce page, is it possible to force the usage of different layout to appear when user click on modify / buttons of this ...
1
vote
2answers
1k views

Quickly jumping to related-list on VF page

The standard pages have menus at the top that allow you to quickly jump to the related lists further down on the page. Can we add these to our VF pages? I am using standard controller and using apex:...
0
votes
2answers
3k views

Sorting related-list records

I want to sort related-list records on CreatedDate in ascending. But I don't want to show CreatedDate field in related-list. Any thoughts? Can I use default sorting?

1
6 7 8 9
10