Hello,
I want to create a button with a script. Click it to log out and return to home page, the only page which you can log in. Here is the script. But it doesn’t work properly, user will log out, and stay on the previous page. I got the pageId from self.page.props.pageId on my web browser.
system.perspective.logout(pageId='347d393c')
This should be a simple feature, I must have missed something?