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
26 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
21 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
61 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
68 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
65 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 ...
0
votes
0answers
16 views

Limit the ability to add records of a type to a related list

I need to be able to control creation of records when they are related to a specific record type. Here is the details: "Research Items" is a custom object with 5 record types. "Subscriptions" is a ...
0
votes
0answers
10 views

Salesforce and Mailchimp - displaying of links/open emails

We are investigating Mailchimp as an option for newsletters as we begin to use Salesforce. We will in all liklihood have a custom object (lets call it "Salesforce Subscribers") which will populate a ...
0
votes
1answer
41 views

Please , how to retrieve line items to Visualforce Email Template?

I try to create Visualforce Email Template in order to send our Purchase order (BC) to the supplier So I need to insert inside the mail , all (BC line items ) I begin to create HTML+CSS code , ...
0
votes
2answers
59 views

How do i get data from a related list (custom object) so i can display it in a text field in Case object

I have a custom object with the name RepairLines RepairLines have a master-detail relation to Case I use the standard Case system where i have a custom text field named Repair In a Case trigger i ...
2
votes
1answer
29 views

I have a simple VisualForce email template that gives a <p> tag error message when I add in the Apex repeat tag.

The Template below validates ok, but when I add the repeat tag it get an error: When I add the Apex tag here is the message I get: Error Error: Volunteer_Reminder_of_All_Opps line 21, column 7: ...
1
vote
1answer
37 views

Not able to add field for related list in page layout

I am not able to add field named 'Related to' for open activities related list in opportunity page layout Is it possible to set in page layout of OPEN ACTIVITIES & ACTIVITY HISTORY ? Thanks in ...
1
vote
2answers
33 views

Filter a related list based on a check box from another related list

Is it possible to filter the related list based on a check box from another related list? If so what is the best way to achieve this. The current relationship is all based on custom objects and ...
1
vote
2answers
25 views

Prepopulate a Set of tasks

Background: I am currently undertaking my first sf project here at work. We are building a little tracking application for the projects we undertake here. I have an object with several related lists. ...
0
votes
2answers
38 views

Customizing Action links on relaed list

I have a visual force page which displays Ticket related info. i have got related list which disaplays related activities. <apex:tab label="Ticket Task" name="OpenActivities" ...
1
vote
1answer
49 views

Prevent related record deletion, except when parent record is being deleted

I have two custom objects, call them Parent and Child. Child has a Lookup to Parent, via Parent__c. It is not a Master:Detail relation. What pattern could I use to prevent deletion of a Child record ...
1
vote
1answer
35 views

please help me in finding the erroe

VF page <apex:page controller="recordPageCont"> <apex:form > <apex:pageBlock > <apex:pageBlockButtons > <apex:commandButton value="Edit" ...
1
vote
1answer
39 views

How to iterate through custom account object to get contacts from it

I have created a page which displays records of account tab.the page that displays a list of record is pasted below. what i want to implement is ..where i click a record,it should diplays the detail ...
1
vote
2answers
104 views

How to implement related list like contact via code

I am trying to create a custom tab just like Accounts Tab. I was able to fetch the detail on my custom tab.but I donot have any idea how i need to get the related list like contact which is related ...
1
vote
1answer
32 views

Separate opportunity views

I have a situation in which User X currently supports both Latin America and our south region . Is there any way to have two separate opportunity views, one for each region. If that is not possible, ...
1
vote
2answers
62 views

Handling Related List Security in Override VF pages

We have created an Override VF page for an object (for e.g. "Parent Object"). There is an object (for e.g. "Child Object"), which has lookup relation ship with "Parent Object". On Override page we ...
0
votes
2answers
32 views

Hover Details on related lists

From what i found the salesforce hover details feature (pop up to show details of object on another objects layout)(User Interface > Enable Hover Details) does not work on related lists. It works ...
0
votes
1answer
75 views

Render item from related list on Visualforce Page

I'm trying to render an item from one related list on PDF. the structure is following: I have Sales Order, where is lookup field to Company, on Company is related list of Bank Accounts which I need to ...
0
votes
1answer
88 views

Javascript error on Button click

I am using one custom list button on one of the related list. But sometime when I click on this button I am getting the below error message: A problem with the OnClick javascript for this button ...
1
vote
1answer
33 views

No Contact Role related list on Contact?

Not sure if I'm missing something obvious here, but on an Account layout I can add Contact Roles fine. Now if I want to view this from a Contact point of view (ie see what roles a Contact plays in ...
1
vote
2answers
55 views

How to use the child objects in a related list after a soql call in Visual Force

My org has an account object with a related list of Contacts. I am querying for the Contacts from the Account and want to use the data on the Contact object. How can I access fields from the contact ...
0
votes
0answers
14 views

Limit action to only View in Campaign History Related List

A user has a Gold Partner license. Whenever they access to a person account, there is a related list called "Campaign History", we need to limit the actions from "View, Edit and Delete" to only ...
0
votes
2answers
129 views

Displaying Contact Roles Related List for Parent Account on Custom Object

I'm trying to build a Visualforce page that will display Contact Roles for the parent Account of a custom object. My class and page tags follow. I'm not receiving any errors at this time, and the ...
1
vote
1answer
46 views

What's the the apex:relatedlist 'list' parameter for Order Product History?

I'm trying to add the 'Order Product History' related list for an OrderItem (aka 'Order Product') to a Visualforce page that uses 'OrderItem' as the standardController: <apex:page ...
1
vote
2answers
128 views

How to access an object related lists in apex

I have an object 'Household Served' with a field called volunteer, and it also has an Event attached to it. The Event has a related list of Contacts. I need to write a trigger that validates the the ...
1
vote
0answers
59 views

Creating a new custom links section

I've been given a requirement to change the name of the Custom Links section in Account details. Changing the section name through Edit Page is greyed out, according to SF help it's one of the ...
0
votes
2answers
56 views

Child Relationship Query Not Working

I have a trigger that I am trying to update the custom object (Share_Reference__c) within the Account object. For some reason my query in List accounts isn't working, saying that it didn't understand ...
3
votes
2answers
35 views

Populate opportunity field based on multiple task criteria

We are currently trying to populate a field on the opportunity based the opportunity having multiple tasks within which certain criteria are fulfilled. The idea is: if more than one task has a ...
0
votes
0answers
55 views

Process Builder - copy notes from a record to related list

is there a way upon creation of a note attached to a record to push it out (copy) to records in a related list?
0
votes
0answers
120 views

Update Checkbox by checking already existing field values

I'm creating an approval process in an account where I am checking the values of a related list, and if the value equals a certain value, I want to check a checkbox on the account object. I have it ...
0
votes
1answer
51 views

Related list not visible to a profile

I have page layout on order object. And there I have a related list of a object. This is access able to admin, but I have a different profile who have access to this page layout but not able to see ...
-1
votes
1answer
36 views

Validation to check if related record available

How to throw some message to user if check box is checked on parent then related record needs to be created if there is no related record in salesforce.How to achieve this
0
votes
0answers
42 views

Junction object between Contract and Order

I have a junction object between Contract and Order. Now I want to create a custom button for creating Contract from the related list of Order.I have a VF page where I have custom controller. On ...
0
votes
2answers
96 views

Visualforce page to show all Chatter posts on contact and all related records

This code will give me all of the posts associated with that Contact but how can I also see all of the posts on related records (opportunities, leads, applications, cases, activities, etc) as well. ...
0
votes
0answers
33 views

Visualforce detail page -related list help links gone?

It seems related list help links don't show up on an overridden view (using apex:detail). How come?
1
vote
4answers
96 views

Is it possible to trigger a workflow outbound message when a custom related list item is added or removed?

Excuse my ignorance in all of this. I'm not well versed in Salesforce and I've been tasked with building an integration with a web app. I've hit a brick wall on things to Google to find a solution. ...
1
vote
1answer
49 views

UI approach for linking child records from the parent view page

Imagine an app using Account and Contact records. Both can life without another, but on Contact there is a lookup to Account. If you want to link a Contact to an existing Account using Salesforce.com ...
0
votes
4answers
128 views

Tasks and events custom related list

Is it possible to create a custom related list for the mentioned objects? From what I've read you have to create a custom object with a master-detail or lookup relationship, I've been able to ...
0
votes
1answer
63 views

How to show Campaign History as VF relatedList component?

Campaign Related list doesn't work. It gives me this error: 'Campaign History' is not a valid child relationship name for entity Lead The code is below. Can anyone assist me? Thanks, Darko ...
1
vote
1answer
129 views

Why am I getting “Error: Unknown property 'Opportunity_Package__cStandardController.Opp_Package_Rel__c' ” from this Visualforce page?

I am currently in the process of making a system for easily adding packages from a list into our Opportunities. This visualforce page needs to be accessible to use as a list button, but ever since ...
1
vote
1answer
75 views

Add an already existing record to a related list - Continued

I am very new to visualforce and I was trying to create a page like the one described here: Add an already existing record to a related list In my case though, I want to be able to add a custom ...
0
votes
1answer
65 views

how to auto-adjust column width in related list?

I have requirement to auto-adjust column or display columns within 100 px so agent can at a glance see more information. Is it possible to give width to columns in the related list?
0
votes
1answer
62 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 ...
0
votes
1answer
89 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 ...
2
votes
1answer
103 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 ...
1
vote
3answers
302 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 ...