![]() |
Telelogic System Architect (steve huntington) | ![]() |
Topic Title: Does the report facility support input variables? Topic Summary: Does the report facility support input variables? Created On: 20-Dec-2006 20:16 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I'm working to customize the SAXT reports and it occurred to me that would be a lot easier if it is possible to pass a value into a report specification and have it evaluated at runtime. For example, a query like the following is pretty common:
SELECT "Name"
PARTIAL
WHERE Class = Definition
WHERE Type = "BPMN Process"
JOIN
WHERE RELATION = "uses"
JOIN
SELECT "Name"
WHERE Class = Definition
WHERE Type = "Application"
It would be very nice to be able to have the report customized at runtime so the query would look like (variables enclosed in pound signs):
SELECT "Name"
PARTIAL
WHERE Class = Definition
WHERE Type = #VARIABLE1#
JOIN
WHERE RELATION = "uses"
JOIN
SELECT "Name"
WHERE Class = Definition
WHERE Type = #VARIABLE2#
Do reports support anything like this and, if not, does anyone know if there are plans to add this?
------------------------- ================ David Aden Webworld Technologies, Inc. 703-750-2416 |
|
![]() |
|
![]() |
|
The reporting system does support parameters programatically, and indeed this is how the variables like %SAXT_AUDITID% get passed through.
I am not an expert on SA XT (as this not my field) but I have taken a look and I agree, I can't see a way of adding your own variables to the XT reporting XML scripts. I will pose this question to a member of the SAXT team to see if there is a solution. Thanks Ian ------------------------- Senior Software Developer Telelogic UK Ltd. |
|
![]() |
|
![]() |
|
Thanks for the answer -- I did notice the kind of variables you mentioned after I made the post but would appreciate knowing if there's a way to add in your own variables. If not, it would be a useful feature.
------------------------- ================ David Aden Webworld Technologies, Inc. 703-750-2416 |
|
![]() |
|
![]() |
|
Unfortunately the answer is that there is not a way for XT to utilise these variables in the current release.
I will post an enhancement request detailing this thread - as I believe this would be a useful feature. ADDED: Enhancement Request 7012838 Thanks Ian ------------------------- Senior Software Developer Telelogic UK Ltd. Edited: 4-Jan-2007 at 10:17 by SA Team |
|
![]() |
|
![]() |
|
Ian, thanks for the follow-up -- I suspected that would be the answer but it was obviously worth checking. ------------------------- ================ David Aden Webworld Technologies, Inc. 703-750-2416 |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.