You need to sign in to do that
Don't have an account?
Pavan Kemba
How do i accomplish this. I have a VF Page renderedas PDF i dont know how to proceed further.
How to renderPDF for List of Object
I have a requirement to generate PDF for list of Object.
I have a button and on click of it this there are certain Records inserted and i have to display these inserted records in a PDF.
I have a controller that returns list of ids, now i want to display these on PDF.
For Ex:
acctlist = [SELECT id FROM Account WHERE Account.Country='INDIA'];Lets say this acctlist has 10records and details of these should be displayed in PDF. Each record, new Page.
How do i accomplish this. I have a VF Page renderedas PDF i dont know how to proceed further.
How to i populate the values on this Page from the list of Object IDs
Tried your solution, but i'm getting a error telling UNKNOWN PROPERTY 'VISUALFORCEARRAYLIST.<THE FIELD NAME>'
<apex:pageBlock title="Records Extracted">
<apex:pageBlockSection title="Page Block Table">
<apex:pageBlockTable value="{!accList}" var="account"> <!-- here account is the variable may be you are missing something.--->
. <apex:column value="{!account.Id}"/> <apex:column value="{!account.name}"/> </apex:pageBlockTable> </apex:pageBlockSection> </apex:pageBlock>
can send me you code. and what you are doing
VF Page:
The previous error is now fix as the list i was using was not made public
But the values are not getting printed now :(
Both columns are not printing values. The printmco list has around 7 records