You need to sign in to do that
Don't have an account?
Jason Gelsomino 9
I need to display data from a related list on the Case object in a table on a VF page.
I am fairly new to development and need some assistance displaying data in a table on a VF page. The data is contained in a custom object called medication. The object is a related list to Case. I need to show the medication data in a table that pertains to a specific case. I am pretty sure this can be accomplished relatively easily but I can't seem to figure it out. Any assistance would be helpful?
Below is Sample code of VF page which displayes the related contact that are related to particular Account. You just need to use Case as StandardController and medications__r/medications__c as relationship in place of contacts and then you can display the fields as per your requirement then add this VF page as in-line vf page to the case record.
Let me know if this helps :)
Thanks!
Amit Singh
All Answers
Below is Sample code of VF page which displayes the related contact that are related to particular Account. You just need to use Case as StandardController and medications__r/medications__c as relationship in place of contacts and then you can display the fields as per your requirement then add this VF page as in-line vf page to the case record.
Let me know if this helps :)
Thanks!
Amit Singh
Thanks so much! That did teh trick....just need to tweek it a bit.
Thanks, Jason