I am building a back office with strapi. I don't have any special config/plugins.
I would like to have a private list storing all skills (AllSkill) (a skill is an image and a name). In order to do so, I created a private collection.
Then I want to have a public collection (MySkill), that have multiple fields. For each field, it should contain a sub set of AllSkill. In order to do so, I tried to link all the fields of MySkill, with having a relation to AllSkill (I first tried with Many to Many for the sake of simplicity).
However, instead of being able to select a subset of skills, I can only select a relation
How can I be able to select a sub set of AllSkill in MySkill ?
The more global goal I want to achieve, is to be able to make grow the AllSkill independantly from MySkill (because I could also return a skill in other endpoints) So I want to have this private collection AllSkill, where I have all skills referenced, and then for instance in the public MySkill, I return only subsets of those skills. And in an other endpoint, Project, I can also return a subset of AllSkill
I am building a back office with strapi. I don't have any special config/plugins.
I would like to have a private list storing all skills (AllSkill) (a skill is an image and a name). In order to do so, I created a private collection.
Then I want to have a public collection (MySkill), that have multiple fields. For each field, it should contain a sub set of AllSkill. In order to do so, I tried to link all the fields of MySkill, with having a relation to AllSkill (I first tried with Many to Many for the sake of simplicity).
However, instead of being able to select a subset of skills, I can only select a relation
How can I be able to select a sub set of AllSkill in MySkill ?
The more global goal I want to achieve, is to be able to make grow the AllSkill independantly from MySkill (because I could also return a skill in other endpoints) So I want to have this private collection AllSkill, where I have all skills referenced, and then for instance in the public MySkill, I return only subsets of those skills. And in an other endpoint, Project, I can also return a subset of AllSkill
Share Improve this question asked Feb 7 at 16:15 TheTisibothTheTisiboth 1,6511 gold badge7 silver badges17 bronze badges1 Answer
Reset to default 0For some reason, having only a component in AllSkill was causing an issue. If I try to set up an other "fixed" field, like name like this:
ANd then in the content manager, I have to edit the view for MySkill, like this, so it doesn't show the id, but rather the name:
And that is it, now I am able to choose multiple skills in MySkill, that are related to AllSkill