Skip to main content
1 of 2

How do I add info from a custom object to my visual force page when I'm already using a standard controller?

Here is what I am trying to do.

I have a visualforce page, I have information from the account object populating in a table.

I'd also like to populate information from my custom object to that visualforce page. How do I do that? I would be okay using another table, I'm not picky on how that information shows up just as long as it works.

My code is simple, I'm a beginner.

<apex:page standardController="Account" recordSetVar="amanda">

<apex:pageBlock >

  <apex:pageBlockTable value="{!amanda}" var="acc">
   
   <apex:column value="{!acc.Name}"/>
    
</apex:pageBlockTable>

</apex:pageBlock>

</apex:page>

The API name of the custom object would be Milestone__c, I would like to bring over name, Where_are_we__c, and Name__c