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
2answers
703 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
313 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: ...
2
votes
1answer
977 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
187 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 fields....
1
vote
2answers
55 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
954 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" id="tabOpenAct5"&...
3
votes
1answer
2k 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
57 views

please help me in finding the error

VF page <apex:page controller="recordPageCont"> <apex:form > <apex:pageBlock > <apex:pageBlockButtons > <apex:commandButton value="Edit" action="{!...
1
vote
1answer
567 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
1k 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
48 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, ...
4
votes
2answers
1k 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
2k 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
928 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 or ...
2
votes
2answers
1k 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
420 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
2answers
853 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
490 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 showHeader="true"...
1
vote
2answers
3k 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
1answer
1k 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
1k 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
107 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
1k 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 ...
1
vote
1answer
11k 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 ...
-2
votes
1answer
86 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
2answers
949 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. &...
1
vote
4answers
2k 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
262 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
5answers
4k 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 ...
-1
votes
1answer
482 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
3k 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 I'...
1
vote
1answer
1k 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
437 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
920 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
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 ...
1
vote
3answers
1k 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 ...
1
vote
1answer
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. ...
1
vote
2answers
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 ...
0
votes
1answer
71 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" ...
0
votes
1answer
98 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 ...
0
votes
2answers
79 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 ...
1
vote
2answers
190 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 ...
0
votes
2answers
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 ...
1
vote
3answers
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?
2
votes
1answer
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?
4
votes
1answer
755 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:...
0
votes
1answer
984 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 ...
0
votes
1answer
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 ...
1
vote
1answer
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 ...