Get text of .txt file from database
Hi!
How can I get text of .txt file from appery.io database and print it to "label" form?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hi!
How can I get text of .txt file from appery.io database and print it to "label" form?
Hello!
Here is how to get file from DB http://devcenter.appery.io/documentat..., save it to file variable, for example:
prevar file = $.get(fileUrl);/prewhere fileUrl - link to the DB file
Then save file value to the lable preApperyio("labelName").text(file.responseText);/pre
Thank you!
This works better:
var db_url = "https://api.appery.io/rest/1/db/files//"
Apperyio("label_name").load( db_url )
Hello Nickolai,
Thank you for the update!