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
zjlgzjlg 

The question about salesforce upgrade!

Now i got a question that make me dizzy, the old version of salesforce is normal to display the pdf which is generate by apex code,but now, the version has upgrade to summer12 and there is a proplem to display the pdf unless i remove the picture of pdf head(logo), can you tell me what's wrong with it or some new functions have published that i didn't know? thank you and hope you to give me the good idea!!
code:
<apex:page renderAs="pdf" >
 <apex:image id="theImage2" url="{!URLFOR($Resource.Images, 'header.jpg')}" width="210" height="50"/>
</apex:page>

Niket SFNiket SF

Hello Zjlg,

                   Will you please see the meta-data of the page and try to update the version of the page as 24. It may be works. I am not sure but some time it take some time to update the release changes in our org.

 

 

zjlgzjlg

Hi Nik,

Thank you for your reply, i have update the version of the page, but the issue is the same,i found that if i directly to display the pdf page without via the apex class,so it's ok. but when i diplay through the apex class,the issue just come out, but i need to display the pdf via the apex class so that i can implement some logic.

jha.pk5@cloud.comjha.pk5@cloud.com

Update the version of the page as 24, it will work automatically.