cancel
Showing results for 
Search instead for 
Did you mean: 

how get path of the file deployed to server

Former Member
0 Kudos

Hi,

I have manually pasted an excel file in the mime folder of my project

so when I deploy the project, the excel file is deployed to the server

how do I get the path of this file ?

thank you

B

Accepted Solutions (0)

Answers (2)

Answers (2)

bhakti2
Active Participant
0 Kudos

Hi Aviad,

thanks a lot,

ultimately its been decided to physically put the file on server computer and hardcode the path in the code and download.

thanks for help

b

Former Member
0 Kudos

How do you wish to use it?

If it's for download then I suggest that you upload it to a KM directory.

bhakti2
Active Participant
0 Kudos

Hi Aviad,

I need to use it for download.

There is a button called "Download Template" on the screen. It should download this file to the local PC of the end user everytime this button is clicked.

Could you kindly elaborate , what is KM directory and how do I access it ?

thank you

b

Former Member
0 Kudos

In that case you can simply use linktourl UI element and enter the file name using URLGenerator class in the reference property.

bhakti2
Active Participant
0 Kudos

Hi,

Even in that case, where should I put my file ?

thank you

b

Former Member
0 Kudos

In the mimes folder of your project as you initially did.