Add already existing Entities to an entity collection Field by providing their fibery/id. Remove Entities from the collection in a similar way.Get fibery/id either via API or by opening the relevant Entity on UI and exploring the command response in browser’s Network tab.Cricket/Player Database used as an example
Add two existing Teams to Player’s “Former Teams” entity collection Field (if team already exists in the collection then team will be ignored during addition):
Remove two Teams from Player’s “Former Teams” entity collection Field (if team doesn’t exist in the collection then team will be ignored during removing):
A single-select Field is an entity Field — each option is an Entity with its own fibery/id. Update it via fibery.entity/update, the same way as any entity Field.A multi-select Field is an entity collection Field — each option is an Entity with its own fibery/id. Update it via collection commands (add-collection-items, remove-collection-items, set-collection-items, reset-collection-items), the same way as any entity collection Field.Get an option’s fibery/id either via API or by opening the Entity on UI and exploring the command response in browser’s Network tab.Cricket/Player Database used as an example
Remove, replace, or reset multi-select options the same way — see Update entity collection Field for fibery.entity/remove-collection-items, fibery.entity/set-collection-items, and fibery.entity/reset-collection-items.