Set default page is not working

I've set a specific page as the default using the "Set as default page" option available via right-click on the page in the Pages tab. However, this setting does not persist:

  • After reloading the application, it reverts to showing the first (or last) page in the list, not the one I set as default.
  • The page I previously marked as default once again shows the "Set as default page" option, as if the setting was never saved.
  • When opening the application, it consistently loads a non-default page instead of the one I selected.

Has anyone else experienced this behavior? Is there something additional I need to configure to make the default page persist?

This isn't working for me either. Any fix?

To resolve this issue, I implemented a JavaScript query that runs on page load initially. This script checks the current page, and if it is not the intended default page, it programmatically redirects the user to the desired page.

const curPage = retoolContext.currentPage;

if (curPage !== 'defaultPage') {
  utils.openUrl(
    `${YOUR_APP_URL}/defaultPage`,
    { newTab: false, forceReload: true }
  );
}

Below image contains steps for finding YOUR_APP_URL:

However, I still want to know how to make Set as default page work.

1 Like

Hello @Rishi_Prasad_Aryal and @Jacky_Ho, welcome to the community! :wave:

Here are two common reasons why the default page setting might not persist:

  • The browser may cache the previous page. Performing a hard refresh using Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac) can help clear this cache. After that, try setting the default page again.
  • After setting your default page, please ensure you save and publish the app so the change is applied for all users.

Please try these steps and let me know if the issue continues or if it resolves.

I too am having this issue. After hard refreshing, it does not resolve. I just updated the default page and it doesn't seem to write to the app history.
Screenshot 2025-06-23 at 12.32.21

How exactly do I save and publish the app?

Ignoring user-specific settings for "all users", the change isn’t reflected on my own screen.

Isn’t the app automatically saved?

And the solution you mentioned didn't work.

Hi folks,

Thanks for reporting this! We are looking into a bug where changing the default page setting doesn't automatically trigger a page save.

While we investigate, the recommended workaround is to make a small change on the page after setting the default page in order to trigger the page save (i.e. move a component back and forth).

I will reach out here when we officially have a fix for the bug