Having a container be like "page's thing"

Hello everybody,

I am building an app on top of openBuild and started going down the SPA route.

I have a situation where user inputs data in a section I have and I want to pass these for display at another section upon user submission.

I figured how to do this easily on multi-page setting by setting Page’s thing. Is there something similar for containers?

I know there is parent’s group thing, but I have hierarchy with multiple groups up, since the container is basically the page in this case, so I need multiple “parents” up.

Is something like that possible or I have to switch to multi page? I am quite early in the development process so don’t mind to switch.

Hi, you can do the same with groups. As they also can hold a data type and data source.
image

To populate the source you can:

  • Do “search for” in the database
  • Reference another element source
  • Use current user infos,

You can populate data with a “display data in a group” action in a workflow.

What I usually do on SPA for product detail pages (or equivalent):

  • Use “Go to page” with arbitrary text to navigate
    • Go to page index
    • arbitrary text = level-1/level-2/…/slug (or id)
  • Use conditionnal based on the Get URL item# n to show a group
  • Use Get URL item # n with the right datatype to populate the data source of the group shown
1 Like

Thank you eliot1, it works! :slight_smile:

This topic was automatically closed after 70 days. New replies are no longer allowed.