Beaconcms backend hooks - how to create initial changeset on page load?

Oh, now that I think about it, if all you’re doing is populating an assign, that could be a better fit for LiveData, which is scoped by path - still not per-page, but at least it’s not global (also changeable at runtime!).

To do this you would:

  • go to the “Live Data” section of the admin dashboard
  • click the button to create a new Live Data path
  • enter the path to your page(s) (can use globs e.g. /topics/:id/create)
  • define the assign with whatever name and code you want

Let me know what you end up going with!