* How do you get website Place Report to exclude Private Individuals?

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
User avatar
Talln
Gold
Posts: 18
Joined: 09 Feb 2021 17:15
Family Historian: V7
Location: London

How do you get website Place Report to exclude Private Individuals?

Post by Talln » 29 Oct 2021 13:50

Hi

I'd like to add a Place Report to my website Home page so visitors can see activity in a particular place over time...but the report must not show Living or Private Individuals' data.

After trying multiple tweaks to the Place Report settings I am stumped as to get it to exclude Private and/or Living individuals' names and facts from the report. The Place report also causes Private Individuals to be inserted into the website Index page (which then links back the Place Report).

I've tried unticking "Enable Index" and "People" but that makes no difference. In the Format tab I've tried changing the "Record" definition to TextIf(HasFlag(%INDI%,"Private"),"Private",%INDI.NAME:ADORNED_FULL% (=LifeDates2())) but that made no difference... perhaps those settings apply to the paper report only?

I'm no expert but in these days of GDPR restrictions shouldn't there be optional Private and Living filters as standard for all reports?

Can anyone offer any suggestions how to generate a Place Report in a website that excludes Private Individuals and facts about Living Individuals?

Thanks
Talln

PS I am on (Windows) version 7.0.8.2 which I believe is the latest.
Paul Weaver, London

User avatar
ColeValleyGirl
Megastar
Posts: 4853
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: How do you get website Place Report to exclude Private Individuals?

Post by ColeValleyGirl » 29 Oct 2021 14:08

Have a look at the Clean Living Persons plugin. You must run it on a copy of your project as it deletes unwanted data.

User avatar
Talln
Gold
Posts: 18
Joined: 09 Feb 2021 17:15
Family Historian: V7
Location: London

Re: How do you get website Place Report to exclude Private Individuals?

Post by Talln » 29 Oct 2021 16:13

Thanks ...I guess than would work!

That said, it seems wrong to have to make a copy, then run a third-party app to delete things, then generate the web page.

I suspect that it would require some major re-factoring of FH code to retrofit this logic to all possible reports...but probably something that is needed to protect FH users...

Any other idea out there?
Paul Weaver, London

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

Re: How do you get website Place Report to exclude Private Individuals?

Post by tatewise » 29 Oct 2021 16:37

FYI: Many reports do have a built-in Report > Options > Privacy tab that offers exactly what you are requesting.
However, some reports like the Place Report are implemented as a Plugin, and not all the features of the Standard reports have been included, but they could probably be added in due course.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
davidf
Megastar
Posts: 951
Joined: 17 Jan 2009 19:14
Family Historian: V6.2
Location: UK

Re: How do you get website Place Report to exclude Private Individuals?

Post by davidf » 29 Oct 2021 17:25

I don't use reports, but ...

I think you can do a query which will produce the data you want.
I have done a Fact Query to find facts associated with a place
By adding columns =HasFlag(FactOwner(%FACT%,1,MALES_FIRST),"Living") =HasFlag(FactOwner(%FACT%,2,MALES_FIRST),"Living") and then excluding if true, I think I can remove Facts (and Associated places) from the output. The same place will remain if there are Fact Owners without the Living Flag set - which I presume the OP wants.

You may want to experiment to check this, but I think it is going in the right direction?

Query Columns
%FACT.DATE:COMPACT%
=FactLabel(%FACT%)
=FactValue(%FACT%)
=FactOwner(%FACT%,1,MALES_FIRST)
=HasFlag(FactOwner(%FACT%,1,MALES_FIRST),"Living")
=FactOwner(%FACT%,2,MALES_FIRST)
=HasFlag(FactOwner(%FACT%,2,MALES_FIRST),"Living")
%FACT.PLAC>%
%FACT.ADDR%
%FACT%
Query Rows
Exclude if =HasFlag(FactOwner(%FACT%,1,MALES_FIRST),"Temp") is True
Exclude if =HasFlag(FactOwner(%FACT%,2,MALES_FIRST),"Temp") is True
David
Running FH 6.2.7. Under Wine on Linux (Ubuntu 22.04 LTS + LXDE 11)

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

Re: How do you get website Place Report to exclude Private Individuals?

Post by tatewise » 29 Oct 2021 18:27

David, the OP wants to include it on the Home page of an online website, so a Query won't work.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply