admin管理员组

文章数量:1418096

I'm working on a project in bubble.io, and I can't figure out how to copy one data type to another.

I have these data types, of which are all connected to each other in fields:

Data Type 1: Projects

  • Text Field: Name
  • Text Field: Phases
  • Text Field: Artifacts

Data Type 2: Templates

  • Text Field: Name
  • Text Field: Phases
  • Text Field: Artifacts

I have a few pages:

  • projects This lists the project names by Name. When a user clicks the Name it opens a project_details page.

    project_details This contains repeating groups that list the project's phases and artifacts.

    templates This lists the template names by Name. When a user clicks the Name it opens a template_details page.

    template_details This contains repeating groups that list the template's phases and artifacts.

Here's the logic I'm trying to make happen:

  1. The user visits the template_details page of a specific template.
  2. The user clicks a button called "Use this Template"
  3. The name, phases and artifacts of this specific template is copied and moved to the list of projects.
  4. When a user clicks on the new project, it shows the copied phases and artifacts.

I've been able to create a project, and the Name carries over. But I'm not successful in carrying over the phases and artifacts with it.

[][2]

本文标签: BubbleioHow to copy a repeated group to another data typeStack Overflow