Page 1 of 1

open an .html internal file (collection : files data)

Posted: Mon Mar 24, 2014 4:04 pm
by Fabrizio Cattadori

Hello! I have put an .html file in the collection (files data) . What is an easy way to link this file to a button (and open it)? I need to open the file when i click the button? Can I use the link (component) ? thanks in advance. F.


open an .html internal file (collection : files data)

Posted: Mon Mar 24, 2014 4:38 pm
by Nikita

Hello,

You should use action "Navigate to LInk" for any event.


open an .html internal file (collection : files data)

Posted: Mon Mar 24, 2014 5:33 pm
by Fabrizio Cattadori

thanks! but what link exactly?


open an .html internal file (collection : files data)

Posted: Mon Mar 24, 2014 6:19 pm
by Nikita

Link to your file. If you place your file in root web_resources, then just myfile.html, if in another folder, then you should specify its name too (for example myDirectory/myfile.html)


open an .html internal file (collection : files data)

Posted: Tue Mar 25, 2014 3:00 pm
by Fabrizio Cattadori

Sorry to ask you one more question: how can I put my file.html in web_resources ?
I have to use the DATABASE collection? or exist a simpler way?


open an .html internal file (collection : files data)

Posted: Tue Mar 25, 2014 5:22 pm
by Nikita

Hello,

Please look at this link:
http://docs.appery.io/documentation/p...


open an .html internal file (collection : files data)

Posted: Wed Mar 26, 2014 1:54 pm
by Fabrizio Cattadori

Thanks! Solved