Hi Kenneth. Would it be possible to share the code you use to export and import as a csv file only the data that belongs to a particular user. Thanks kindly, JT
On Jan 17, 12:47 pm, Kenneth Lundström <kenneth.t.lundst...@gmail.com> wrote: > Appadmin already has the ability to expoert and import CSV-files. So no > need putting them there. > > In one of my application users has the right to export data as CSV and > even import it back. They don t get all data, only data that belongs to > the user. > > Kenneth > > > > > > > > > In reading the chapter on CSV and Remote Database Syncronization in > > the web2py book, specifically in these sections: > > > 2. Create a controller action to export the database: > > > 3. Create a controller action to import a saved copy of the other > > database and sync records > > > Would it be advisable to mention that these controller actions would > > best be placed within the appadmin as opposed to the app in general? > > This way, a casual user would not be able to export the data.