function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
RoopaRoopa 

Display the Object details into PDF (Summer release)

hi All,
I want to display Master (ex.Account info,it's related list contact details should display one after another) and Related List details into PDF. On click of button, it's rendering as PDF.

The problem is certain field values of related list are not displying into PDF which are having datatype as number, Picklist, date.
For Picklist it's displaying all the values(eg.language) instead of selected values. Help me out on this prob.

snippet :
<apex:page standardController="MasterObj" extensions="getIdfun" renderAs="pdf" >
   <apex:detail subject="{!Child_Obj__c}" relatedList="false"/>
   <apex:repeat value="{!MasterObj__c.Child_Object__r}" var="test">
   <apex:form >
          <apex:pageBlock title="Order No#{!test.Order_No__c}">
              <apex:pageBlockSection title="Info" columns="2">
                  <apex:inputField value="{!test.language__c}" />
                  <apex:inputField value="{!test.StDate__c}"/>
              </apex:pageBlockSection>
        </apex:pageBlock>
       </apex:form>
   </apex:repeat>
 </apex:page>
 
Thanks in advance!
ESES
Currently pagesToPdf feature is only meant to suppot "print view" kind of pages, and not to render pages using salesforce's standard components (e.g. detail, relatedList) to pdf.
ChrisGountanisChrisGountanis
So please where is that documentation on detail printing of quotes/proposals to PDF using Visualforce? I was promised some documentation in another post by some SF guru. I really need ot get started on the research of this feature so we can decide if it will work for us.
mtbclimbermtbclimber
Here is a quick blog entry for you:

http://blog.sforce.com/sforce/2008/06/dynamically-cho.html

I'll be adding the more detailed example soon. Sorry for the delay.


mtbclimbermtbclimber
As promised:

http://wiki.apexdevnet.com/index.php/Visualforce_Quote2PDF

Share and enjoy!


Message Edited by mtbclimber on 06-27-2008 06:06 AM