Automate “subpages” deletion when a button is triggered. Is it possible or not?

Hey @Jonathan_Schoonbroodt, welcome to the Community!

@Piet_Strydom is right, you most certainly don’t want to duplicate pages in a doc just for the sake of giving each user their own space. At least because that won’t prevent users from seeing and tampering other users’ pages.

In general, given that many users should have the same level of access to a certain doc and you want to give each user capability to interact with it through the same centralized interface, what you should do is implement a “view” as a single page but make it user-specific instead using this approach:

But yeah, I built Viva Pizza just for the use case you’re describing: separating the user storefront (a sandbox where each user loads an ordering interface whose lifespan is that of an opened tab — closing the tab would clear all their data) from the back-office where production is managed. And to answer your question, yeah, since every time a person opens a storefront tab they get a sandboxed environment, many people can safely make many orders at the same time and not clash with each other.

If you need help taking my doc and tailoring to your business, I’m open for hire :slight_smile: — just DM me. Most of the ropes are in place already so I don’t see it taking much time.

1 Like