update_child_ref
Change a child's relationship to a father or mother in place, such as marking a stepchild as birth, while keeping citations, notes, and birth order.
Instructions
Change a child's relationship to the father or mother -- a stepson held as a birth child -- in place.
The child keeps the link's citations, notes and its place in the birth order, which detaching and re-adding the child loses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frel | No | Relationship to the father: 'Birth', 'Adopted', 'Stepchild', 'Foster', 'Sponsored', 'Unknown', 'None'. Omit to keep. | |
| mrel | No | Relationship to the mother, the same values. Omit to keep. | |
| child | Yes | The child's person handle or gramps_id. | |
| family | Yes | Family handle or gramps_id (e.g. 'F0001'). | |
| 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. |