Published app only shows one row

What I’m trying to do:

Publish an app

What I’ve tried and what’s not working:

Clicked on the Publish button but only get one row see images below

When run in dev mode

when published

this line shown does not seem to relate to the data shown on the opening page of app - it seems to be from an old version. Other smaller apps seem to publish fine. When I click an option on the dropdown shown - I get this error message - it seems to to relate to a column in the table I am accessing to show the list in the first image above. Permissions on this table seem to allow viewing editing etc

image

Any help welcome. I am a beginner to Anvil/Python etc - what have I missed/forgotten please?

Code Sample:
`Big app difficult to share code - has confidential data in database



Clone link:
*share a copy of your app*

Have you checked the published version matches the version you’re working on in the IDE?
You can check by looking at the version history.
(If there is no published version it uses the latest version)

HI Thanks for your response. I went into Version History and the Publish button was grayed (it was the only button showing) out so I pressed it and it turned blue - see below - it has now published fine from first looks

image

had been clicking on the Publish App button on the top right of the IDE.

Many thnaks

Note that the published version will now always be that version in your history.

You can always go to version history and update it to the latest version when you need.

You can also remove it completely (unpublish it) and then the published version and the version you run in the ide will be the same.

Docs:

Anvil Docs | Production vs. Development

Brilliant thank you!!