Update Apps code and not the datatables

Hello everybody,

I’m new to this framework and maybe my question is trivial but bare with me please.

Lets assume I have a running app lets call it A-app with some code and some data on the datatables.
Then I clone it to my account as another app lets call it B-app. This will create a new app with the same code and data in the datatables.
Now after some time I have updated the code in the A-app and I want to transfer the code from the A-app to the B-app but with leaving the datatables intact and transferring only the code part.

I have seen the share app option and the option to download the app as a YAML file but I can’t seem to find transfer the whole code part of an app to another existing app.

Am I missing something?

Welcome to the forum!

What you’re describing is the same situation that is used when you have a Development app and a Production app. Code changes are made in the Development app, and when fully tested, are moved to the Production app.

The way to do this is described in the docs: Anvil Docs | Apps in development and production

Note that you only need to use this technique if you’re on the free/personal plans. Above that you have access to environments with the beta editor. Environments will allow you do to the same thing within a single app.

1 Like