update_event_ref
Change a person's role or attributes on a shared event reference, such as 'Witness' or 'Age', in place while keeping existing citations intact.
Instructions
Change a person's reference to a shared event in place: its role, or attributes such as 'As enumerated' or 'Age'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | New role, e.g. 'Witness'. Omit to keep. | |
| event | Yes | Handle or gramps_id of the event they reference. | |
| person | Yes | Handle or gramps_id of the person. | |
| attributes | No | Attribute name to new value; null removes it. The first of a name is set in place, keeping its citations; a name the reference lacks is added. | |
| 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. |