How to export Module Views through ReqIF?
Despite seeing the option to export Shared Module Views in the ReqIF Views menu, we couldn't make this work.
We first created a ReqIF definition just with the View definition and tried importing it into another project.
Then we tried a ReqIF definition containing both a Module and the View and importing.
In both cases the import report indicates the view was imported successfully, but it didn't show in the target projects neither on existing modules nor on brand new modules..
Is there any additional step to make this work that we're missing?
(Tried both on 5.0 and 5.0.2 servers)
Accepted answer
After some testing and reading, I believe that we just misunderstood how the view in the ReqIF definition should work.
First of all, let's keep in mind that "view filtering information" cannot be exported using ReqIF. It's disappointing but it's clearly documented.
https://www-01.ibm.com/support/knowledgecenter/SSCP65_5.0.2/com.ibm.rational.rrm.help.doc/topics/t_export_reqif.html
So what is left? Well, view column information.
When you export the view only, without any modules, the view in the ReqIF file actually contains, nothing, not even the column information! When you import such ReqIF file, the nothingness goes on. The successfully imported view (you can find a nice URL in the report), contains nothing as well. Technically speaking, it contains "something" - see blow.
I hope it is clear enough now.
First of all, let's keep in mind that "view filtering information" cannot be exported using ReqIF. It's disappointing but it's clearly documented.
https://www-01.ibm.com/support/knowledgecenter/SSCP65_5.0.2/com.ibm.rational.rrm.help.doc/topics/t_export_reqif.html
So what is left? Well, view column information.
When you export the view only, without any modules, the view in the ReqIF file actually contains, nothing, not even the column information! When you import such ReqIF file, the nothingness goes on. The successfully imported view (you can find a nice URL in the report), contains nothing as well. Technically speaking, it contains "something" - see blow.
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:rm="http://www.ibm.com/xmlns/rdm/rdf/" xmlns:owl="http://www.w3.org/2002/07/owl#">When you export the view with a module, the view column information is exported into the ReqIF file. And when importing such file, the view _should_ be created against the module as long as you can see the same view in the original module.
<rm:AttributeType rdf:about="https://clm502.sydney.rcs:9443/rm/types/_gYF_sYQIEeSRa8q69DjUmA">
<rm:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
<owl:sameAs rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
<dcterms:title>String</dcterms:title>
</rm:AttributeType>
</rdf:RDF>
I hope it is clear enough now.
Comments
Donald Nong
Aug 26 '15, 3:36 a.m.Taly Hotimsky
Aug 26 '15, 9:19 a.m.