Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic SYNERGY (steve huntington)
Decrease font size
Increase font size
Topic Title: Embedding reports in dialogs
Topic Summary: Looking for guidance and hints w/r/t embedding reports in dialogs
Created On: 23-Feb-2007 16:37
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.
Answer This question was answered by michael Barnes, on Tuesday, June 26, 2007 6:46 PM

Answer:
How you do this will depend on the version of Change that you are using. I have implemented it for Change 4.3 and customised the default layout for Change 4.4.
The changes should be implemented in a package.

For Change 4.3 I modified the "base.CCM_RELATION" file in wsconfig/templates/pt/include/attr_controls. I attempted to attach the file content, but the display of it seems to mangle the content. I'm not sure of forum policy, but if you can post your email address I could send the file if you are using 4.3.

I would gues that you would want to create a specific CCM_RELATION file for your links (one for each CR type?).
NOTE that if DCM is enabled, then hyperlinks do not work from the embedded report, so I have retained the telelogic "pull-down" list to allow links to be followed.

For Chage 4.4 it is more-complex (and I had telelogic consultancy). I was modifying the default implementation, not defining a new one, so there will probably be more required for your situation.
The following is what is in my package:
    - Directory my_assoc_control containing directory structure wsconfig/templates/pt/reports/my_assoc_control. (the bottom level directory name is the same as the package as this is Telelogic house style, I am told: it makes it easy to identify customisations)
    - bottom-level my_assoc_control contains modified copies of related_crs_control_atr.html and related_crs_control_hdr.html. This is fairly easy, as it is just definitions of the columns (content and header).
    - wsconfig contains my_assoc_control.cfg pionting to my modifications (code snippet attached)

I would guess that you would need to make some other CFG changes for a new relation control type. I've not done this, so cannot offer advice.
 23-Feb-2007 16:37
User is offline View Users Profile Print this message


Michael Villeneuve

Posts: 4
Joined: 18-Dec-2006

We have several lifecycles in our process and need to display attributes from one lifecycle within dialogs of other lifecycles. I was able to create the relationships and display the references to the child lifecycle. What I am looking for is a customized view and have been told this can be done through a custom report. I tried this but am unable to get it to work. There is likely a step I am missing. Any and all help is appreciated.
Report this to a Moderator Report this to a Moderator
 27-Feb-2007 17:29
User is offline View Users Profile Print this message


Michael Villeneuve

Posts: 4
Joined: 18-Dec-2006

Additional details ---------------------- We are looking to embed the report as a table of records, with a series of attributes per child CR. For example: We have two lifecycles. The parent lifecycle is called CR. The child lifecycle is called CRI. We would like to have a table of records (one record per CRI) embedded in the dialog of the CR. I have attached an example with a single record using the included Basic Report format. We need to create our own report displaying different fields than those shown. How do we create the appropriate report? Would this be a relation report or a subreport? From what I understand, the subreport would be appropriate if I were presenting attributes from more than one lifecycle but the relation report would be the choice for accessing information from a single lifecycle? Also, how do I ensure that the report is included in the dialog? What steps must I take for this?
Report this to a Moderator Report this to a Moderator
 1-Mar-2007 12:56
User is offline View Users Profile Print this message


michael Barnes

Posts: 85
Joined: 12-Nov-2003

Answer Answer
How you do this will depend on the version of Change that you are using. I have implemented it for Change 4.3 and customised the default layout for Change 4.4.
The changes should be implemented in a package.

For Change 4.3 I modified the "base.CCM_RELATION" file in wsconfig/templates/pt/include/attr_controls. I attempted to attach the file content, but the display of it seems to mangle the content. I'm not sure of forum policy, but if you can post your email address I could send the file if you are using 4.3.

I would gues that you would want to create a specific CCM_RELATION file for your links (one for each CR type?).
NOTE that if DCM is enabled, then hyperlinks do not work from the embedded report, so I have retained the telelogic "pull-down" list to allow links to be followed.

For Chage 4.4 it is more-complex (and I had telelogic consultancy). I was modifying the default implementation, not defining a new one, so there will probably be more required for your situation.
The following is what is in my package:
    - Directory my_assoc_control containing directory structure wsconfig/templates/pt/reports/my_assoc_control. (the bottom level directory name is the same as the package as this is Telelogic house style, I am told: it makes it easy to identify customisations)
    - bottom-level my_assoc_control contains modified copies of related_crs_control_atr.html and related_crs_control_hdr.html. This is fairly easy, as it is just definitions of the columns (content and header).
    - wsconfig contains my_assoc_control.cfg pionting to my modifications (code snippet attached)

I would guess that you would need to make some other CFG changes for a new relation control type. I've not done this, so cannot offer advice.
Report this to a Moderator Report this to a Moderator
 2-Mar-2007 12:36
User is offline View Users Profile Print this message


Michael Villeneuve

Posts: 4
Joined: 18-Dec-2006

Thanks for the info, Michael. I will try this on Change 4.5 to see what happens. It looks like I will likely have to create a new control as well.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 15:34.
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.