Scenario - Custom VF page that overrides Account View button. Simplified version below:

<apex:page standardcontroller="Account" >

  <apex:pageMessages id="pageMsgs" showDetail="true"/>
  <apex:detail inlineEdit="true" relatedList="false" showChatter="true" subject="{!Account.id}"/>   
  <apex:relatedList list="Contacts"/>
  <apex:relatedList list="Cases"/>
  <apex:relatedList list="ServiceContracts" subject="{!Account.id}"/>

  • The ServiceContracts related list always returns all Service Contracts in the database, not just the ones associated to the specific account
  • The other related lists work as expected, only Cases and Contacts for the account in question
  • I tried with and without the subject attribute - same results
  • I tried at VF page V27 and V29; same result

I could obviously build a controller extension and create a custom related list for ServiceContracts but I'm a bit gobsmacked that this fundamental relatedlist doesn't return just the Service Contracts for the account in question.

Am I missing something?

  • Front line SFDC dev support reproduced and has referred to backline developer support; case# 09931190
    – cropredy
    Dec 6, 2013 at 2:44
  • Back line SFDC support has now reproduced this.
    – cropredy
    Dec 13, 2013 at 19:18
  • Back line SFDC support has reproduced in their own orgs and sent to R&D
    – cropredy
    Dec 21, 2013 at 0:06
  • Identified as a bug; now a known issue - success.salesforce.com/issues_view?id=a1p30000000T2EgAAK
    – cropredy
    Dec 30, 2013 at 23:21


You must log in to answer this question.

Browse other questions tagged .