1
ENGLISH / Re: Two Questions: How to Add Second Burial || Creating Source Reports
« on: October 26, 2023, 20:17:58 »
Zurga
Thank you for your help and for pointing me in the direction of the GedArt sheets!
I have started playing around with the "mymodel" example and have a close approximation of what I'm looking for. (Attached)
I think the "Resources by Individual" Report is coming along nicely.
Question: Is there a way to get the system to report ALL sources of an individual without having to call and print each source?
For example, in my "indisheet" to produce the attached report, I am printing out birth, baptism and death records:
#source($INDI.getProperty("BIRT"))<br>
#source($INDI.getProperty("BAPM"))<br>
#source($INDI.getProperty("DEAT"))<br>
Is there a way to grab ALL sources at once? I tried the following (but I'm obviously doing something wrong; nothing prints):
#if ($item.getProperty("SOUR"))
#foreach ($source in $item.getProperties("SOUR"))
$!INDI.getProperty("SOUR")
#end
#end
If there is no way to grab all sources: where can I get a list of the GedCom properties in Ancestris that may contain sources so I can list them all? Also: Is there a way to get rid of the word "source" before each source? I'd like to simply bullet the list, if possible. (And if I can omit duplicates, even better!)
The harder report, I believe, will be printing individual by source. Is that even possible? If not, I may be able to leverage this report by exporting it to a csv and using pivot tables in excel. That may mean printing each persons name on the same line as the source: duplicative for html, but okay for csv, I think. Thoughts?
If I can manage these two reports, I can ditch the other program I am using and only use Ancestris!
Thank you again!
Kay
Thank you for your help and for pointing me in the direction of the GedArt sheets!
I have started playing around with the "mymodel" example and have a close approximation of what I'm looking for. (Attached)
I think the "Resources by Individual" Report is coming along nicely.
Question: Is there a way to get the system to report ALL sources of an individual without having to call and print each source?
For example, in my "indisheet" to produce the attached report, I am printing out birth, baptism and death records:
#source($INDI.getProperty("BIRT"))<br>
#source($INDI.getProperty("BAPM"))<br>
#source($INDI.getProperty("DEAT"))<br>
Is there a way to grab ALL sources at once? I tried the following (but I'm obviously doing something wrong; nothing prints):
#if ($item.getProperty("SOUR"))
#foreach ($source in $item.getProperties("SOUR"))
$!INDI.getProperty("SOUR")
#end
#end
If there is no way to grab all sources: where can I get a list of the GedCom properties in Ancestris that may contain sources so I can list them all? Also: Is there a way to get rid of the word "source" before each source? I'd like to simply bullet the list, if possible. (And if I can omit duplicates, even better!)
The harder report, I believe, will be printing individual by source. Is that even possible? If not, I may be able to leverage this report by exporting it to a csv and using pivot tables in excel. That may mean printing each persons name on the same line as the source: duplicative for html, but okay for csv, I think. Thoughts?
If I can manage these two reports, I can ditch the other program I am using and only use Ancestris!
Thank you again!
Kay