add_url
Attach a web URL to a person, place, or repository in a Gramps Web family tree, specifying URL type and optional link description.
Instructions
Add a web URL to a person, place, or repository.
Only these three object types carry a URL list. For sources/citations, record a web address as an attribute (add_attribute) instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL, e.g. 'https://www.findagrave.com/memorial/123'. | |
| target | Yes | Handle or gramps_id of the object. | |
| url_type | No | URL type: 'Web Home', 'Web Search', 'E-mail', 'FTP', or a custom type the tree already has. | Web Home |
| description | No | Optional link description. | |
| object_type | Yes | Type of the object: 'person', 'place', or 'repository' only. | |
| 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. |