cancel
Showing results for 
Search instead for 
Did you mean: 

generate and disaply excel file as iview in ep6?

Former Member
0 Kudos

Hello, everybody.

I built a iView in EP5 that can generate and display excel file on the run-time. I used contecttype in httpservletresponse to set the content type to excel so the browser will see the data as excel.

But it looks like the setcontenttype for httpservletresponse does not work anymore in EP6, does anybody know how to make the broswer "sees" the data as an excel file in EP6?

I am using EP6 SP9

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Gray,

if you like to show a excel file via iview just use the km.document iview and put the path to the file in its properties.

that all,

Yoav

Answers (1)

Answers (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Gary,

you definitely can set the content type if you call an AbstractPortalComponent and set all things within method doOnNodeReady (search for both terms on SDN forums, you'll find a heap of hints).

In addition, I don't know if you create "real" Excel data or use the html trick. If you don't know the latter, see

Hope it helps

Detlev