I am creating a series of reports in PjC and I have what I think is a simple question. In the pre-made reports, I can see a report that shows a list of defects in a certain state, and each record ID is hyperlinked to another report. When you click that link, you are taken to an AllInOne type report for that specific record. Very handy!
I am trying to reproduce that for other record types but I can't quite get it. I figured out how to make the parent report, make the ID field into a URL. In the DISPLAY command I select 'artifact page' and 'navigation tree' and enter the name of the artifact page (the other report) that I want to point to.
When I click the link in the report, it takes me to the other report. However, I don't see any extended attributes in the URL like I do when I check the sample Defect report. The artifact report is blank right now because I'm not sure how to 'catch' the values that should be passed by the first page.
I am looking through the help but having a hard time with this!! Can anyone point me in the right direction?
Any advice much appreciated! thanks, Dave H
This topic has been locked.
1 reply Latest Post - 2009-02-09T15:23:53Z by firstname.lastname@example.org
Pinned topic How to make one CQ-based report link to another, to show record details?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2009-02-09T15:23:53Z at 2009-02-09T15:23:53Z by email@example.com
firstname.lastname@example.org 270000U57T2 PostsACCEPTED ANSWER
Re: How to make one CQ-based report link to another, to show record details?2009-02-09T15:23:53Z in response to email@example.comStill trying to figure this one out. I opened a PMR with Rational support but have yet to get a clear answer.
However, when I open up the AllInOne report and look in template view, I see that the open command at the top of the template view is different then the ones I've created - its a c:CQObject kind of open command. If I look at the open command I can see that there are some special characters that I'm guessing tell PjC to 'catch' the passed variables and that's how it knows which record to display.
How can I create an open command like that in my document? If I can do that I think I can make this work. I have attached a screenshot of what I'm seeing - the open command in the template window (in the screenshot) seems to be the part I can't reproduce!