A further note is that if files are stored in the tables, they are not exported.
If you have questions, please feel free to reply or post a topic. Good luck
Thanks again for the hint. I finally had a go on it.
For testing I simply exported the Users Table (as csv) and followed the instructions to upload the table into the running app (still in the cloud for testing).
I am able to select the exported csv as is. But when uploading I get an error message again regarding the column of the users table which is of type boolean…
It turns out the the import of the export table is not straight forward als also the date/time columns are recognized by the server when uploading.
I got stuck again…
I am afraid that uploading users will not work since it is quite complicated an issue. I have to use custom authentication: Anvil Docs | Custom user authentication
The more I work with the app server, the more I appreciate the hosted one, since much less headache. There is performance problem with the hosted app, but I can overcome easily.
Hi @Tony.Nguyen
Thanks for responding. The hosted server, even though I like it very much, cannot be the solution due to the nature of the data used in the app.
Given that you seem to want to share authentication data between the hosted Anvil App and an on-site App Server, have you considered creating an HTTP Endpoint in a hosted app which your (different) local app could use for authentication? You could pass username and password from a custom login form, and have the endpoint return a dict of the authenticated user.
Thanks for the Idea! I had another one yesterday. After cloning the app one can edit the anvil.yaml file to allow sign up of new users to create a first local user and then change the yaml file again to remove the sign up option again. This seems to work . As I have only a small number of users, I don’t mind creating them again after relocating app.
Hi @Tony.Nguyen
After managing the user migration problem, which works nicely now. I ran into what you mentioned in your response.
I should some migrate data tables containing files (actually ttf fonts). As you mentioned the files are not download, hoewever db scheme is.
Any idea on how migrate the files?