Upload Excel Template in resource folder and use it
Application Type
Reactive

How to add Excel template in resource folder and use it in the template download .

I have tried but seems not working , instead of showing content it shows URL.


please find the oml attached 

Sampltemplate.oml

Solution

No Nandini, You need to create one server action to get the file from resource folder. Then in client action use download widget to download the file.

hoh yes got it, 

Thanks a lot :)

Sampltemplate.oml

Its very simple and straight forward. Just right click on resource folder and click on "Import Resource" option. It will open select dialog select the excel file and it will be imported in resource folder.

After then when you want to download same from resources folder you just need to select this file for download.

regards

Thanks much for the reply, 

yes I have tried the same , could you please look at the oml once 

Solution

No Nandini, You need to create one server action to get the file from resource folder. Then in client action use download widget to download the file.

hoh yes got it, 

Thanks a lot :)

Sampltemplate.oml

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.