GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




How do I generate an ASP Report Template with parameters attached?

Click to view RSS...
Author I've had success generating a Report Template that is an ASP page, but how do I attach parameters to the page.
Posted Monday, August 21, 2006 - Post #12552
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
GenoPro version: 2.5.4.1

Last Login: Sunday, October 30, 2022
Posts: 45, Visits: 1,256
Update:

Hi Ron...I hope I am not driving you up a wall with this issue. Smile

I realize now that I only have success generating my genomapcand.asp file when generating it to the genomaps folder. It's not extremely vital that it be generated outside this folder, but it would be a help. If you see my previously attached genomap.svg file, I was generating the asp and svg files into my main site folder.

Currently I have my copy of the Customized English Narrative Report with only the following files/folders:

Code (folder), Config.xml, Dictionary.xml, genomap.svg, genomapcanda.asp, script.js, script.es, svgcheck.js and svgcheck.vbs.

I modified the Config.xml file to generate only the genomap.svg and genomapcanda.asp. So...now I am attempting what I originally asked how to do at the beginning of this post. Right now, modifying the genomap.svg file in my customized skin folder to the code you suggested is not working. When I look at the code in the generated genomap{}.asp file there is no change. Could this have anything to do with the toc_genomap.htm file?
Posted Friday, November 25, 2011 - Post #29469
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
GenoPro version: 2.5.4.1

Last Login: Sunday, October 30, 2022
Posts: 45, Visits: 1,256
I had long abandoned trying to get this to work since my last post...until recently.  And I've had some success in getting it to partially work.

I am trying to have individuals in the genomap link to a page different than individual.htm.

I'm using GenoPro 2.5.3.9

I edited Config.xml

line ~491 from:

<Report Template="individual.htm"
       OutputFile="{Name.LastOrLast2:25}-{Name.FirstAndMiddle:35}-{id}"

to:

    <Report Template="individualdetails.asp"
            OutputFile="?id={id}"

AND

I edited genomap.svg

line ~869 from:

If isource.Href <> "" Then Report.WriteFormattedLn "<a xlink:href='../{&x}' target='detail'>", isource.Href
End If

to

If isource.Href <> "" Then Report.WriteFormattedLn "<a xlink:href='../individualdetailpage.asp?id={&x}' target='detail'>", isource.Href
End If



When I generate the genomaps the female circles link to the page I want, but the male squares and the text above the individuals does not link to the page I want.  I'm at a loss as to what lines of code on what files I need to change to get this to work.  I would appreciate some help!  Thank you!


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 3 - 1 guest, 1 member, 0 anonymous.
Refresh