Moving Flags, Filters and reports from a project to a new project
Posted 23 June 2012 - 09:35 AM
Any help appreciated.
Posted 24 June 2012 - 01:34 PM
Report configurations are located by default in the Configuration files folder in v8 (same as in v7). In v8, go to Help on the top Menu and click on Access Folders to find the location of the Configuration files folder. By default all projects access this same folder and the same reports. You can check the location in each project in Preferences / Current Project Options / Advanced. For more information see Help / Data File Storage.
Filters (and accents) are specific to a project. If you have all your projects in one folder, the filters are available to all projects. If you keep your projects in separate folders (as generally recommended), you can copy the filters from one project to another using Windows Explorer. For a list of the filter file extensions (and the more than fifty sample filters in the Sample project which can also be copied to other projects), see pages 6 and 7 of the article here (written for v7 but applicable to v8). That article can be downloaded.
For Flags - which may use different criteria in another project - it is usually easier to enter the information (values, description, etc.) anew, using copy/paste from the Flag Manager in the old project to the Flag Manager in the new project.
Posted 24 June 2012 - 06:10 PM
Thanks for your reply.
It doesn't work very well when I do it. On reports, the secondary output does not change the correct flags even after I've added them. The report filters are not the same for the reports. I'll tell you what I'm doing. I have been doing DNA research for elevin years. The new autosomal tests are really good, if one has a complete list of related people. I have used Lee's reports generate flags that can be used to get a list of people who are related to a subject. see http://www.tmgtips.com/Related_By.htm
These filters are not easy to write and use report filters, Flags and reports. I have got them working in a project, but I want to use them in a new project. They loose all relationships in a new project, ie report 4 looses the filter criteria and works with the wrong flags. It appears that I haved to go into each new project and re-write all the filters and reports. Is there any way to get theser to work, or a better way to do it in the new version 8?
Believe me, this is an immense aid for DNA Genealogy. Using John Cardinals Second Site with the results of these filters gives a good report. I'll email you my web page if yo tell me wher to send it. This Filtering capability is one of the big selling points for TMG
Posted 24 June 2012 - 07:13 PM
As long as the conditions for the filters and flags are not specific to the first project, they should work in the new one. Pose your question on the TMG mailing list where Lee and other experienced users will see it and may be able to suggest better ways to do what you want. You can subscribe to the list here.
Posted 24 June 2012 - 10:48 PM
If filters use custom flags, then custom flags are only defined for a specific data set. Hence you may find that the filters will need to be adjusted for the new dataset (assuming that you are using custom flags of the same name in both places). Custom flags get a suffix added to their name of the form #<datset number> like related#3 for dataset 3.
Posted 25 June 2012 - 11:56 AM
Posted 25 June 2012 - 12:06 PM
Does TMGT Support have any ideas about how toi do what I am trying to do. Is there any hooks into the Kinship report, or any way to get portability in Flags Filters and Reports so tha ta User doesn't have to write the filters again in a new project?
Posted 25 June 2012 - 02:35 PM
You don't need to re-create the various filters and report definitions for my Related_By Flag process. Just download the "file of Report Definitions" Zip file referenced on my web page at <http://www.tmgtips.com/Related_By.htm>. Then unZip the file and move the FLP files to your project folder and the RPT and RPB files to the Configuration Files folder. Re-start TMG, open Book Manager, and making sure the Related_By process is listed in the upper left, click on the [Create Book] button. Of course, you want to make sure the Flags are created as mentioned on my web page.
Hope this helps -
Posted 25 June 2012 - 02:37 PM
Hope this helps -
Posted 26 June 2012 - 10:20 PM
Posted 27 June 2012 - 03:06 PM
I just tested everything with a new project. The Report definitions that are working are in the configeration directory.
I created the two appropiate flags in the new project.
I copied the working *.FLP foles from the project where they are working, to the new project.
When I select a report, and look at the defining "Filter Group", it is empty. Non of the filter definations are in any of the reports in the new project.
For some reason, all the critical information that makes the filters work, is missing. However , I can click on the empty field and get a list of defination files that have been created before. By nameing them carefully, ie setup 1 , setup 2 etc, I can rebuild the filters for the report.
The Book Manager still stops amd beeps on each report about 4 or 5 times per report.
Posted 27 June 2012 - 04:31 PM
I added Lee's report configurations (definitions) and filters to the Sample project. Below are screenshots of the List of People configurations, the list of filters in the List of People report, and the list of filters in a project.
What do you see differently or what is missing in your List of People report and in your project? To view your project files, in that project go to Help on the top menu, then click on Access Folders (OK the warning message). Open the current project and click on the heading for Type to sort the list by extensions.
Posted 27 June 2012 - 09:06 PM
Posted 28 June 2012 - 06:53 AM
The associated filter is specified in each of Lee's report definitions (the .rpt files are text files you can open in Notepad) and that filter should appear automatically in the filter window of that report definition - and that is what I see. Do you have the problem when using the Book Manager and/or when running the report directly?
It you are still working with copies from your first project, it might be simpler to install Lee's files and filters from his original download directly into the new project. That also eliminates the possibility of an errant value from the first project appearing somewhere in the sequence.
Also check Preferences / Current Project Options / Advanced to verify the locations of your folders and files.
Posted 28 June 2012 - 04:45 PM
I am in the specified directories, the Configuratin Files Directory and the Project directory. I even went into the ASCII files and made sure that the Flags are named properly.
I probably will look at the Report files "before" and compare athe m to "after" files when they are working. I think I finally got the correct filesinto the correct directories.
Lee's instructions say "
This file contains 22 files including this one. Twelve
of these files (eleven RPT Type files and one RPB Type
file) should be moved to the folder shown in your
Preferences=>Project=>Advanced=>Reports option. The
remaining nine FLP type files should be moved to the
folder in which your project files are located.
So if you installed TMG in the usual folder and have
not changed the location of the Reports folder in
Preferences, then you should move the RPT & RPB files
to C:\Program Files\The Master Genealogist\Reports\.
And if your project was created in the default folder
as set in Preferences on installation, then you should
move the FLP files to the default projects folder, e.g.,
C:\Program Files\The Master Genealogist\Projects\. If
you have multiple projects located in separate folders,
you should place these filters in the same folder as
that of the project for which you wish to use the filters.
The files here are as follows:
ReadMe RelBy.TXT <= This file
Related By Flag.RPB
The above applies to WinXP and earlier. If you are using
Window Vista or later (Win7) then You should move the RPT &
RPB files to the "The Master Genealogist\Configuration_files"
folder in your My Documents folder. The filter files should
continue to be placed in the folder where your project files
After all this discussion, I think that the RPT and RPB files should be in the configeration s Directory?
In the Book Generator, how do I stop all the confirmationd pop up windows. I have that option not checked.
Posted 28 June 2012 - 05:22 PM
Yes, both the .rpt and .rpb files should be in the Configuration Files folder.
You may still get some confirmation/permission pop ups in the Book Manager - like for changing the flag - but you can globally turn off the Last Edited Date prompt in Preferences / Reports / Last Edited date.
Posted 29 June 2012 - 06:33 AM
See my Tutorials and Articles on using TMG at tmg.reigelridge.com
The Second Edition of my book, A Primer for The Master Genealogist, is now available. For more information see my website.
Posted 29 June 2012 - 07:10 AM
This is incorrect, see below.
Posted 29 June 2012 - 12:10 PM
Well, I should have first done what Terry (not Virginia) suggested, and looked at the internals of the Filter file. Seems like I was completely wrong. Custom Flags are identified in the .flp file by Name and dataset number. (I have some notes where there are some cases where the Flags are identified by number and not name, but It seems this is not the case for filters.) So copying a filter which uses custom Flag names should? be okay.
However, note that the dataset number IS part of the Flag name. I have not tested what happens when copying a filter which was set up for Flags in dataset one but is now used with dataset two.
Posted 29 June 2012 - 10:44 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users