Page 1 of 1

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

Posted: 29 Oct 2021 13:50
by Talln
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.

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

Posted: 29 Oct 2021 14:08
by ColeValleyGirl
Have a look at the Clean Living Persons plugin. You must run it on a copy of your project as it deletes unwanted data.

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

Posted: 29 Oct 2021 16:13
by Talln
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?

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

Posted: 29 Oct 2021 16:37
by tatewise
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.

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

Posted: 29 Oct 2021 17:25
by davidf
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

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

Posted: 29 Oct 2021 18:27
by tatewise
David, the OP wants to include it on the Home page of an online website, so a Query won't work.