Changes

Jump to: navigation, search

Addon:Types Cleanup Tool

292 bytes added, 17:56, 26 December 2019
no edit summary
==What is it For?==
The '''Type Cleanup Tool''' searches your database for records that contain "custom" Types, provides an a filtered list allowing change those records to be edited, and an option to delete or rename the custom type. Custom Types are recognized by Gramps but the various reports that Gramps can generate and other applications may not recognize or handle them.   <!--'''Examples of notes that needs cleaning''' <nowiki> &amp;lt;i&amp;gt;Selected U.S. Naturalization Records&amp;lt;/i&amp;gt;. Washington D.C.: National Archives and Records Administration. &amp;lt;p&amp;gt;&amp;lt;a href=&amp;quot;/search/dbextra.aspx?dbid=1629&amp;quot;&amp;gt; View Full Source Citations&amp;lt;/a&amp;gt;.&amp;lt;/p&amp;gt;  United States of America, Bureau of the Census. <i>Fifteenth Census of the United States, 1930</i>. Washington, D.C.: National Archives and Records Administration, 1930. T626, 2,667 rolls.</nowiki> The first note contains some text with ''italics'' as well as a link to a web site. The cleaned note is shown in the lower right pane of the image on the cleanup tool above.The second dirty note is much simpler, it only contains a bit of ''italics'' text; the tool will remove the <nowiki><i> and </i></nowiki> and convert the text in between to ''italics''.-->
==What causes the extra (Custom) Types?==
Custom types are created by some importers, or other addons (Forms, for example) to supplement the standard Gramps types. They are also created directly by the user if he types directly in the type selector combo box with a value not already present.
==Usage==
{{man warn|Warning|Proceeding with this tool may make unexpected changes to your data. While it is possible to '''Undo''' the changes made by this tool, it may be easier to recover from a backup.}}
==Some Notes==<!-The left pane has the list of various types, and any which have custom values will have the drop-down arrow. If you select one of the custom types, the right pane will show the list of references that utilize the custom type. * If You can edit any '''Issues''' are foundof the references in the right pane by double-clicking, using the unrecognized "HTML tag" ''will'' be marked up with enter key etc. When a custom type is selected in the left pane the {{man menubutton|yellow highlightRemove}}is enabled. The user may If you want to manually edit each of these remove this custom type from your drop-down lists in some waythe type selectors when editing, you can use this button. When doneHowever if there are references using the type, you will get a warning that the highlight can references will not be removed by selecting changed. If you elect to remove the custom type anyway, it will disappear from your drop-down lists in the highlighted region type selectors when editing. But if you ever edit and pressing save an object that still uses the "Clear Markup" toolbar button (last button on custom type, it will reappear in your drop-down lists in the right)type selectors when editing.* Pressing You can also rename a custom type by changing its value in the combo entry at the bottom of the tool. You can select a standard name, or just modify the name by typing. When a different name has been selected, the {{man button|SearchRename}} will become enabled. Activating this button will actually make changes to your database, modifying all of the referenced objects at any time will once to the new name. This also causes the tool to re-scan your data againthe database, discarding any proposed automatic or manual to allow the changes and producing new liststo be properly reflected in the panes.* Double Clicking on It is possible to undo changes to the database objects via the usual usual Edit/Undo menu item. But note that undoing a note in rename which caused a left pane list custom type to be modified, will bring up not cause that custom type to reappear in the drop-down lists in the standard Gramps Note Editortype selectors when editing. Any changes in that editor followed by pressing This is a limitation of the undo function. The {{man button|OKClose}} button '''will''' update your database immediatelysimple closes the tool. However, if you later press the  The {{man button|Save AllHelp}} button in the still open Type Cleanup Tool, that data will be overwritten by the Type Cleanup Toolbrings up this web page.-->
==Issues==
266
edits

Navigation menu