Hi! I have a model with a field type of references many.
So in each entry I can have a lot ot references, but I need to create a script to edit entries and be able to add references to that field, how can I do this ?
This is how I’m creating the model:
{
id: ‘object’,
name: ‘User Access Object’,
type: ‘Array’,
localized: false,
required: false,
validations: [],
disabled: false,
omitted: false,
items: {
type: ‘Link’,
validations: [],
linkType: ‘Entry’
}
}
But I don’t have a clue of how to update this model to add references, can anyone give me some idea of how to to this please ?