People who code: we want your input. Take the Survey

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
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
541 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
44 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
913 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
938 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
848 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
482 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
104 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
10k 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
921 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
236 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
3k 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
476 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
387 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
887 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
946 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
78 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
182 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
738 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
959 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
1k 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 ...
1
vote
1answer
625 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 ...
2
votes
1answer
2k 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 ...
1
vote
2answers
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 ...
0
votes
1answer
268 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 ...
1
vote
1answer
374 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 ...
1
vote
2answers
5k 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
0
votes
1answer
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 ...

1
6 7
8
9 10