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.
* How do you get website Place Report to exclude Private Individuals?
How do you get website Place Report to exclude Private Individuals?
Paul Weaver, London
- ColeValleyGirl
- Megastar
- Posts: 4854
- 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?
Have a look at the Clean Living Persons plugin. You must run it on a copy of your project as it deletes unwanted data.
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
Re: How do you get website Place Report to exclude Private Individuals?
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?
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
- tatewise
- Megastar
- Posts: 27088
- 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?
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.
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
Re: How do you get website Place Report to exclude Private Individuals?
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
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)
Running FH 6.2.7. Under Wine on Linux (Ubuntu 22.04 LTS + LXDE 11)
- tatewise
- Megastar
- Posts: 27088
- 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?
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