You need to sign in to do that
Don't have an account?
Adam Rycroft
visualforce page with extensions?
I'm struggling to understand this concept.
We have a custom object (Intake__c) that is the master in relationships with other objects (Income__c, Non_Cash_Benefits__c etc.)
I need to be able to create a custom button from an Intake Record that can create a pdf of the Intake Record as well as display fields from records within the related list. Just showing the related list in the pdf does not suffice which is what he currently have.
What is the easiest way to do this? Would I need to create extensions for all the related objects where the id on the Intake Record is the same as the ID on the child records and add them to the standard controller for Intake__c? Then in the VF page layout use an apex:repeat value to displays fields from the multiple records associated to the intake?
If so, could someone help me out with what the basic code for this would look like?
Thanks,
Adam
We have a custom object (Intake__c) that is the master in relationships with other objects (Income__c, Non_Cash_Benefits__c etc.)
I need to be able to create a custom button from an Intake Record that can create a pdf of the Intake Record as well as display fields from records within the related list. Just showing the related list in the pdf does not suffice which is what he currently have.
What is the easiest way to do this? Would I need to create extensions for all the related objects where the id on the Intake Record is the same as the ID on the child records and add them to the standard controller for Intake__c? Then in the VF page layout use an apex:repeat value to displays fields from the multiple records associated to the intake?
If so, could someone help me out with what the basic code for this would look like?
Thanks,
Adam
You can do something like this if you want to display the child fields:
All Answers
You can do something like this if you want to display the child fields: