• Howard Iken
  • NEWBIE
  • 15 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 1
    Replies
I have a related list that I based a VF page on - so I could insert it near the top of a detail screen instead of down below with the related lists.

I just discovered a trick to create a duplicate related list that I can filter.  But now I cannot figure out how to get that duplicate related list rendered in a VF page (like the first one)

Here is the code on the VF page that works:

<apex:page standardController="advpm__Matter__c" title="Matter: {!advpm__Matter__c.Name}" id="pg">
  <apex:relatedList list="Cash Receipts__r"/>
</apex:page>


My duplicate (filtered) related list is called:  Cash Receipts (Active lookup)

No matter what name I plug into 
<apex:relatedList list="Cash Receipts__r"/>
I cannot get this VF page to display.
Is it possible to filter a VF inline related list?

My vf page consists of:

<apex:page standardController="advpm__Matter__c" title="Matter: {!advpm__Matter__c.Name}" id="pg">
  <apex:relatedList list="Cash_Receipts__r"/>
</apex:page>

I would like to exclude records based on one of the displayed fields.

Thanks
I know this has been asked before and I tried my best to follow the previous suggestions.  But I cannot solve this after lots of experimentation.

I created a custom object called Intake Notes that is a child of Contacts.  At first I created a lookup filed based on the Contact Name.  Based on my research I changed that lookup field to a Master-Detail field

I created a VF page with the following code:

<apex:page standardController="Contact">
  <apex:relatedList list="IntakeNotes"/>
</apex:page>

I used the related list name that is displayed in the Master-Detail field:

Child Relationship Name      IntakeNotes

I have tried other related list names as well.

No matter what I do I see the following message in the Contact detail display:

Content cannot be displayed: 'IntakeNotes' is not a valid child relationship name for entity Contact
I know this has been asked before and I tried my best to follow the previous suggestions.  But I cannot solve this after lots of experimentation.

I created a custom object called Intake Notes that is a child of Contacts.  At first I created a lookup filed based on the Contact Name.  Based on my research I changed that lookup field to a Master-Detail field

I created a VF page with the following code:

<apex:page standardController="Contact">
  <apex:relatedList list="IntakeNotes"/>
</apex:page>

I used the related list name that is displayed in the Master-Detail field:

Child Relationship Name      IntakeNotes

I have tried other related list names as well.

No matter what I do I see the following message in the Contact detail display:

Content cannot be displayed: 'IntakeNotes' is not a valid child relationship name for entity Contact