minhtu307 / alfresco-business-reporting

Automatically exported from code.google.com/p/alfresco-business-reporting
0 stars 0 forks source link

Retrieve only person data belong to a site #48

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

In the LessFrequent harvesting I have the possibility to export the whole list 
of person in a table

Is possible to export only the persons that belong to a site?
Eventually Is there a possibility to do a query to permit this in MoreFrequent?

Best Regards
Vincenzo

Original issue reported on code.google.com by vincenzo...@gmail.com on 15 May 2015 at 8:06

GoogleCodeExporter commented 8 years ago
You cannot extract persons-belonging to a site only. You get the persons (all 
person info), groups, and SitePersons as a set of tables. The sitePersons will 
get you the persons in their role in a site, for all sites. The person details 
are in the persons table. I think you almost always want these two as a 
minimum....

You can enable these 3 tables to be harvested in more frequent too (just tick 
the box in the moreFrequent definition (Users/Grous/SiteGroups)

I have out it into the lessFrequent because the logic drops the entire tables, 
and recreates them, since it is impossible to reconstruct the changes since 
last time it havested (no lastModified, and structure changes are an issue 
anyway)

Does this anwer your question?

Original comment by tjarda.p...@incentro.com on 15 May 2015 at 9:13

GoogleCodeExporter commented 8 years ago
You answer my question

However consider this change because sometime is very time-consuming export
all person info

Original comment by vincenzo...@gmail.com on 15 May 2015 at 9:55