+ Start a Discussion
Rocks_SFDCRocks_SFDC 

How to put merge fields data on the Static Resource file in visualforce pages

Hi Folks,
I have created a custom button on the account detail page which will open the Visualforce page.

I have uploaded the file which is in pdf format in the Static Resource. Now i have displayed this static resource file in the visualforce page by using the following:

<apex:image url="{!$Resource.TestImage}" width="50" height="50"/>

Now i want to dislay merge fields data like Account Name, Industry, Phone fields on to the static resource file which is already displayed in visualforce pages

Thanks,
Anil