How to add module with join's #3727
rscarpim1973
started this conversation in
General
Replies: 3 comments 1 reply
-
|
Hi @rscarpim1973, there is no CLI for creating a join between two types. Adding schema fields, like joins, is done in your code. There is a really good explanation here with examples: https://v2.docs.apostrophecms.org/core-concepts/reusable-content-pieces/joins.html If you have any specific followup questions after following this guide please share the details here. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone.
I just would like to know how may I create a new module with joins.
Example:
I have a news post, that should have a one-to-many relation called related news, I just would like to know using apostrophe v2 how to achieve that using the command line to create, I tried hardcoding but I got an error message when I click at the Browse button

Beta Was this translation helpful? Give feedback.
All reactions