Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic System Architect (steve huntington)
Decrease font size
Increase font size
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
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 20-Dec-2006 20:16
User is offline View Users Profile Print this message


David Aden

Posts: 22
Joined: 20-Apr-2006

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
Report this to a Moderator Report this to a Moderator
 28-Dec-2006 10:26
User is offline View Users Profile Print this message


SA Team

Posts: 148
Joined: 18-Nov-2005

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.
Report this to a Moderator Report this to a Moderator
 28-Dec-2006 13:32
User is offline View Users Profile Print this message


David Aden

Posts: 22
Joined: 20-Apr-2006

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
Report this to a Moderator Report this to a Moderator
 4-Jan-2007 10:08
User is offline View Users Profile Print this message


SA Team

Posts: 148
Joined: 18-Nov-2005

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
Report this to a Moderator Report this to a Moderator
 4-Jan-2007 15:31
User is offline View Users Profile Print this message


David Aden

Posts: 22
Joined: 20-Apr-2006

Ian,

thanks for the follow-up -- I suspected that would be the answer but it was obviously worth checking.

I definitely think it will be useful. Without it, SAXT ends up with tons of virtually identical queries just to look at slightly different things. , If nothing else, that's a maintenance pain in the behind.

More important, though, it means that SAXT is to that degree hardcoded. Rather than being able to actually use the app server to dynamically adjust the output based on the data in the repository, you have to hardcode in whatever you want to see. Adding that will provide an order of magnitude improvement in what SAXT can do. 



-------------------------

================
David Aden
Webworld Technologies, Inc.
703-750-2416
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic System Architect forum.
There are currently 1 users logged in.
The most users ever online was 16 on 30-Oct-2008 at 14:46.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.