Activity Forums Salesforce Questions and Answers Can I use a apex:repeat on a VF page to iterate through related external data?

  • Piyush

    April 30, 2016 at 1:23 pm

    Object type not accessible. Please check permissions and make sure the object is not in development mode:

    An error occurred while connecting to the external system. Please try again, or contact your administrator about this error. Attempted to reach this$filter=EmployeeID.

  • Himanshu

    April 30, 2016 at 1:29 pm

    Hi Piyush, Yes you can use apex:repeat in a vf page.

    You should be able to use the external objects just like a custom object. Here is an example using the repeat tag on the sample external object from the trailhead project:

    <apex:page standardController="Account">
    <apex:detail relatedList="false"/>
    <apex:repeat value="{!Account.Orders__r}" var="order">
    <apex:outputField value="{!order.orderID__c}"/>


    Hope this helps you.

Viewing 1 - 2 of 2 posts

Log in to reply.

Original Post
0 of 0 posts June 2018