0

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. enter image description here

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 enter image description here

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

1 Answer 1

0

For 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: enter image description here

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: enter image description here

And that is it, now I am able to choose multiple skills in MySkill, that are related to AllSkill enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.