Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

to attach template upload file in upload program

former_member399569
Participant
0 Likes
1,735

hi,

my issue now to attch template upload file in my upload program. once user click template button in the selection screen, then my program will read and provide user the template to either to open the file or save to local. this is to avoid my user keep giving wrong file format.

has somebody got any sample coding for me to refer? my fren suggest me to put the template as pdf/html format so that user will not change the file? but where should i put the template file; our shared folder? or maybe can somebody give advice or opinion on this.

thx a lot

4 REPLIES 4
Read only

Former Member
0 Likes
1,158

HI,

Yes you can place the file in a shared folder(application server). Upload the file & download to presentation server whenever user requests for the template.

Other option is to build the program to download a file to presenation server in a template format.

Best regards,

Prashant

Read only

0 Likes
1,158

do you have any FM that i can use to read the pdf/html/excel file and give option to user either to open or save to local? but if i put in shared folder, what i afraid is, what happen if somebody has remove or move the file. then problem for me to identify the correct file and problem to the server admin to re-structure the file and folder coz do not know who is calling the file. do you get what i mean?..

anyway thx a lot

Read only

Former Member
0 Likes
1,158

Hi,

GUI_UPLOAD FM can be used to upload Excel file.

Instead you can create a program to generate a excel file in the template format & download GUI_DOWNLOAD.

Best regards,

Prashant

Read only

former_member399569
Participant
0 Likes
1,158

the issue been solved by my ownself..