-
Hello guys, I just have a question regarding the exposition of some custom collection field. Actually, the products API returning me:
I want to add name in my collections array like this:
I tried to add permissions directly in the swell console:
` Do you know how can i aggregate/expands two models by array id ? Thanks a lot for your help |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @souksou, modifying the permissions is more for allowing you update certain fields from the frontend api, or expose certain fields to the frontend api. In this case for a custom field on the /Products model, you should be able to specify this field with the content namespace when defining it within the Models screen. You'll see this in the "Advanced options" section when creating the field in the Developer > Models screen. |
Beta Was this translation helpful? Give feedback.
Hey @souksou, modifying the permissions is more for allowing you update certain fields from the frontend api, or expose certain fields to the frontend api. In this case for a custom field on the /Products model, you should be able to specify this field with the content namespace when defining it within the Models screen. You'll see this in the "Advanced options" section when creating the field in the Developer > Models screen.