add_event_ref
Link an existing event to another person in a role, so shared citations and corrections cover everyone involved.
Instructions
Share an existing event with another person, in a role.
For one census entry, residence or burial that several people took part in: each references the same event, so its citations and later corrections serve all of them. Refused if the person already has it; update_event_ref edits that reference. A new fact is add_event_to_person.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | The person's role in it: 'Primary', 'Witness', 'Informant', 'Godparent', 'Family', 'Clergy', or a custom role the tree already has. | Primary |
| event | Yes | Handle or gramps_id of the EXISTING event, e.g. 'E0007'. | |
| person | Yes | Handle or gramps_id of the person to add the event to. | |
| attributes | No | Attributes of this person's reference: what is theirs alone, e.g. {'As enumerated': '<their line on the sheet>', 'Age': '34'}. A name is matched against standard names, the tree's, and those on the event's other references. | |
| allow_new_type | No | Accept a type that is neither a Gramps standard type nor one of the tree's custom types, creating it as a new custom type. Only when meant: a near-miss is refused with the closest names. |