Startup form not changing when publishing app

What I’m trying to do:
I cloned an app from the Anvil examples. This one: Anvil | Multi-User Applications with Anvil

Im trying to change the startup form of an app so that when I run the app, that form is the first page that opens. For example, a home page.

What I’ve tried and what’s not working:
Ive clicked on the lightning symbol on the right side name of the form in the app browser. It works only when I run the app using the Run. But when I publish the app (public and private link) the form that I chose is not the one that loads. The form (page) that loads is the original page that was set in the example app that I cloned. Why is this happening? Where do I go to change the startup form? Please give detailed examples as I am new to Anvil and new to Python. Thanks.

Code Sample:

# this is a formatted code snippet.
# paste your code between ``` 

Clone link:

share a copy of your app

It sounds like you might have changed the start up form in a branch that is different to the published branch.

Have you checked that the published branch has the changes merged in to it?

Are you able to share a clone link of this app?

Ah yes, thanks Rick. Your solution worked. I was making changes to the Master branch but not the published branch. I think it’s all good now.

Thanks
Raj

1 Like

Hi @rjsharma,

I’m glad you found a solution to your issue! I’ve gone ahead and marked @rickhurlbatt’s answer as the solution to this thread. Just so you know, you can do this yourself by clicking on the three dots below a reply and choosing “Solution”. This helps other forum users find answers more easily!