Salesforce: generating Excel files from VisualForce APEX pages

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: 

Comments

The next time I read a blog,

The next time I read a blog, I hope that it doesnt disappoint me as much as this one. I mean, I know it was my choice to read, but I actually thought you have something interesting to say. All I hear is a bunch of whining about something that you could fix if you werent too busy looking for attention. http://bestofbasketbal.livejournal.com http://thehorse.over-blog.com/ http://mysoccerjerseys.wallinside.com/

Add new comment | Penyaskito Blog

You really make it apear sso easy along with your presentation however
I in finding this matter to be actually something that I think I would by no means understand.

It seems too complicated and very wide for me. I'm taking a
look ahead in your next publish, I'll attempt to get the grasp of it!

Here is my webste ... <a href="http://www.webcaredirectory.com/articles/115041-superb-advice-to-help-a-... money mastery members</a>

Add new comment | Penyaskito Blog

I leave a response when I appreciate a artile on a website
or I have something to contribute to the discussion. Usually it's caused by tthe sincerness displayed in the post I
browsed. And on this article Add neww comment | Penyaskito Blog.
I was actually excited enough to drop a thought :-) I actually ddo have 2
questios for you if it's allright. Is it juust mee or does it llook like like some of the
remarks loiok like they are written by brain dead people?
:-P And, if you are posting on other online social
sites, I'd like tto kep uup with everything new youu have to post.
Would you list all of all your communal sites liie your linkedin profile, Facebook page or ttwitter feed?

Here is mmy web site <a href="http://V-Lada.ru/user/OllieYoo3211034/">most accurate forex signals free</a>

Add new comment | Penyaskito Blog

Hmm it looks like your website ate my first comment (it was extremely
long) so I guess I'll justt sum it up whawt I wrote and say,
I'm thoroughly enjoying your blog. I as well am an aspiring
blog blogger but I'm still new to everything.
Do you have any tips and hints for first-time blog writers?
I'd definitely appreciate it.

Also visit my web pge <a href="http://rik-i-morti.ru/user/BrandonTdd/">google sniper official website</a>

Add new comment | Penyaskito Blog

My coder is trying to convince me to move to .net from PHP.
I have alays disliked the idea because of the costs. But he's tryiong
none thhe less. I've been using WordPress on numerous websites for about a year and am worried about switching
to another platform. I have heard excellent things about blogengine.net.
Is there a way I can transfer all my wordpress content into it?

Any help would be really appreciated!

my web-site; <a href="https://tangofrosty.com/AzucenaliGilleyfg">The Pro betting club</a>

Pages

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
To prevent automated spam submissions leave this field empty.
By submitting this form, you accept the Mollom privacy policy.