Re: Person Notes

George Wilmes <[email protected]>
Newsgroups gmane.comp.genealogy.gramps.user
Message-ID <CADWiNGw6Jz9m9tiPaXWVd7U6y1Y-vZUC6nqZ-0LK++y0kLad1g@mail.gmail.com>
<< Is there a way to add notes in Gramps from an external file or program?
>>

From an external file -- at least three options here, depending on your
skills. You could create a new CSV import function in Python, using the
existing ones as models. Or you could export your database to SQLite, add
the new notes there using SQL (you would need to assign an arbitrary,
unique handle to each new note), and then import back into Gramps.
Similarly, you could export to XML, add the new notes programmatically or
by hand (ouch!), and import back.

From another program -- the Gramps Web API has a "createNote" but I haven't
tried it:
https://gramps-project.github.io/gramps-webapi/#/notes/createNote

Regardless of which of the above approaches you use, once back in Gramps
you would need to attach the new notes to whatever objects you like.

On Sun, Feb 5, 2023 at 1:08 PM Pat Franck <[email protected]> wrote:

> Is there a way to add notes in Gramps from an external file or program?
> Appreciate any input you might have.
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> --
> Gramps-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gramps-users
> https://gramps-project.org
>
-------------- next part --------------
An HTML attachment was scrubbed...

-- 
Gramps-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.