Pasar al contenido principal
Penyaskito Blog

Main navigation

  • Home
Language switcher
  • English
  • Español
User account menu
  • Iniciar sesión

Sobrescribir enlaces de ayuda a la navegación

  1. Inicio

Salesforce: generating Excel files from VisualForce APEX pages

Por penyaskito, 22 Septiembre, 2014

I have been working recently with Salesforce, and generating Excel files was not working for me.

It should have been as easy as changing the apex:page contentType property, but its output was like:

<table id="j_id0:j_id1" border="0" cellpadding="0"....

My problem was using

<apex:column>whatever</apex:column>.

Instead, you should use

<apex:column value="whatever" />

and it should work.

Hope this helps.

Tags

  • Salesforce
  • Excel
  • exports
  • Visualforce
  • APEX

Archivo mensual

  • Enero 2022 (1)
  • Mayo 2021 (2)
  • Abril 2021 (1)
  • Noviembre 2012 (1)
  • Septiembre 2012 (3)
  • Agosto 2012 (3)
  • Junio 2012 (6)

Contenido reciente

Reescribiendo el historial de commits de git para editar el autor y el email de commits pasados
3 years 4 months ago
Drupal JavaScript behavior para destacar líneas de pedido editadas en el carrito de Drupal Commerce
3 years 11 months ago
Analizando el rendimiento de Drupal, WordPress o cualquier aplicación php con DDEV, XHProf y XHGui
4 years ago

Comentarios recientes

I would recommend taking a…
1 year 8 months ago
This looks interesting
1 year 9 months ago
Thanks for the comment
3 years 11 months ago

Blogs que sigo

  • Mateu Aguiló "e0ipso"
  • Gábor Hojtsy
  • Pedro Cambra
  • The Russian Lullaby, davidjguru
  • Can It Be All So Simple
  • Maria Arias de Reyna "Délawen"
  • Matt Glaman
  • Daniel Wehner
  • Jacob Rockowitz
  • Wim Leers
  • Dries Buytaert
Syndicate

Pie de página

  • Drupal.org
  • LinkedIn
  • GitHub
  • Mastodon
  • Twitter
Funciona con Drupal