You need to sign in to do that
Don't have an account?
Gianni Albertoe 11
Show values related list of detail page of account
Im quite new to apex. I have the following list which shows values of a the account in a table on a visual force page
On the detail page a related list is made with an apex class
how can ik get the values to show of this related list in a table on account controller.
Is there a way i can achive this trough a.relatedlist.fieldvalue or do i have to achive this trougg a query??
Thanks in advance
<apex:outputLink value="/{!a.id}">{!a.name}</apex:outputLink> </apex:column> <apex:column headervalue="Projects" style="border:solid 1px #000" styleClass="Background-02">Above shows the values correctly
On the detail page a related list is made with an apex class
how can ik get the values to show of this related list in a table on account controller.
Is there a way i can achive this trough a.relatedlist.fieldvalue or do i have to achive this trougg a query??
Thanks in advance
Is your page using a standard controller? If so, you may be able to use the apex:RelatedList tag in VF. Check out this link: https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_relatedList.htm
Can you post the code for your entire page so I can get a better idea what you're dealing with?
Thank you.