function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Matthew AllenMatthew Allen 

visualforce external object Related list


Our org uses lightning connect to retireve data from another org. Using a matching ID I can show the external objects as related lists on a standard account page, however I need to show these objects on a Visualforce page? Can I do this?

My VF code is below, the external object API name is MAccount__x. Can anyone help me? If I make detail relatedList="True" then it does show, but I need it on another tab.

<apex:page standardController="Account" showHeader="true"
      tabStyle="account" >
      .activeTab {background-color: #236FBD; color:white;
      .inactiveTab { background-color: lightgrey; color:black;
   <apex:tabPanel switchType="client" selectedTab="tabdetails"
                  id="AccountTabPanel" tabClass="activeTab"
      <apex:tab label="Details" name="AccDetails" id="tabdetails">
         <apex:detail relatedList="False" title="true"/>
      <apex:tab label="Business Area 1" name="BA1">
         <apex:relatedList subject="{!account}" list="contacts" />
         <apex:relatedList subject="{!account}" list="opportunities" />
      <apex:tab label="Business Area 2" name="BA2">
         <apex:relatedList subject="{!account}" list="MAccounts__x" />
Matthew AllenMatthew Allen
Can I assume it can't be done?
Matthew AllenMatthew Allen