cancel
Showing results for 
Search instead for 
Did you mean: 

How to create download button on web template todownload .csv on app server

Former Member
0 Kudos
170

Hi Experts,

I need to add a button on the web template that will enable the user to download the executed query in .csv format and automatically save it to a designated app server location. the file name must automatically grab the time, date stamp and userid in case there are several users downloading at the same time. I know how to add a button to the web template but dont know how to grab the executed query in .csv formt and save to a designated app server location with the file name requirement above.

Please help!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi:

Try this in Web Application Designer:

Choose your button.

All Commands -> Commands for Web Templates ->

Choose continue.

Then under the section: "Command-Specific-Parameters", go to

"Export Format"

Kind regards,

Answers (2)

Answers (2)

Former Member
0 Kudos

i got it to add button and command to export to csv. But how do i make it save to applicaton server location automatically without having the user do it manually? also how do i save the file name with date/time stamp, userid?

ChandranGanesan
Active Contributor
0 Kudos

Hello,

You can add a HTML button and use JavaScript on the click event.

[ABWR-Tool Users Guide syskoplan Automated BW Reporting (ABWR) Tool |http://www.competence-site.de/discussion.nsf/D772EC1F31613AE6C1256D0A00304246/$File/ABWR-Tool%20Users%20Guide_V04.doc]

[Six Steps to Creating Great-Looking PDF Reports in BW|http://www.bw-biexpertonline.com/archive/Volume_02_(2004)/Issue_05_(May)/V2I5A1.cfm?session=]

Thanks

Chandran