Skip to content

join two schemas #269

@micha99

Description

@micha99

First of all: thanks for providing these plugins to the community. I am using both, the struct & bureaucracy plugin, they are great and really appreciated.

What I am looking for is a function to "join" the structured data from different schemas in a simple 1:N manner and it seems with the "lookup dropdown/lookup schema" features it was somehow intended, but I can't see a way to get it working. Maybe I am missing something more general here?

Here a quick example:

Schema "Country": name, president
Page: US, Trump
Page: France, Hollande

Schema "City": name, inhabitants, country(filled via lookup to "Country.name")
Page: Lyon, 500.000, France
Page: Paris, 2.200.000, France
Page: Washington, 650.000, US

Overview/Aggregation page for all Cities:

---- struct table ----
schema: City, Country
cols: City.name, City.inhabitants, Country.name, Country.president
filter: City.country=Country.name

Expected result:
city, inhabitants, country, president
Lyon, 500.000, France, Hollande
Paris, 2.200.000, France, Hollande
Washington, 650.000, US, Trump

I'd love to have such a feature. Cheers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions