How to get the ID of a custom section
Hi all,
I created a custom template in RQM called "MyTemplate" in which I inserted a custom section called "MySection". Now I would link to import data in this section using the RQMExcelImporter but I cannot find the dynamic id of the section to configure che cfg file like this: testcase.Section("myns:com.ibm.rqm.planning.templates.testcase.template_1400236186335","Assumption and constraints")=B The text in bold is the ID of the template not the section. Any suggestion? thanks Nicola |
Accepted answer
Nicola,
If you know the ID of the template in question you can obtain the XML of it which will contain the ID of the customer section
For example. using POSTER (or another HTTP client) you would make the following request
https://clm403:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ImporterPA+%28Quality+Management%29/template/testplan/com.ibm.rqm.planning.templates.testplan.template_1379687296446
Where 'clm403:9443' is the HOST/PORT, 'ImporterPA+%28Quality+Management%29' is the project area, and testplan.template_1379687296446 is the template
In the XML returned, you'll see the custom section and ID; something like this
<ns2:section content="" name="MyCustomTPsectionForDemo" id="com.ibm.rqm.planning.editor.section.dynamicSection_1379687368053" description="Created this section for a demo"/>
Ara
Nicola Carusi selected this answer as the correct answer
|
2 other answers
Hi Ara, thanks for your answer! Following your suggestion I get the response "406 Not Acceptable". If I make a request to I get the list of all template, but if I follow the url of my template which is: I get that answer! :(
Any idea? thank you! |
Ops! The error was in the headers. I put Accept: aplication/rdf+xml but I had to put application/xml. Now it works! Thank you very much!! |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.