Difference between revisions of "Addon:LastChange"

From Gramps
Jump to: navigation, search
(Last Change Report)
(Issues)
(7 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
=Usage=
 
=Usage=
==Latest Change Gramplet==
+
==Latest Changes Gramplet==
[[File:LatestChangeGramplet-addon-example-50.png|right|thumb|450px|Latest Change Gramplet]]
+
[[File:LatestChangesGramplet-addon-example-51.png|right|thumb|450px|Latest Changes Gramplet - showing context menu]]
  
The {{man label|Latest Change Gramplet}} is a quick way to list the last ten person records that have been changed in the open tree, starting with the most recent change.  The names are linked back to the records they come from, giving you an easy way to get back to where you were working last.
+
The {{man label|Latest Changes Gramplet}} is a quick way to list the last ten person records that have been changed in the open tree, starting with the most recent change.  The names are linked back to the records they come from, giving you an easy way to get back to where you were working last. You can also copy the content of gramplet using the context menu.
 +
 
 +
Note the "Add a gramplet" context menu shows this as "Last Change"!
 
{{-}}
 
{{-}}
  
Line 21: Line 23:
 
{{-}}
 
{{-}}
  
==Command Line(CLI) Usage==
+
===Command Line(CLI) Usage===
 
For Command Line(CLI) use, the following is an example command that runs the report on 'Family Tree 1' to file 'c:\output.txt' of type 'txt' with all types except media included in the report.  Note that this is all on a single line, no line breaks.
 
For Command Line(CLI) use, the following is an example command that runs the report on 'Family Tree 1' to file 'c:\output.txt' of type 'txt' with all types except media included in the report.  Note that this is all on a single line, no line breaks.
  
 
  gramps -O 'Family Tree 1' -a report -p name=LastChangeReport,of=c:\output.txt,off=txt,what_types='True,True,True,True,False,True,True,True'
 
  gramps -O 'Family Tree 1' -a report -p name=LastChangeReport,of=c:\output.txt,off=txt,what_types='True,True,True,True,False,True,True,True'
  
The list of 8 True/False choices is for the eight categories (People, Families, Places, Events, Media, Sources, Notes, Citations) that can be included in the report, at least one of which must be included.
+
The section <code>what_types=</code> represent the list of 8 True/False choices is for the eight categories (People, Families, Places, Events, Media, Sources, Notes, Citations) that can be included in the report, at least one of which must be included.
 +
 
 +
=Issues=
 +
* The gramplet is found under the "Add a gramplet" context menu as "Last Change" instead of "Latest Changes"!
 +
* Last Change Report's help goes to [https://gramps-project.org/wiki/index.php?title=Gramps_5.1_Wiki_Manual_-_Reports#Last_Change_Report] instead of here.
  
 
[[Category:Plugins]]
 
[[Category:Plugins]]
 
[[Category:Developers/General]]
 
[[Category:Developers/General]]
 
[[Category:Reports]]
 
[[Category:Reports]]

Revision as of 00:29, 9 October 2020

Gramps-notes.png

Please use carefully on data that is backed up, and help make it better by reporting any comments or problems to the author, or issues to the bug tracker
Unless otherwise stated on this page, you can download this addon by following these instructions.
Please note that some Addons have prerequisites that need to be installed before they can be used.
This Addon/Plugin system is controlled by the Plugin Manager.


This addon has both a gramplet and a report. Both list the last ten person records that have been changed in the open tree, starting with the most recent change and the report allow you list all eight categories of objects.

Usage

Latest Changes Gramplet

Latest Changes Gramplet - showing context menu

The Latest Changes Gramplet is a quick way to list the last ten person records that have been changed in the open tree, starting with the most recent change. The names are linked back to the records they come from, giving you an easy way to get back to where you were working last. You can also copy the content of gramplet using the context menu.

Note the "Add a gramplet" context menu shows this as "Last Change"!

Last Change Report

Last Change Report Sample

The Last Change Report expands the types of records you can list all eight categories of objects (People, Families, Places, Events, Media, Sources, Notes, Citations)

You can create the report via the menu Reports > Text Reports > Last Change...

By default only People objects are shown on the report.


Command Line(CLI) Usage

For Command Line(CLI) use, the following is an example command that runs the report on 'Family Tree 1' to file 'c:\output.txt' of type 'txt' with all types except media included in the report. Note that this is all on a single line, no line breaks.

gramps -O 'Family Tree 1' -a report -p name=LastChangeReport,of=c:\output.txt,off=txt,what_types='True,True,True,True,False,True,True,True'

The section what_types= represent the list of 8 True/False choices is for the eight categories (People, Families, Places, Events, Media, Sources, Notes, Citations) that can be included in the report, at least one of which must be included.

Issues

  • The gramplet is found under the "Add a gramplet" context menu as "Last Change" instead of "Latest Changes"!
  • Last Change Report's help goes to [1] instead of here.