Rendering a Visualforce page as CSV
In this article we will learn how to render a visualforce page as CSV in Salesforce. In order to render a visualforce page as CSV you have to set contentType attribute to text/csv. Have a look at below code example where I have created a Visualforce page which is rendered as CSV. CSV will display … Read more