Including CSV Data wiht my App


#1

Hi All,

I’m trying to create an app that displays information about a range of products.

My product information is in a CSV file and the app will be used as a web app so it can display the information when off-line.

How can I include that data with my app so that it gets downloaded and is available off line?

I understand that NSB cannot read local files. Do I need to create a massive variable in a form to contain the csv data and search this? Or is there an easier way?

Advice appreciated.

Regards Mark


#2

Have a look at the ReadFile sample.

You can read some files which are deployed with your app, but you’re not allowed to look at the general file system on the device. As you can imagine, that would lead to serious security issues.


#3

Thanks George,

ReadFile did the trick.