• #10904
    Salesforce | Piyush Piyush #164
    Forcetalks

    Can I use a apex:repeat on a VF page to iterate through related external data?

    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 URL:https:xyz.com?$filter=EmployeeID.

     

    #10906
    Salesforce | Himanshu Himanshu #142
    Forcetalks

    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}”/>
    </apex:repeat>
    </apex:page>

     

    Hope this helps you.

Viewing 2 posts - 1 through 2 (of 2 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2020 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?