* Automatic To Do list creation

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
avatar
Gowermick
Megastar
Posts: 1632
Joined: 13 Oct 2015 07:22
Family Historian: V7
Location: Swansea

Automatic To Do list creation

Post by Gowermick » 21 May 2016 17:01

Having successfully followed the guidance on creating a To Do list and its associated report, I wonder if it is possible to automate the addition of an entry for an individual.

E.G. I have a query that lists all individuals who are missing from a particular census year. I would like to append a ToDo note to each individuals in the list such as 'Census: Missing 1851 census entry'.

Is this possible?
Mike Loney

Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Automatic To Do list creation

Post by tatewise » 21 May 2016 17:31

No, it is not possible for a Query to create/update any data either automatically or with manual assistance.
A Query can only produce a Result Set of existing data.
The only option to change data is by manually selecting Result Set cells and deleting data.

To achieve what you request you must write a Plugin that searches using similar criteria as the Query to find the Individuals, and then modifies their To Do Note.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
Gowermick
Megastar
Posts: 1632
Joined: 13 Oct 2015 07:22
Family Historian: V7
Location: Swansea

Re: Automatic To Do list creation

Post by Gowermick » 21 May 2016 18:16

Mike,
Perhaps I worded my thoughts incorrectly, I wasn't thinking solely of a query, but possibly a plugin that works on the resultset of the query.
i.e. Could a plugin write directly to the ToDo fact, appending text to existing ToDo note, without overwriting what is already there?
Mike Loney

Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Automatic To Do list creation

Post by tatewise » 21 May 2016 18:33

A Plugin cannot 'see' any Result Set data.

Yes, a Plugin can modify virtually any data in any way, and retain existing content.
What it does is creates a To Do fact if none exists, or reads an existing To Do Note, and updates the Note.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply