RDNG - problem to generate a report for a view
Hi folks!
I'm trying to generate a report of type "Requirements Specification" for a view which their artifacts contain images (common images like diagram, .jpg etc.) and it isn't being possible because in the first step (Select the Report Type) the type "Requirements Specifications" doesn't appears, but if I do the same with artifacts that doesn't contains images, it works fine.
Does someone know the reason why I'm not able to generate this report type? Is there any other way?
The steps to reproduce:
Select the folder that contain the artifacts then click on "More actions" menu > Generate Report for a View.
2 answers
Also not the answer, but to add to Kenji's comment, Primary Data Source of your RPE template has a lot to do with this as well. So there are three forces coming together here and they must align for this to work correctly: 1) what artifact you are selecting to start the report generation, 2) Primary Data Source, 3) Manifest Context setting.
I do not have an answer for this particular behavior, but it is generally controlled by Context setting in manifest.mf.
https://www.ibm.com/support/knowledgecenter/SSJJ9R_6.0.6/com.ibm.rational.rrdg.usage.doc/topics/t_rrdg_make_reports_avail.html
In chapter "Manually importing custom document-style report templates for requirements management", you can set Context to specify where "Requirements Specification" is available such as view, module, collection or review. Perhaps you try to generate it from different context, but cannot find it?
Comments
Hi Kenji, I took a look at MANIFEST.MF and it appears to be ok. This part is referred to the Requirements Specification type.
Name: reqspec
Location: templates/rrdg/reqspec.dta
Label: %templateMessages_RequirementsSpecification
Description: %templateMessages_RequirementsSpecification_Description
Content-Type: application/octet-stream
Is-Report: true
Context: view, collection
And I had checked the documentation you provided and thanks for that.
I am having a problem to generate a report only if the artifact contain images, diagram... because the type "Requirements Specification" doesn't appears; but if I exclude the images the Requirements Specification appears.
Comments
Rosa Naranjo
FORUM MODERATOR / JAZZ DEVELOPER Aug 28 '18, 9:00 p.m.Leonardo Benevides
Aug 29 '18, 8:25 a.m.Hi Rosa,